[OpenLayers-Users] ArcGIS cache jumping around

David Zwarg dzwarg+ol at azavea.com
Wed Aug 24 10:43:41 EDT 2011


Apologies for not following up on the list, but the resolution to J's
problem can be summarized as such (quoting ArcGISCache layer author,
dmiddlecamp):

"Basically this problem crops up when ArcGIS is configured to serve tiles
for a fixed extent that is different from the full extent of something like
spherical mercator.  The trick here is to set the actual RestrictedExtent to
the correct extent on your server, and make sure the DPI of your tiles
matches what OpenLayers expects (typically 72).  Once that is set, it
changes how the map pans and zooms, and the layer behaves normally.

The jumping people experience is that ArcGIS mis-represents the actual
extent of all the features on the map.  When you're zoomed out, the server
adds 'whitespace' to the edge which causes confusion.  As you zoom in this
whitespace is reduced.  Setting the restricted extent prevents you from
zooming / panning beyond the max extent, and allows the layer to fix this
problem.  There may be other ways to resolve this issue, but this fix worked
for this situation."

Hope this helps,
Z

On Wed, Aug 24, 2011 at 3:56 AM, Bart van den Eijnden <bartvde at osgis.nl>wrote:

> Hi Keith,
>
> thanks for checking, then your issue must be a different issue. Will be
> hard to reproduce though without having your AGS cache online.
>
> No just the last patch of ticket 3474 suffices. The extra closing } is at
> the end of the patch (line 191).
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS - http://osgis.nl <http://opengeo.org/>
>
> On Aug 24, 2011, at 9:51 AM, Keith Moss wrote:
>
> Applied the fix to 2.11RC1 and it doesn't seem to have changed the
> behaviour.
>
> Did I need to apply the change in
> http://trac.osgeo.org/openlayers/attachment/ticket/3474/no_fn_in_lod.patch
> as well?
>
> Incidentally, the other patch seemed to be lacking a closing } around line
> 181.
>
> cheers
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/ArcGIS-cache-jumping-around-tp6700610p6719195.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> _______________________________________________
> 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/20110824/b0c49964/attachment.html


More information about the Users mailing list