How to extract centroid coordinates in QGIS with Field Calculator - Tutorial
/We did a simple procedure in QGIS but unknown to us that extracts the centroids of lines and polygons with Field Calculator commands inside the attribute table. The procedure is straightforward and does not involve the use of any intermediate layer.
Tutorial
Input files
Download the input files for this tutorial from this link.