UNPKG

836 BMarkdownView Raw
1# ags-download
2
3Download layers or a map service from an ESRI ArcGIS server as geoJSON.
4
5### Installation
6 ```
7 $ npm install ags-download -g
8 ```
9
10### Usage
11```
12$ ags-download -u <ags_layer_url> [-f <path_to_save> -s <output_srid>]
13```
14#### Examples
15
16Download all layers in a MapServer to the current directory with source srid
17```
18$ ags-download -u http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/RCO/MapServer
19```
20
21Download individual layer to /tmp with srid of EPSF:4326
22```
23$ ags-download -u http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/RCO/MapServer/0 -f /tmp -s 4326
24```
25
26## License
27Copyright (c) 2013 Matthew McFarland
28Licensed under the MIT license.
29
30[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/db66748bfffb87878207d610a8e2dc8e "githalytics.com")](http://githalytics.com/mmcfarland/ags-download)
31
\No newline at end of file