This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
ags-download with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Download layers or a map service from an ESRI ArcGIS server as geoJSON.
$ npm install ags-download -g
$ ags-download -u <ags_layer_url> [-f <path_to_save> -s <output_srid>]
Download all layers in a MapServer to the current directory with source srid
$ ags-download -u http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/RCO/MapServer
Download individual layer to /tmp with srid of EPSF:4326
$ ags-download -u http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/RCO/MapServer/0 -f /tmp -s 4326
Copyright (c) 2013 Matthew McFarland
Licensed under the MIT license.