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
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to