fulcrum-ags-import
v1.3.0
Published
Import an ArcGIS Server service layer into Fulcrum, creating both the form and associated records.
Readme
Fulcrum AGS Import
Import an ArcGIS Server service layer into Fulcrum, creating both the form and associated records.
Installation
npm install -g fulcrum-ags-importUsage
fulcrum-ags-import <map_service_layer_url> [options]You'll need to have your Fulcrum API key set in either a FULCRUM_API_KEY environment variable or passed as a parameter: --api-key=abc123
A simple example that imports all features:
fulcrum-ags-import http://gis-web.co.union.nc.us/arcgis/rest/services/PWGIS_Web/Operational_Layers/MapServer/5You can skip importing some fields:
fulcrum-ags-import http://gis-web.co.union.nc.us/arcgis/rest/services/PWGIS_Web/Operational_Layers/MapServer/5 --skip-fields=Northing,EastingAdd a where clause to filter your features. Any SQL supported by ArcGIS Server should work here:
fulcrum-ags-import http://gis-web.co.union.nc.us/arcgis/rest/services/PWGIS_Web/Operational_Layers/MapServer/5 --where='manhole_depth<6'