I'm importing data, and creating a layer, which has a number of features, each with an
I'd like to create a data defined override to rotate the SVG marker by the angle defined by
f_angle but am unsure how to do this using pyqgis in QGIS 3.
This question/answer seems to show how to do it is QGIS 2, but
QgsDataDefined has been removed in QGIS 3 with the suggestion to use the
QgsProperty framework instead. However I'm struggling to find examples/documentation using that.
Can anyone tell me how to create a data defined override to rotate SVG markers based on a feature attribute in QGIS3, using pyqgis?