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 where the aerial 
photography hasn't loaded/displayed.

Is it possible to make sure that a WMS has loaded its data before a PDF is made 
in python? Or does the problem lie with the network connection at the time that 
PDF is made? Is there any way I can catch these instances and maybe load the 
WMS again?

The last time I ran the script, of the 1465 PDFs it created, about 21 had a 
white base map, so generally it works really really well. I have checked that 
there is actually data for these 21 areas, and there is. It also seems to be 
different areas that do not load each time I run the script.

Many thanks

James
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to