2.8. Coordinates of center to attribute

Calculate center point of polygons (PointOnSurface), add fields point_X, point_Y with coordinates of point guaranteed to intersect a polygon.

Inputs:

  • Polygon layer

Outputs:

  • ZIP with polygonal Shapefile with two fielda added: point_X, point_Y

  • QML style file

../../_images/point_on_surface.png
../../_images/point_on_surface_attributes.png

Launch tool: https://toolbox.nextgis.com/operation/centroid2attr

Try it out using our sample:

Download input dataset to test the instrument. Step-by-step instructions included.

Get the output to additionally check the results.