Wednesday, 15 March 2017

pyqgis - Adding WMS layer in QGIS standalone Python script



How do I add a WMS layer on a map, in a standalone Python script with QGIS 2.4?


The methodology explained at the bottom of the official QGIS documentation page seems to be outdated and does not work: http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/loadlayer.html




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...