2.1.0 • Published 7 years ago

arcgis-parser v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

ArcGIS Parser

Build Status npm version Coverage Status MIT licensed ES5

Standard - JavaScript Style Guide

Parser for ArcGIS REST Services to human friendly JSON.

Install

npm

$ npm install --save arcgis-parser

web

<script src="https://wzrd.in/standalone/arcgis-parser@latest"></script>

Quickstart

const url = 'https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer?f=pjson'
const response = await fetch(url)
const json = await response.json()
const metadata = arcgisParser(url, json)
//=metadata

MapServer?f=pjson

{
 "currentVersion": 10.3,
 "serviceDescription": "This map is in ...",
 "mapName": "Layers",
 "description": "This map presents low-resolution ...",
 "copyrightText": "Copyright:© 2013 ESRI, i-cubed, GeoEye",
 "supportsDynamicLayers": false,
 "layers": [
  {
   "id": 0,
   "name": "World Imagery",
   "parentLayerId": -1,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  }
 ],
...

capabilities

2.1.0

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago