Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server 10.1 instance.

My task is to provide the map's users a way to download the full map locally as a shapefile (e.g: zipped) via her/his web browser.

I was hinted to read here and to build a geoprocessing service to accomplish the task. I decided to write a specific toolbox myself using Python, then publish it as a geoprocessing service on my ArcGIS Server instance and finally include it into my web application.

Can you point me towards any third-party (meaning: non-ESRI) code sample to start me up? I can find no examples other than the ones in ESRI's support website!

Thanks in advance

share|improve this question
1  
I dont see the code for it but the edcommunity has a jpg export application. – Brad Nesom Dec 3 '12 at 16:28
1  
If you're using Esri software, why are you re-inventing/writing your own tool? This task is well documented here resources.arcgis.com/en/help/main/10.1/#/Clip_and_ship/… . If you absolutely need to you can save the Extract Data tool and hack it up. – KHibma Dec 3 '12 at 17:05
Thanks for the hint, @BradNesom, can you please give me the URL/thread of this app? – claudio sparpaglione Dec 4 '12 at 14:46

2 Answers

Anyone with more info can edit this answer.
The edcommunity has a sample app, but no downloadable code. As per KHibma the clip and ship will probably work.
If you aren't clipping the Edcommunity Sketch-A-Map app uses a draw widget to export.

share|improve this answer
(+1) for 10.000. Good Luck :) – Aragon Dec 4 '12 at 16:51

When we needed this, we just pregenerated a zip file for each layer, and had a link in a custom legend which allowed you to download the data, and just housed the zip files on the site. Not 'slick and automatic', but it gives a way for the user to download the data if they want.

share|improve this answer

Your Answer

 
discard

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.