Select to view content in your preferred language

Need to export features to kml and shp format

1959
4
03-18-2014 04:01 AM
DeepikaJain
Occasional Contributor
Dear All

I am using arcgis javascript api 3.8, I need to export the features identified through identify task to shp and kml format.

Any inputs on this would be of great help.

Thanks
Deepika
0 Kudos
4 Replies
JohnGravois
Deactivated User
Deepika,

our JavaScript API doesn't include any inbuilt tools to accomplish something like that so you might consider publishing a geoprocessing service to accomplish the same.  it would have to take in an input featureset and write those features to disk on the server.

https://developers.arcgis.com/javascript/jssamples/gp_clipasync.html

http://resources.arcgis.com/en/help/main/10.2/#/Clip_and_ship/01540000035r000000/
0 Kudos
pankajpedram1
Emerging Contributor
Please find attachment
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Hi Deepika,

Here is an example using a feature layer and exporting to a shapefile through a button added to the info window.  The export is handled through a geoprocessing service.

Note:  it will take about 30-60 seconds for the zipped shapefile to be returned
0 Kudos
RamezRafatVolue
Emerging Contributor

The link does not work any more!? 

0 Kudos