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

Salvatore Larosa lrssvtml at gmail.com
Tue Oct 13 14:59:49 PDT 2015


Hi Thomas,

On Mon, Oct 12, 2015 at 6:08 PM, Thomas Gratier
<osgeo.mailinglist at gmail.com> wrote:
> 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)?

which QGIS version are you trying with?
Using master and LTR both scripts do not work for me.

For the non working script are you getting any log in the python shell?

Best Regards,
-SL

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode



More information about the Qgis-user mailing list