# ArcGIS

ArcGIS Online Health Dashboard

# FeatureServer API GeoJSON

Obtaining GeoJSON endpoint:

  1. Go to dataset's FeatureServer page [example]
  2. Copy URL link from bottom of page [example]
  3. go to URL, click desired layer from Layer list, and copy URL [example]
  4. append parameters (see reference below) [example]

# Parameters

[Example REST Services API]

# For Entire Dataset

/query?f=geojson&outFields=*&where=1=1

[Example]

# Set Maximum Features

&resultRecordCount=1

[Example]

# Spatial Intersection

/query?f=geojson&outFields=*&returnGeometry=true&inSR=4326&spatialRel=esriSpatialRelIntersects&geometryType=[$esriGeometryType]&geometry=[$esriGeometry]

[Example]

# Complete Reference

Esri ArcGIS REST APIs Documentation

# Examples

{
  "title": "Community Infrastructure Levy",
  "group": "Council Facilities and Services",
  "type": "GeoJSON",
  "config": {
    "spatial": {
      "url": "https://services3.arcgis.com/TJxZpUnYIJOvcYwE/arcgis/rest/services/CILZones/FeatureServer/0/query?f=geojson&outFields=*&where=1=1",
      "label": "DCP",
      "id": "$id"
    }
  },
  "opacity": 0.5,
}
{
  "title": "Applicable Community Infrastructure Levy",
  "icon": "img/map-icons/dollar4.svg",
  "type": "GeoJSON",
  "parent": "Whats Here",
  "showInLayerControl": false,
  "config": {
    "spatial": {
      "url": "https://services3.arcgis.com/TJxZpUnYIJOvcYwE/arcgis/rest/services/CILZones/FeatureServer/0/query?f=geojson&outFields=*&returnGeometry=true&inSR=4326&spatialRel=esriSpatialRelIntersects&geometryType=[$esriGeometryType]&geometry=[$esriGeometry]",
      "label": "DCP",
      "id": "$id"
    }
  }
}

# On Premise Integration

ArcGIS Online datasets can also be configured for use with Pozi Server using VRT configuration.

Examples: