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.


  • Polygon layer


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

  • QML style file


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

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