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

2015-10-21 Thread Tim Sutton
Hi Thomas > On 12 Oct 2015, at 18:08, Thomas Gratier 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/ >

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

2015-10-21 Thread Thomas Gratier
Hi, Thanks for your answer, Tim. The framadrop link is working on my side. You may try again. So to directly answer to your question without the framadrop issue. In fact, I do not declare any layer here in the code but I only reference a different "qgs" file. One is with only a shapefile

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

2015-10-17 Thread Thomas Gratier
Hi, Thanks for your answer. I'm using QGIS 2.10.1-Pisa on an Ubuntu 14.04 LTS For both scripts, you will see screenshots for non working sample https://framapic.org/ESs6fNmIArII/uFqt0e0A and also working one https://framapic.org/21atQvjmzdq5/4whPjPGL. Unfortunately, except if there is a debug

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

2015-10-13 Thread Salvatore Larosa
Hi Thomas, On Mon, Oct 12, 2015 at 6:08 PM, Thomas Gratier 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

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

2015-10-12 Thread Thomas Gratier
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