0
votes
0answers
61 views

How to apply an existing symbol in pyQGIS?

I'd like to change the layer rendering style from python code. Basically I want to do the same operations I can do from QGis by: Right-click on a layer Select Properties Select one of the displayed ...
1
vote
2answers
88 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...
2
votes
1answer
78 views

Keeping a vector layer always on top

I want to know how to keep a layer always on top of other layers! After adding a vector layer ( QgisInterface->addVectorLayer ), I want that layer to always be displayed on top of layers added later. ...