[Qgis-user] WMS display issue and QGIS based standalone application

Thomas Gratier osgeo.mailinglist at gmail.com
Mon Oct 12 09:08:16 PDT 2015


Hi,

I'm working with the Python API to create a standalone app.
When I reuse this sample from
http://kartoza.com/how-to-load-a-qgis-project-in-python/, it works
perfectly with only vector layer(s).
When I use a WMS with a vector layer, it fails directly.
I've done two samples to demonstrate the issue. You can take samples from
https://framadrop.org/r/kkC2MVV9TH#anlncOhrg5vbo5W7D8Lfjg8ghRq7BTo9flJXvnIV+Io=

Run the working vector sample with:
    python test_project_standalone_no_wms.py

Run the non working wms + vector sample with:
    python test_project_standalone.py

I should miss something. Do you have any clue? It's a bug or a feature
(unwanted for my case)?

Cheers

Thomas Gratier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151012/2abfe32c/attachment.html>


More information about the Qgis-user mailing list