[Qgis-developer] Identifying inverted polygons

2015-05-03 Thread Paolo Cavallini
Hi all. The Identify tool works in a strange (to me) way for inverted polygons: you have to click inside the polygon, but then the red (identified) area is on the outside, giving an ugly effect, difficult to understand. I'd say this is a bug: agreed? If so, I'll open a ticket. All the best. -- Pao

[Qgis-developer] Rendering active map symbol programmatically

2015-05-03 Thread Andrew McClure
Am struggling a bit with this problem. I want to render the active symbol for a layer as a QPixmap in a dialog. I have got this far: s = layer().rendererV2() key = s.rootRule().findRuleByKey(s.rootRule().ruleKey()) This tells me the active rule key to be rendered but how to ge