[Users] geoext Printprovider bad request

Ralph Dell RDell at CatawbaCountyNC.gov
Wed Aug 24 21:22:47 CEST 2011


I did not know if this list or the geoserver list would be a better
forum for this question. I decided to start here.

 

After adding layers to my map from geowebcache and generating a pdf with
the Printprovider  the gwc layers were not showing up in the generated
pdf.

My straight up wms layes etc, were printing fine as usual.

 

In my geoserver logs I found the following information that indicated a
bad request. 

 

2011-08-24 13:27:21,287 WARN [org.mapfish.print.PDFUtils] - 

Server returned an error for
http://gis.catawbacountync.gov/geoserver/gwc/service/wms?

BBOX=-9079690.0%2C4218281.5%2C-9006310.0%2C4294718.5&HEIGHT=694&WIDTH=66
7&TRANSPARENT=true&

map_resolution=100&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=W
MS&format_options=dpi%3A100&

LAYERS=ncgroup&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913:

Error (status=400) while reading the image from
http://gis.catawbacountync.gov/geoserver/gwc/service/wms?

BBOX=-9079690.0%2C4218281.5%2C-9006310.0%2C4294718.5&HEIGHT=694&WIDTH=66
7&TRANSPARENT=true&

map_resolution=100&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=W
MS&format_options=dpi%3A100&

LAYERS=ncgroup&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913: Bad Request

 

2011-08-24 13:27:21,287 WARN [org.mapfish.print.PDFCustomBlocks] - 

Error while adding a PDF elementjava.io.IOException: 

Error (status=400) while reading the image from
http://gis.catawbacountync.gov/geoserver/gwc/service/wms?

BBOX=-9079690.0%2C4218281.5%2C-9006310.0%2C4294718.5&HEIGHT=694&WIDTH=66
7&TRANSPARENT=true&

map_resolution=100&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=W
MS&format_options=dpi%3A100&

LAYERS=ncgroup&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913: Bad Request

 

I did not know why it was a bad request but I was suspicious of the
HEIGHT and WIDTH

 

Pasting the url into my browser confirmed that by returning the error

400: The requested tile dimensions 694x667 do not match those of the
grid set (256x256)

http://gis.catawbacountync.gov/geoserver/gwc/service/wms?BBOX=-9079690.0
%2C4218281.5%2C-9006310.0%2C4294718.5&HEIGHT=694&WIDTH=667&TRANSPARENT=t
rue&map_resolution=100&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVI
CE=WMS&format_options=dpi%3A100&LAYERS=ncgroup&REQUEST=GetMap&STYLES=&SR
S=EPSG%3A900913

 

 

OK great. What can I do to resolve the issue? Can I use my gwc layers
with the printProvider? Do I have deeper issues?

 

Ralph Dell

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110824/e865d6d9/attachment.htm 


More information about the Users mailing list