Re: [Qgis-developer] PyQGIS and checking WMS layers have data

2013-10-10 Thread Stott James
small, it tries to create it again. Hopefully it won't get stuck in a loop where if it fails once it will always fail!! James Fra: Gino Pirelli [mailto:lui...@gmail.com] Sendt: 9. oktober 2013 20:30 Til: Stott James Kopi: qgis-developer@lists.osgeo.org Emne: Re: [Qgis-developer] PyQGIS and checking

[Qgis-developer] PyQGIS and checking WMS layers have data

2013-10-09 Thread Stott James
Hi all, I have a loop in my code that makes PDFs for a number of polygons and the base mapping comes from an aerial photography WMS. So for each polygon, the python code moves the map to the extent of that polygon and the makes a PDF. However, some of my maps end up with white backgrounds

Re: [Qgis-developer] PyQGIS and checking WMS layers have data

2013-10-09 Thread Gino Pirelli
probally solution is connecting to the slots of the QgsRasterLayer class public slots: void showStatusMessage( const QString theMessage ); /** \brief Propagate progress updates from GDAL up to the parent app */ void updateProgress( int, int ); /** \brief receive progress