I want to export the position and rotation of labels with placement "Free" as I need them in Mapbox, which has inferior label placement compared to QGIS.
I've tried with various polygon-to-point operations (centroid, pole of inacessibility) and they don't give me the same result and in any case don't contain rotation.
Essentially, I want to copy this to Mapbox:
Similar to Turn line labels in QGIS to a new point shape layer - but I have a polygon layer and that method won't work.
if( width of polygon > length of label + 10mm, 0 degrees, orientation of feature's longest axis)