Sunday 25 October 2015

algorithm - How does ArcGIS Desktop calculate INSIDE point for Feature to Point?


Let me back up and say that from what I understand there are two common ways to calculate the centroid of a polygon in ArcGIS Desktop:



  1. Using Calculate Geometry on fields within the attribute table of the feature class.

  2. Using Data Management -> Features -> Feature to Point from the toolbox.


These both give the same result - the geometric centroid of the polygon. However, there is no guarantee that point lies inside the polygon.


The Feature to Point tool has an inside checkbox option, that according to the documentation:



Uses a location contained by an input feature as its output point location.




What I would like to know is how is this point calculated by ArcGIS Desktop and what is its "theoretical" meaning, if that makes sense.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...