#
ArcGIS
ArcGIS Online Health Dashboard
#
FeatureServer API GeoJSON
Obtaining GeoJSON endpoint:
- Go to dataset's FeatureServer page [example]
- Copy URL link from bottom of page [example]
- go to URL, click desired layer from Layer list, and copy URL [example]
- append parameters (see reference below) [example]
#
Parameters
#
For Entire Dataset
/query?f=geojson&outFields=*&where=1=1
#
Set Maximum Features
&resultRecordCount=1
#
Spatial Intersection
/query?f=geojson&outFields=*&returnGeometry=true&inSR=4326&spatialRel=esriSpatialRelIntersects&geometryType=[$esriGeometryType]&geometry=[$esriGeometry]
#
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:
- https://github.com/pozi/PoziConnectConfig/blob/master/Moorabool/SQL/Moorabool%20PC%20Council%20Rural%20Address.vrt
- https://github.com/pozi/PoziConnectConfig/blob/master/Central%20Goldfields/SQL/Central%20Goldfields%20PC%20Council%20Rural%20Address.vrt