[OpenLayers-Dev] WMS Gutters Shift Tiles -- Possible OL2.12 RC2 Bug

Eric Lemoine eric.lemoine at camptocamp.com
Fri Apr 27 16:22:17 EDT 2012


On Fri, Apr 27, 2012 at 9:10 PM, Eric Lemoine
<eric.lemoine at camptocamp.com> wrote:
> On Fri, Apr 27, 2012 at 6:25 PM, Greg Corradini <gregcorradini at gmail.com> wrote:
>> Hello,
>> I wasn't sure if i should file a 2.12 tagged bug on github for this quite
>> yet -- the devs might already be aware of this issue. I'm using 2.12 RC2
>> specifically for the IDL drawing.
>>
>> In 2.12 RC2 adding gutters to WMS overlays shifts my tiles. This seems to
>> happen with all possible combinations of the baseLayer and WMS overlay
>> wrapDateLine settings -- meaning it happens when baseLayer wrapDateLine =
>> false and wmsOverlayLayer wrapDateLine = true etc. There doesn't seem to be
>> a threshold where gutter size starts doing this, rather, every gutter pixel
>> increment seems to cause shift in WMS tile overlays. In 2.11 release this
>> worked fine even when gutters were ridiculously huge > 200 pixels.
>>
>> Here are some pictures of a WMS layer on a Google baseLayer layer where both
>> layers have wrapDateLine = true. Each picture shows a different gutter pixel
>> size:
>>
>> # no gutter
>> http://i50.tinypic.com/sc4bxs.png
>>
>> # 20px gutter
>> http://i50.tinypic.com/jgi2j8.png
>>
>> # 50px gutter
>> http://i45.tinypic.com/2edxycl.png
>>
>> # 100px gutter
>> http://i45.tinypic.com/4l357q.png
>>
>> Are OL devs aware of this? Is there a immediate workaround? Should I file
>> this on github with 2.12 tag and if so with what relevant information?
>
> This is a regression. Thanks a lot for reporting the issue. git-bisect
> tells me https://github.com/openlayers/openlayers/commit/85498cb23fe87bee23947f0b625082cc23b189ca
> is the cause of this regression.

I created an issue for it:
<https://github.com/openlayers/openlayers/issues/441>.




-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list