The algorithms for the specific calculation are proprietary, but there are two basic concepts used. The Feature To Point tool is used to create a new feature class containing points generated from the representative locations of input features. The Feature To Point tool is only available at the Advanced Desktop or ArcInfo, license level. For multipoint, polyline, or polygon feature classes with multiple parts, the centroid is computed using the weighted mean center of all feature parts. For line, polygon, or three-dimensional features, it is the center of mass (or center of gravity) and may fall inside the feature or outside the feature. This method uses the center of gravity of the polygon the geometric center of a feature. Use the Feature To Point (Data Management) tool.This method uses the Calculate Geometry function to find the latitude (y-coordinate of the centroid) and longitude (x-coordinate) of the centroids and constructs an XY Event Layer to display them: How To: Find the centroid of polygons using Calculate Geometry. Calculate the x,y coordinates of the feature using Calculate Geometry.Instructions provided below describe these methods. Depending on how the centroid needs to calculated, there are several possible methods: calculate the features' central XY coordinates, use the Feature to Point tool, or use Python to retrieve centroid coordinates. Feature centroids can be calculated in several ways.
0 Comments
Leave a Reply. |