Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I get the following error when trying to export in QGIS to PDF: "Some WMS servers (e.g. UMN mapserver) have a limit for the WIDTH and HEIGHT parameter. Printing layers from such servers may exceed this limit. If this is the case, the WMS layer will not be printed"

I am utilizing an WMS for my aerial imagery in the map and can't export it to a PDF or image. Does anyone know what is going on and whether there is a fix or work around?

Thanks, Mickey

share|improve this question
1  
It all depends on the WMS you are using. If the server is limiting the requests, QGIS can't do anything about it. –  underdark Feb 19 '13 at 15:03

2 Answers 2

Just as underdark said, this depends on the WMS server setting, there is nothing you can do to change that.

One thing you can try is to reduce the resolution of your map within the composer (e.g. from 300 dpi to 150 dpi, so fewer pixels will be requested). This will of course lead to a lower quality map, but has worked for me in the past with German state department WMS services.

Another rather low-tech work around I also used in the past was to open the WMS layer in QGIS, zoom to an acceptable detail level/resolution, and use "save as image" to save the current content of the main view as a georeferenced jpeg or tiff. Then you scroll on a bit and continue the process for the whole area you need covered.

Now you can close the WMS layer, add the "mosaic" of locally saved screenshots (which should line up nicely) and continue to print the map as usual without any error messages.

share|improve this answer

Someone has posted a solution as a Youtube video overcome qGIS WxH limits

There is no narrative on the video, but the key step seems to be specifying the number of tiles (s/he enters "256") when adding the WMS raster layer to the map. This worked for me.

[Update] I read elsewhere that the 256x256 is the tile size. I'm not sure the units though, whatever units the projection is in? Or pixels?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.