Creating new Map Provider

Jun 20, 2009 at 12:49 AM

I'm not a GIS expert at all so I am having some trouble understanding how I could create a new provider for the ArcGISOnline static map tiles.  http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer

Perhaps someone more familiar with this could create an ESRArcGISOnline Map Provider quite easily?

512x512 image
Tiles:
Level 0:    /tile/0/0/0 ... /tile/0/0/1  (world)
...
level 15    /tile/15/0/0 ... /tile/15/32767/65535

 

Thanks,

Matt MS

 

Jun 20, 2009 at 12:54 AM

the problem is 512x512 size of tile, hm... 

Jun 20, 2009 at 12:58 AM

sniffing on http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer?f=jsapi

challenge accepted! :}

Jun 20, 2009 at 1:37 PM

Maybe in Gmap core there is only the map provider interface, and others can add more and more map provider without modify the core code.  I think it will be more extendable.

Jun 20, 2009 at 2:02 PM

but providers list is quite short ;}

Jun 30, 2009 at 3:20 PM

testing:

Jun 30, 2009 at 6:20 PM

does ArcGIS use different projection in Y ?

Jun 30, 2009 at 6:47 PM

http://en.wikipedia.org/wiki/Robinson_projection

Jul 2, 2009 at 6:22 PM

I think the tiles are all in "WGS 1984".  The links below have some details on the system that you may be able to better understand than I:

http://webhelp.esri.com/arcgisserver/9.3/dotNET/index.htm#designing_overlay_agol.htm
http://webhelp.esri.com/arcgisserver/9.3/dotNet/overlay_agol_net.htm

 

Jul 2, 2009 at 7:07 PM

'The latest revision is WGS 84 (dating from 1984 and last revised in 2004), which will be valid up to about 2010'

;/

Jul 2, 2009 at 8:41 PM

yes they use WGS 1984, but what is their maps real projection?

Jul 4, 2009 at 5:15 PM

enjoy ;}

Jul 7, 2009 at 12:58 PM

Hey Radioman,

At this point the routing is done through Google Maps regardless of the Map provider is used which means that the route points might not be consistent with the map (OpenStreetMap with Google Routes is a good example).

Is it possible for the ArcGIS map provider to also use the ArcGIS routing system?

In this manner is it possible for the Map providers that support also routing to be synchronized?

 

Cristian..

Jul 7, 2009 at 1:07 PM

where is ArcGIS routing services?

Jul 9, 2009 at 4:33 AM
Edited Jul 9, 2009 at 4:33 AM

Excellent Work! The only problem I noticed is that ZOOM is odd/different than other providers.
Thus when I toggle between Google and ArcGis the viewport is not preserved.  

FYI: ArcGIS Routing services: http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis and: HelpLInk

I also now realized that instead of accessing the TILES directly and having to do projection and zoom
factoring you could access all these esri services thru the 'MapServer' api on any of their datasources 
and grab 'tiles' dimensioned and projected to your norm.  Instead of calculating a tile Zoom/Y/X 
from the LatLon you would calculate a LatLon Bounding Box and pass that the the following link. 
Note that only the URI part before /MapServer/ changes for each ESRI datasource.
http://preview.tinyurl.com/n8298f

Many of the tile datasources on the ESRI site seems to have their own tiling scheme
(tile sizes and scales) which makes working with each a bit of a pain I would imagine.

Matthew