I have GWC layer on my GeoServer. Now I want to print this layer using GeoServer print module but don't know how to do this.

When I try WMS layer all works fine. But how to print the GWC layer?


In client side I have a GXP and try to print using gxp_print plugin. My problem is that I can't set URL to the GWC layer.

I read this and this: so I try this URL:


But GeoServer returns me error:

400: Requested horizontal resolution: 441.30440542890574 , best match: 
305.74811309814453 exceeds 10% threshold. Perhaps the client is configured with an 
incorrect set of scales (resolutions), or the DPI setting is off compared to the one in GWC ?

This same like in links above. So how to print GWC?


Good news. I changed scales in my config.yaml file to scales that I get from the GWC layer (but I get only left part of each scale). Now I try to print GWC layer but it not printing. In GeoServer log I found Bad Request:

java.io.IOException: Error (status=400) while reading the image from 
http://geourfo.ru:9091/geoserver/gwc/service/wms?BBOX=6866019.0%2C7636631.0%2C6950767.0%2C7752196.5    &HEIGHT=625&WIDTH=458&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&
: Bad Request

After I change width and height to 256/256 and get my tile!

So question: why iprint plugin take tiles with HEIGHT=625 and WIDTH=458 but not with 256x256?

  • Any solution so far? I´m going throught the same problem at the moment Apr 30, 2013 at 12:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.