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 need to retrieve the metadata information from a feature layer. I have the web services available and I can run queries to retrieve the feature attributes, but I don't know any method to retrieve the metadata. Is there any sample or code snippet that I can use to understand the method?

share|improve this question
By meta data, do you mean the actual metadata of the featureclasses? Or do you want all that information that one sees on the mapservice page? – Devdatta Tengshe Jun 28 '12 at 0:58
I mean the actual metadata. I think I can get the Map Service information via a JSON request (am I right?!), but I don't know if the actual metadata could be available. – Fred Jun 28 '12 at 14:14
up vote 1 down vote accepted

Arcgis Server directly cannot serve the metadata for your geographic data.

I believe that ESRI's Geoportal can do so:

share|improve this answer

I believe that as of ArcGIS Server 10.1 access to metadata for map services is now supported through the REST services:

...The metadata is also available to web developers using a REST request. Developers can append /info/metadata to the end of a service's REST URL to get an XML file containing all the service's metadata. Developers can parse this metadata and present it to the end user of the service in the desired format....

Source and more info here:

Note that I'm not sure if this applies to metadata for individual layers within a map service, or just the entire service as a whole....

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.