[Qgis-developer] Changing the Renderer Type in PyQGis Application

Justin Hubbard justin at pyrotechsoftware.com
Wed Oct 31 23:58:06 PDT 2012


Hi

I would like to know how to change the renderer type in a PyQGis
application.
The vector layer (Spatialite) is a singleSymbol type currently. (Point
geometries) and I need to change the symbols depending on the value of an
attribute in the layer.
I am new to Python and QGis so have no idea how to do this. (I notice that
there is no setType method on the QgsFeatureRendererV2, which i would have
assumed would do the trick)

Any help appreciated
-- 

Warm regards
*Justin Hubbard*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121101/e2606db5/attachment.html>


More information about the Qgis-developer mailing list