[GIS] Getting centroids for multiple lines in QGIS

centroidsgeometry-conversionlinepoint-creationqgis

Is there a possibility to get the centroid of each line?

enter image description here

When using Vector > Analysis Tools > Mean Coordinates I always get a centroid of the whole lines. What I need is the centroid of each line without having to select individual lines.

Best Answer

In tool "Mean coordinate(s)" from the QGIS's Processing Toolbox (Ctrl+Alt+T) use Unique "ID" field.

enter image description here

enter image description here

Related Question