[OpenLayers-Users] how to work with ArcGis basemaps
JK Chen
jk.chen at sdl.usu.edu
Thu Aug 25 17:33:23 EDT 2011
Thanks, Arnd.
Those information are great.
JK
-----Original Message-----
From: arnd.wippermann at web.de [mailto:arnd.wippermann at web.de]
Sent: Thursday, August 25, 2011 12:38 PM
To: JK Chen
Cc: users at openlayers.org
Subject: AW: [OpenLayers-Users] how to work with ArcGis basemaps
Hi,
That's the way to declare the layer:
esriSat = new OpenLayers.Layer.ArcGIS93Rest("ESRI Satellite",
"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer
/export?f=image",
{ layers :'show:0'
},
{ isBaseLayer:false,
attribution:"ESRI Satellite",
opacity:1,
visibility:true
});
The shortent url
http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer
shows the capabilities of the service.
See also
http://gis.ibbeck.de/OLClient/examples/ArcGIS93Rest.html
Arnd
-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von JK Chen
Gesendet: Donnerstag, 25. August 2011 19:10
An: Richard Greenwood
Cc: users at openlayers.org
Betreff: RE: [OpenLayers-Users] how to work with ArcGis basemaps
Ya, I tried that object. But what I have in question is: can that class be used to bring in imagery base maps from ArcGis?
If yes, what are the URL link?
I am not talking about data service.
This is the data service url that I tried, "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_S
tateCityHighway_USA/MapServer/export"
It worked, but again, my intension is to use imagery base map from ArcGIS, not bing map, not google map, but ArGIS imagery maps, I mean any imagery base maps served by ArcGIS.
Thanks.
JK
-----Original Message-----
From: Richard Greenwood [mailto:richard.greenwood at gmail.com]
Sent: Thursday, August 25, 2011 10:32 AM
To: JK Chen
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] how to work with ArcGis basemaps
On Thu, Aug 25, 2011 at 9:36 AM, jk <jk.chen at sdl.usu.edu> wrote:
> Hi,
> I'm giving a evaluation task to find out if our map client
> (implemented in
> OL) can work with ArcGIS?
> So I have two questions to answer, and I want to seek inputs from this
> thread. Here you go.
>
> Two questions,
>
> 1. how to work with ArcGis basemaps? Are they WMS?
>
> 2. how to work with reqeusts with this forms, ie, tile/././. an
> example shown here,
> http://services.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/Ma
> pServer/tile/7/55/112
>
> 3. I saw a example link about ArcGiS cashed map. Is that the same as 1?
>
> Thanks.
>
> JK
I'm not an ArcGIS guy but I was recently faced with the same request and I found that the OL layer type "OpenLayers.Layer.ArcGIS93Rest"
worked flawlessly. It was very easy to switch from a MapServer source to an ArcGIS source. It kind of reaffirmed why using OpenLayers is so sweet.
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list