3

I have a ArcGIS REST service, is it possible to access the data source of the layer that is within the rest service. For example I have a layer called "Conservation Area" within the service, that references the dataset "PLANNING.CONSERVATION_AREAS". It is "PLANNING.CONSERVATION_AREAS" that i want to retrieve back. Is this possible

EDIT I want to get access to the actual feature class name which is held within the database (oracle in my case). I have read about the Data Source object REST Data Source Object which does suggest it is possible ? (but not sure how).

Thanks

1
  • Take a look at the SOAP API as well here resources.arcgis.com/en/help/soap/10.1/index.html#/Overview/…. I am not aware of any way to do this via REST API. Another way to try is to test using geodata services, they expose more "geodatabase information" than regular map services. REST Data Source object won't help you here since you have to specify the path to the feature class to work with and in your case you are trying to figure out the one. Commented May 17, 2014 at 6:34

1 Answer 1

1

When you go to your REST services should be something like "yoururl/ArcGIS/rest/services" If you have admin access you should see a list of services, which then you can click on. The next page should then list the layers you have in that service.

2
  • 1
    This will just give the layer name back (as defined within the .mxd), but not the actual feature class name (as defined within the database). Halil wants to get back the feature class name, i.e., dbo.Planning.CONSERVATION_AREAS. This information is not exposed directly in ArcGIS Services Directory. Commented May 16, 2014 at 13:33
  • @AlexTereshenkov I misunderstood. Halil, If this is what you want, you should clarify your question to specify feature class name. Is it exclusive to REST? If you really want the datasource why not look directly at the mxds?
    – GISHuman
    Commented May 16, 2014 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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