Geographic Information Systems Asked by Brewkeeper on May 15, 2021
I am curious how one could create a centroid for an irregularly shaped polygon in ArcGIS Pro, that lies within that polygon’s boundaries, with the concept of centroid in this case meaning a point farthest from the edges of a polygon (i.e. the most centrally located). For example, with a polygon of this shape in the image below, what steps or tools could I use to create a point that lies within that polygon and is as far as possible from the edges of that polygon?
What steps or tools could I use to create a point that lies within that polygon and is as far as possible from the edges of that polygon?
I can think of two workarounds but a better solution likely exists.
Run a Euclidean Distance from the Polygon at 1 m or less resolution (convert to a line is likely needed). Then Extract by Mask the euclidean distance raster with the polygon. Then just convert the raster to point (raster to point). The highest value is the farthest.
Create a fishnet of points in the polygon every 1 m. Clip the point to the polygon. Run the near tool or a spatial join to get the distances to the feature. Use the point with the highest value.
Correct answer by If you do not know- just GIS on May 15, 2021
In response to @If you do not know- just GIS 's comment - I am posting here the strategy that I ultimately used to solve this problem for a shapefile containing many different oddly shaped polygons in the hopes that maybe it will be of help or others can further improve upon this process.
Answered by Brewkeeper on May 15, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP