<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. </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 <eric.lemoine@camptocamp.com><br> <b><span style="font-weight: bold;">An:</span></b> Robert Buckley <robertdbuckley@yahoo.com> <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 <<a rel="nofollow" ymailto="mailto:robertdbuckley@yahoo.com" target="_blank" href="mailto:robertdbuckley@yahoo.com">robertdbuckley@yahoo.com</a>> wrote:<br>
><br>> Hi,<br>> Problem: I canīt print any tiles coming from geowebcache!<br>> gridset: 900913<br>> System: Linux Ubuntu 10.04 / tomcat6 / Geoserver 2.1.2 <br>> Javscript<br>> // map<br>> var map = new OpenLayers.Map("map", {<br>
> id: 'map',<br>> projection: new OpenLayers.Projection("EPSG:900913"),<br>> displayProjection: new OpenLayers.Projection("EPSG:4326"),<br>> units: "m",<br>
> maxResolution: 156543.0339,<br>> maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34),<br>> numZoomLevels: 17,<br>> controls: [new OpenLayers.Control.MouseDefaults(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.MousePosition(), new OpenLayers.Control.ScaleLine({<br>
> geodesic: true<br>> })]<br>> });<br>> // layer GWC<br>> 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>
> layers: 'zgb:tk50',<br>> projection: "EPSG:900913",<br>> format: 'image/png',<br>> transparent: true,<br>> singleTile: false<br>> }, {<br>
> 'buffer': 0,<br>> 'opacity': 1,<br>> 'isBaseLayer': true,<br>> visibility: true<br>> });<br>> Geoserver log<br>> 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>
> 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&HEIGHT=625&WIDTH=458&map_resolution=75&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&PROJECTION=EPSG%3A900913&format_options=dpi%3A75&LAYERS=zgb%3Atk50&SINGLETILE=false&SRS=EPSG%3A900913">http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&HEIGHT=625&WIDTH=458&map_resolution=75&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&PROJECTION=EPSG%3A900913&format_options=dpi%3A75&LAYERS=zgb%3Atk50&SINGLETILE=false&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&HEIGHT=625&WIDTH=458&map_resolution=75&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&PROJECTION=EPSG%3A900913&format_options=dpi%3A75&LAYERS=zgb%3Atk50&SINGLETILE=false&SRS=EPSG%3A900913">http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&HEIGHT=625&WIDTH=458&map_resolution=75&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&PROJECTION=EPSG%3A900913&format_options=dpi%3A75&LAYERS=zgb%3Atk50&SINGLETILE=false&SRS=EPSG%3A900913</a>: Bad Request<br>
> pdf error attatchment<br>> 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>
> &HEIGHT=625&WIDTH=458<br>> &map_resolution=75&SERVICE=WMS&REQUEST=GetMap<br>> &STYLES=&TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&TRANSPARENT=true<br>> &VERSION=1.1.1&FORMAT=image%2Fpng&PROJECTION=EPSG%3A900913&format_options=dp<br>
> i%3A75&LAYERS=zgb%3Atk50&SINGLETILE=false&SRS=EPSG%3A900913: Bad Request<br>><br>><br>><br>> Can anyone tell me why the mapfish print is requesting tile dimensions of 625x458?<br>><br>><br>
> Yours with thanks,<br>> Rob<br>><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>