An open API service indexing awesome lists of open source software.

https://github.com/gavinr-maps/export-feature-service-to-shapefile

Demo showing how to export a feature service to a shpefile (or other types)
https://github.com/gavinr-maps/export-feature-service-to-shapefile

arcgis arcgis-js-api export export-data shapefile

Last synced: 2 months ago
JSON representation

Demo showing how to export a feature service to a shpefile (or other types)

Awesome Lists containing this project

README

          

# Export a Feature Service to Shapefile

Export a feature service to a shapefile, CSV, Excel, and other formats.

Demo by Gavin Rehkemper

[Click here to see the live demo](https://gavinr-maps.github.io/export-feature-service-to-shapefile/)

## How it works

This is like programmatically clicking the "Export" button in ArcGIS Online (or ArcGIS Enterprise). You must be logged in, and it will create a new item for the export, and then you can download it. You can do this all in one step within your JavaScript, which this sample demonstrates.

## Quick Start

To run the demo, in a terminal run:

```bash
npx serve
```