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

Download an example of source data and result: https://nextgis.ru/data/toolbox/centroid2attr/centroid2attr.zip

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