[Qgis-developer] Issue with standalone python script and PostGIS Layers

Richard Duivenvoorde rdmailings at duif.net
Fri Feb 21 02:07:47 PST 2014

On 21-02-14 10:53, Stott, James wrote:
> Just a follow up to this if other people ever have trouble with this.
> I have managed to load my query layers by specifying False for the
> loadDefaultStyleFlag parameter when I create the QgsVectorLayer. So
> It would be good to get details about this parameter added to
> http://www.qgis.org/en/docs/pyqgis_developer_cookbook/loadlayer.html
> Is this something I can add myself?

Sure: sources of the python cookbook live here:


You can fork QGIS-Documentation project and do a Pull Request
(preferably) but if that is too much work (or beyond your git foo), just
write down some paragraph of text and sent it to .... the community list
<very small font> or me </very small font>?

Building the docs itself is currently only working on Linux (not 100% sure).



More information about the Qgis-developer mailing list