I have a GeoJSON file of polygons and I need to convert it to centroids. Finding the centroid is very easy in QGIS.
My attribute names are very long and have a colon between them, e.g. building:structure and shape:elevation. Converting to centroids results in a shapefile format. It gives the geometry but changes the attribute names, truncating them and converting colons to underscores, e.g. building_l and shape_elev.
I need the attribute names in the centroids to be the same as in the original polygon.