Sunday, 6 October 2019

Calculating Centroids with Zonal Geometry in ArcGIS



I have a shapefile containing polygons. Each polygon is defined by its postal code. I want to calculate the centroid of each polygon using Zonal Geometry.


Sadly, for some polygons there are no centroids being calculated. It is the same when I use Zonal Statistics as Table. Some polygons seem to be ignored. There are no error messages.


It would help if someone could point me in the right direction because right now I do not even know what to fix. I have ArcGIS 10.1.


Thanks for any help!



Answer



Sounds like you are using the wrong tool. To create a separate dataset of points that are the centroids of a polygon use the Feature To Point tool. It requires an Advanced license.


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...