[OpenLayers-Dev] OpenLayers with ArcGIS 9.3 (AGS)

Gorka López Rivacoba gorka.lopez.rivacoba at gmail.com
Mon Nov 24 03:42:17 EST 2008


In my application I want to consume ArcGIS 9.3 pre-generated tiles with
OpenLayers. I generate the tiles with this parameters:

   - xCoordinate: 515228
   - yCoordinate: 4750007
   - Scales: 75.000 - 60.000 - 40.000 - 25.000
   - Format: JPG

To consume these tiles with OpenLayers, I downloaded the AGS class (
and I wrote these parameters:

*var layerAGSTiles = new OpenLayers.Layer.AGS( "AGS",      *

*, *

*                             {layername: '_alllayers', type:'jpg',
tileOrigin: new OpenLayers.LonLat(515228,4750007)} );*


But the last part of the generated url is not ok (the part that depends of
the tileOrigin parameter). Example:


I don't know if this problem is about the tileOrigin that I write (I write
the xMin and yMax that I write in the configuration of the tiles) or if it
is because the algorithm is different for the newest version (9.3) or

Thanks for your help. Best Regards,

Gorka López
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20081124/0b159bdd/attachment.html

More information about the Dev mailing list