0
I have a building Layer(Full of Polygons).I want to get centroids of polygons and save them as point layer.I am using python console within Qgis 3.0. I have tried below code.I got my Centroid Layer(but only for some polygon,not ALL).But I want the centroid for all Polygons.
vectorLyr=QgsVectorLa...