Public
Edited
Jan 13, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Out2 = response.features.map((f) =>
ArcGIS2022Spatial.toGeographic(ArcGIS2022.arcgisToGeoJSON(f))
)
Insert cell
Insert cell
meh = ArcGIS2022.arcgisToGeoJSON(
response.operationalLayers[1].featureCollection.layers[0].featureSet
)
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Out = ArcGIS2022Spatial.toGeographic(meh)
Insert cell
Insert cell
Insert cell
Insert cell
ArcGIS = require('https://bundle.run/terraformer-arcgis-parser@1.1.0')
Insert cell
ArcGIS2022 = require("@terraformer/arcgis@2.1.1/dist/t-arcgis.umd.js")
Insert cell
ArcGIS2022Spatial = import(
"https://unpkg.com/@terraformer/spatial@2.1.1/dist/t-spatial.esm.js?module"
)
Insert cell
Insert cell
// used terraformer instead of these libraries
//epsg = require('https://bundle.run/epsg@0.5.0')
//reproject = require('https://bundle.run/reproject@1.2.5')
// reproject.toWgs84(resultsList,undefined, epsg)
// "crs": {
// "type": "name",
// "properties": {
// "name": "urn:ogc:def:crs:EPSG::3857"
// }
// }
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more