[OpenLayers-Users] Zooming fast gives errors

Gery . gamejihou at hotmail.com
Thu Mar 14 13:36:50 PDT 2013


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.

Sent from my iBath

On Mar 14, 2013, at 21:14, "Paul Meems" <bontepaarden at gmail.com> wrote:


I have a strange behavior in my application using OLv2.12.
I use GeoServer for my mapping and I have an aerial photo layer and two PostGIS layers.
The photo layer is a grouped layer of a tiff layer (the aerial photo) and a vector layer (OSM data).
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.

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.
Too quickly means not all tiles are shown yet. I zoom using the pan-zoom bar.

The error is:I
Image corrupt or truncatedhttp://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
Line 0
When I look closer at the error in Firebug I see the URL is appended twice.

It looks like my quick zooming resulted in not requesting a new tile but combining the previous URL with the new one.

This behavior happens in FF, Chrome and IE9.
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.

Most likely I'm doing something wrong, but I have no idea where to look.

Thanks,

Paul
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130314/e1b45486/attachment.html>
-------------- next part --------------
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list