Select to view content in your preferred language

Extract Features From MapServer/ Rest/ Soap/ etc?

20045
42
Jump to solution
01-15-2015 07:04 AM
JustinMeyers
Deactivated User

Is it possible to extract gis data (features, records, geometry, etc) from arcgis rest/ soap/ Mapservers? 

For example: ProxyServices/DDOTBaseMapProxy (MapServer)

can i extract the first layer

and make it a shapefile/ feature class, etc?

Thanks!

1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

I created a tool that will do this, but I don't think it will work with 9.3 services (which the above URL is referencing).  You should be able to make minor adjustments to the python code to do this, though.

http://epro.maps.arcgis.com/home/item.html?id=16e5cc64178941839eca62837f168ec9

View solution in original post

42 Replies
JakeSkinner
Esri Esteemed Contributor

I created a tool that will do this, but I don't think it will work with 9.3 services (which the above URL is referencing).  You should be able to make minor adjustments to the python code to do this, though.

http://epro.maps.arcgis.com/home/item.html?id=16e5cc64178941839eca62837f168ec9

Gijsvan_den_Dool
Emerging Contributor

Hi Jake,

I tried to download the tool but I got "Permission Denied".

Is there another location where I can find the tool, and (more important) can it be used to extract data from this service:

http://www.pcn.minambiente.it/arcgis/rest/services

I would like to obtain a feature set of the highest resolution water lines to process further (hydrologically condition my DEM)

Thanks,

Gijs

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Gijs van den Dool‌, you should be able to download the tool from the following document:

https://community.esri.com/docs/DOC-6496

This should work for any map/feature services, though I have not tested with ArcGIS Server 10.0.

0 Kudos
Gijsvan_den_Dool
Emerging Contributor

Thanks I got it, and will do a test - the tool works, but the service is protected (and I don't have the credentials).

0 Kudos
Gijsvan_den_Dool
Emerging Contributor

Hi Jake,

I know you are busy, but could you have a look at the link I forwarded to you, having a local copy of this data would be very useful for my project. Unfortunately, I don't get much support from the organisation which is hosting this data.

Thanks,

Gijs

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Gijs1973‌,

I was able to get the tool to execute successfully.  Here is how I had it setup:

Gijsvan_den_Dool
Emerging Contributor

Thanks Jake,

Most appreciated, I will give it a try tomorrow.

The data layer I'm after is large: +1M poly lines. Do you think it will still work?

I keep you posted,

Gijs

0 Kudos
Gijsvan_den_Dool
Emerging Contributor

Hi Jake,

Do you know why I am unable to retrieve all the information from the data server?

Blue lines: original data

Red lines: obtained data

In my first try (shapefile) I got 500K of the 1.4M objects in the second try (gdb) I get 700K line element.

Thanks,

Gijs

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Gijs1973‌ can you provide the URL for the service you are trying to download?

0 Kudos