ArcGIS JSON format parser and converter
This package is part of the Terraformer project.
$ npm install terraformer-arcgis-parser
In the browser, Terraformer is required.
You can use Bower to install the components if you like or download them and host them yourself.
$ bower install terraformer-arcgis-parser
For full documentation check out the offical website.
var ArcGIS = require'terraformer-arcgis-parser';// parse ArcGIS JSON, convert it to a Terraformer.Primitive (GeoJSON)var primitive = ArcGISparsex:"-122.6764"y:"45.5165"spatialReference:wkid: 4326;// take a Terraformer.Primitive or GeoJSON and convert it back to ArcGIS JSONvar point = ArcGISconvert"type": "Point""coordinates": 45.5165 -122.6764;
<!-- Load the main Terraformer library --><!-- Load the ArcGIS Parser --><!-- Use it! -->
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.