Platform
Resources
Pricing
Sign in
Get started
Thad Kerosky
Workspace
Fork
Public
By
Thad Kerosky
Edited
Jan 13, 2023
Fork of
ArcGIS JSON Parser to GeoJSON
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.
Try it for free
Learn more
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
todoDropdown
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arcgisurl
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
response
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Out2
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
meh
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Out
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
resultsList
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
map
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ArcGIS
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ArcGIS2022
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ArcGIS2022Spatial
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
L
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML