Hello,
I need to let my users export data from an ArcGIS Online FeatureService as a shapefile.
I am aware of solutions based on the shp-write JS library. However, the process of converting ArcGIS JSON to geojson and then exporting this is way too slow and buggy. The shp-write library do not have proper support for saving multiple polygons in one shapefile.
I have stumpled upon this: https://developers.arcgis.com/rest/analysis/api-reference/extract-data.htm
This seems to be exactly what I need. Is it possible to call this from the ArcGIS JS API?
The REST API refers to an "analysis url", for example: http://<analysis url>/ExtractData/submitJob
Is it possible to get such a thing for ArcGIS Online, or is it limited to on premise ArcGIS Server solutions?