<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Sorry...I wasnīt sure that all the forums are connected.&nbsp;</div><div><br></div><div>I didnīt realize all openlayers people are also geoext users or geoserver users subscribers</div><div><br></div><div>yours,</div><div><br></div><div>Rob</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> Eric Lemoine &lt;eric.lemoine@camptocamp.com&gt;<br> <b><span style="font-weight: bold;">An:</span></b> Robert Buckley &lt;robertdbuckley@yahoo.com&gt; <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 8:09 Donnerstag, 24.November 2011<br> <b><span style="font-weight: bold;">Betreff:</span></b> Re:
 [OpenLayers-Users] pdf export: why the request for tile dimensions of 625x458<br> </font> <br><div id="yiv2057097532">Hi<br><br>Massive cross-posting is not appropriate and won't increase your chances to get answers. I'd recommend stopping that.<br><br>On Thursday, November 24, 2011, Robert Buckley &lt;<a rel="nofollow" ymailto="mailto:robertdbuckley@yahoo.com" target="_blank" href="mailto:robertdbuckley@yahoo.com">robertdbuckley@yahoo.com</a>&gt; wrote:<br>
&gt;<br>&gt; Hi,<br>&gt; Problem: I canīt print any tiles coming from geowebcache!<br>&gt; gridset: 900913<br>&gt; System: Linux Ubuntu 10.04 / tomcat6 / Geoserver 2.1.2&nbsp;<br>&gt; Javscript<br>&gt; // map<br>&gt; var map = new OpenLayers.Map("map", {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; id: 'map',<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; projection: new OpenLayers.Projection("EPSG:900913"),<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; displayProjection: new OpenLayers.Projection("EPSG:4326"),<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; units: "m",<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; maxResolution: 156543.0339,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34),<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; numZoomLevels: 17,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; controls: [new OpenLayers.Control.MouseDefaults(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.MousePosition(), new OpenLayers.Control.ScaleLine({<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; geodesic: true<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; })]<br>&gt; &nbsp; &nbsp; });<br>&gt; // layer GWC<br>&gt; var layer_topo = new OpenLayers.Layer.WMS("Topographischekarte", "<a rel="nofollow" target="_blank" href="http://maps.zgb.de/geoserver/gwc/service/wms/">http://maps.zgb.de/geoserver/gwc/service/wms/</a>", {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; layers: 'zgb:tk50',<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; projection: "EPSG:900913",<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; format: 'image/png',<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; transparent: true,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; singleTile: false<br>&gt; &nbsp; &nbsp; }, {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 'buffer': 0,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; 'opacity': 1,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; 'isBaseLayer': true,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; visibility: true<br>&gt; &nbsp; &nbsp; });<br>&gt; Geoserver log<br>&gt; 2011-11-24 07:39:54,199 ERROR [geowebcache.GeoWebCacheDispatcher] - The requested tile dimensions 625x458 do not match those of the grid set (256x256) <a rel="nofollow" target="_blank" href="http://maps.zgb.de/geoserver/gwc/service/wms">http://maps.zgb.de/geoserver/gwc/service/wms</a><br>
&gt; 2011-11-24 07:39:54,200 WARN [print.PDFUtils] - Server returned an error for <a rel="nofollow" target="_blank"
 href="http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913">http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913</a>: Error (status=400) while reading the image from <a rel="nofollow" target="_blank"
 href="http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913">http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913</a>: Bad Request<br>
&gt; pdf error attatchment<br>&gt; java.io.IOException: Error (status=400) while reading the image from <a rel="nofollow" target="_blank" href="http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1091694.4%2C6741760.5%2C1250642.0%2C6958507.0">http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1091694.4%2C6741760.5%2C1250642.0%2C6958507.0</a><br>
&gt; &amp;HEIGHT=625&amp;WIDTH=458<br>&gt; &amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap<br>&gt; &amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true<br>&gt; &amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dp<br>
&gt; i%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913: Bad Request<br>&gt;<br>&gt;<br>&gt;<br>&gt; Can anyone tell me why the mapfish print is requesting tile&nbsp;dimensions &nbsp;of 625x458?<br>&gt;<br>&gt;<br>
&gt; Yours with thanks,<br>&gt; Rob<br>&gt;<br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a rel="nofollow" ymailto="mailto:eric.lemoine@camptocamp.com" target="_blank" href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a rel="nofollow" target="_blank" href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>
</div><br><br> </div> </div>  </div></body></html>