Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the OpenLayers JavaScript API within a web application. I am displaying non-base layers hosted on an ArcGIS server. When I load the ArcGIS layers, I load them using OpenLayers.Layer.ArcGIS93Rest and by specifying the export service URL. The layer loads perfectly. However, when the user clicks on a feature, I want to be able to display a popup showing information about the feature that the user clicked on. Can anyone explain the best way to retrieve feature information?

Thanks in advance!

share|improve this question
add the FeatureServer?f=pjson - example… – Mapperz Apr 11 '12 at 21:20
of course the service you need to be requesting is a feature service - – Mapperz Apr 11 '12 at 21:28
The layer that I'm requesting is via a map service, and the ArcGIS server hosting the layer unfortunately doesn't support a feature service. The map service supported interfaces are Rest, Soap and WMS, and the supported operations are Export Map, Identify, Find and Generate KML. The only supported interface on the layer is Rest and the only supported operation is Query. What's my best alternative? – Sara Apr 11 '12 at 22:15

rest will solve your problems with only parsing it then adding to map. the following link has a query with geometry which return to results json.

filter geometry is -125.4,35.2,-118.7,43.8

you can get more information here ArcGIS Server REST API. and you can also get another info here ArcGIS Server REST API, OpenLayers

i hope it helps you...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.