Have you already tried standard tools available in ArcGIS?
Are you looking to create a local copy (Geodatabase Feature class) of the map service?
In that case, you need to enable Feature Access capability with EXTRACT option enabled while publishing the Map service in ArcGIS Server.
Editor permissions for feature services—Documentation | ArcGIS Enterprise
Does this mean that services published from layers stored file geodatabase?
Do you need to have the data stored in enterprise geodatabase to have its extractable from its service? Even though, the extract tool is not working as shown in the screenshots below
What about Right-click the layer in TOC > Data > Export Data? Is it working?
No such command is available for the service
Did you try right-clicking on the layer under "ggg" map service (h.dbo.tt)?
it is here but no export in the menu
I just finished building a web page which uses the Extract Operation to prepare a download for the user. It can be configured for your own data in Arcgis Online and is of course free to use. Have a look at my page and the instructions:
Export geo data
I think you can download the layers only if they are published as hosted feature layers.
You will require Portal for ArcGIS (federated and containing a hosted server) or ArcGIS Online to achieve the desired task.
You can use the tool created by Jake Skinner , which can be downloaded here:
I tried this tool, and it’s working fine with me.
How come this tool is not integrated into the out-of-the-box tools even in ArcGIS 10.5. In my perspective, this tool is important for all users to be able to extract data from web services.
However, I’m not able to download the tool
Try to download the tool from below link:
Download ArcGIS Online Feature Service or ArcGIS Server Feature/Map Service
You can find the tool as shown in the screenshot below.
If the service has an associated feature service, you'd be able to right click on the service and export the data as if it were a regular feature class. Considering the service is a map service, (and thus only returns images), you'll need to get the data from the REST endpoint, submitting query requests. If query is disabled on the data and feature access is not enabled, then unfortunately, I don't think there's a way to download the data.
The tool is not working with me. What might be the issue?
You should check the Hosted Feature Service or ArcGIS Server Service as you can see below.
Thanks Rawan. It works fine
This is a great tool. It should be out of the box in ArcGIS.
How it can be further enhanced to get the output in gdb instead of of shp?
Is it easy to publish it so that it can be used in any web mapping application?
Is there a way to have to script start at a specific object ID? I'm downloading a dataset that has over 100k records, and it got to 129k and called it quits. I looked through the script to try and get it to start at a specific object ID, but it looks like it's creating a list of object IDs and iterating over that versus a simple for next statement.
Download Dataset From ArcGIS REST Service - Geographic Information Systems Stack Exchange
Posted a cool tool:
GitHub - tannerjt/AGStoShapefile: Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
Retrieving data ...