2 Commits

Author SHA1 Message Date
Alex
869fdc866d doc improvement 2021-04-19 12:24:18 -04:00
Nyall Dawson
bd830ba2dd [feature][expressions] Add "main_angle" function to return the estimated
main angle of a geometry

Returns the angle of the oriented minimum bounding box which covers the
geometry value.

Useful for data defined overrides in symbology of label expressions,
e.g. to rotate labels to match the overall angle of a polygon, and
similar for line pattern fills...
2020-07-16 08:44:51 +10:00