<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>HI,</span></div><div><span><br></span></div><div><span>Thanks for the reply.</span></div><div><span><br></span></div><div><span>By origin you mean the Gridset?</span></div><div><span><br></span></div><div><span>If the origin is wrong, why are the layers loaded fine in openlayers?</span></div><div><span><br></span></div><div><span>cheers,</span></div><div><span><br></span></div><div><span>Rob</span></div><div><br></div>  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> Jana Golinowski &lt;jgolinowski@codematix.de&gt;<br> <b><span style="font-weight: bold;">An:</span></b> users@openlayers.org <br> <b><span
 style="font-weight: bold;">Gesendet:</span></b> 12:31 Mittwoch, 23.November 2011<br> <b><span style="font-weight: bold;">Betreff:</span></b> Re: [OpenLayers-Users] Error message using mapfish print<br> </font> <br>&gt; When I export a map which has layers coming from gwc I always get this error in<br>&gt; the pdf file<br>&gt;<br>&gt; the gwc layers are displayed fine in openlayers.<br>&gt;<br>&gt; java.io.IOException: Error (status=400) while reading the image from<br>&gt; <a href="http://maps.zgb.de/geoserver/gwc/service/wms" target="_blank">http://maps.zgb.de/geoserver/gwc/service/wms</a>?<br>&gt; BBOX=1120223.6%2C6737442.5%2C1125190.8%2C6744216.0&amp;HEIGHT=625&amp;WIDTH=458&amp;<br>&gt; TRANSPARENT=true&amp;map_resolution=75&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;SERVICE=WMS&amp;<br>&gt; PROJECTION=EPSG%3A4326&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;REQUEST=GetMap&amp;<br>&gt; STYLES=&amp;SINGLETILE=true&amp;SRS=EPSG%3A900913:
 Bad Request<br>&gt;<br>&gt;<br>&gt; Could anyone shed any light on this?<br><br>Did you open that url in a browser? I get this error message:<br><br>"X,Y values for the tile index were calculated to be {4324.992337158024, <br>5473.245314723597} which had to be rounded to {4325, 5473} and exceeds the <br>threshold of 10%. Perhaps the client is using the wrong origin ?"<br><br>Greetings, Jana.<br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.osgeo.org" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br><br><br> </div> </div>  </div></body></html>