Hexagon Geospatial
MENU

Spatial Modeler

Discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Super Contributor
Posts: 477
Registered: ‎10-27-2015

Functional attribute: polygon to points

Dear all,

for a classification workflow, I would like to draw polygons (for training areas) for classify a raster (with machine learning operators). Is it available in the Functional Attribute Operator some function that creates points from a polygon? (not only center point but a lot of points inside that polygon). It' only an idea:

polygon_to_points.png

Thank you very much for your support

Highlighted
Staff
Posts: 115
Registered: ‎07-04-2016

Re: Functional attribute: polygon to points

Hello Giuseppe,

 

I was recently working on the model right for the same purpose. The function you are looking for is DOTDENSITY, it will create random points inside of a polygon. But it will create a collection of points, so in addition, you will need to use GEOMETRIES function to extract those points from a collection.

 

An example:

 

2018-10-29 16_22_09-Functional Attribute.png

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Technical Evangelist
Posts: 673
Registered: ‎10-01-2015

Re: Functional attribute: polygon to points

[ Edited ]

Ask and ye shall receive (in Update 2):

 

random.PNG

 

(Or you can use the GFA approach suggested by Marina right now)

 

Cheers

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Super Contributor
Posts: 477
Registered: ‎10-27-2015

Re: Functional attribute: polygon to points

Thank you vey much!

Technical Evangelist
Posts: 673
Registered: ‎10-01-2015

Re: Functional attribute: polygon to points

ERDAS IMAGINE 2018 Update 2, available now:

 

https://download.hexagongeospatial.com/downloads/other/erdas-imagine-2018-update-2

 

Cheers

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.