You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

arcgis-parser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcgis-parser

Parser for ArcGIS REST Services to human friendly JSON.

2.1.0
latest
npm
Version published
Maintainers
1
Created
Source

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

Keywords

gis

FAQs

Package last updated on 27 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts