New answers tagged


I have my qml styles in a fix path (c:/pyqgis_data/Styles/). So, to load arrows_red_orange.qml (exclusively for point layers), next lines at the Python Console of QGIS work: >>>layer = iface.activeLayer() >>>if layer.geometryType() == QGis.Point: >>>...layer.loadNamedStyle('c:/pyqgis_data/Styles/arrows_red_orange.qml') >>&...


i'm not a programmer, but you can try to combine qml file with Notepad++ (or any text editor) because they are based on XML language. Idem for qlr and qgs extension.

Top 50 recent answers are included