<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I get the same error messages with mapserver and postgis using tif files. It seems that they relate only with singleTile being true. After searching about that, I read somewhere (the OSM forum I think) that these errors appear because there is a delay in displaying the tif (suppose the whole image). The advice was just ignoring them. About your second URL, it might be a double call generated by something in your code.</div><div><br>Sent from my iBath</div><div><br>On Mar 14, 2013, at 21:14, "Paul Meems" <<a href="mailto:bontepaarden@gmail.com">bontepaarden@gmail.com</a>> wrote:<br><br></div><div><div dir="ltr"><br clear="all"><div>I have a strange behavior in my application using OLv2.12.<br></div><div>I use GeoServer for my mapping and I have an aerial photo layer and two PostGIS layers.<br></div><div>The photo layer is a grouped layer of a tiff layer (the aerial photo) and a vector layer (OSM data).<br>

</div><div>The first PostGIS layer and the photo layer are both called using geowebcache and the second PostGIS layer is called as a WFS layer because I only show a few features based on an address.<br><br></div><div>This works all fine. I start with a predefined address and when I zoom out too quickly I get error in Firebug and the map 'jumps' back to the original zoom level.<br>

</div><div>Too quickly means not all tiles are shown yet. I zoom using the pan-zoom bar.<br><br></div><div>The error is:I<br></div><div><span style="font-family:courier new,monospace">Image corrupt or truncated<a href="http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512">http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512</a><br>

<a href="http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512">http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512</a><br>

Line 0</span><br></div><div>When I look closer at the error in Firebug I see the URL is appended twice.<br></div><div><br>It looks like my quick zooming resulted in not requesting a new tile but combining the previous URL with the new one.<br>

<br></div><div>This behavior happens in FF, Chrome and IE9.<br></div><div>When I zoom to another address I don't have the behavior of returning to the initial zoom level, but I do have a lot of those errors about corrupt or truncated images.<br>

<br></div><div>Most likely I'm doing something wrong, but I have no idea where to look.<br></div><div><br></div><div>
Thanks,<br><br>
Paul</div>
</div>
</div><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></span><br></div></body></html>