Platform
Resources
Pricing
Sign in
Get started
thometnanni
Workspace
Fork
Public
By
Giacomo Nanni
Edited
Jan 13
Fork of
Export Data from OpenStreetMaps
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
bbox
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
L
=
{
const
L
=
await
require
(
"leaflet@1/dist/leaflet.js"
)
;
if
(
!
L
.
_style
)
{
const
href
=
await
require
.
resolve
(
"leaflet@1/dist/leaflet.css"
)
;
document
.
head
.
appendChild
(
(
L
.
_style
=
html
`<link href=${
href
} rel=stylesheet>`
)
)
;
}
return
L
;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
customZoom
=
{
return
17
;
return
Math
.
round
(
Math
.
min
(
24
,
Math
.
max
(
17
,
17
+
Math
.
log
(
zoom
-
13
)
)
)
)
;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
coordinates
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
layers
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
baseLayers
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
Unpin
Add comment
Select
Duplicate
Copy link
Embed
Delete
saveBBoxButton
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
map
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fetchAndSaveAllButton
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
queryData
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
openImageButton
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
allData
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
L
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
query
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildings
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildingsData
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
tileServer
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
sec
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
lonlat_to_xyz
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
radians
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
x_to_lon_edges
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
mercatorToLat
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
y_to_lat_edges
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
tile_edges
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
topLeft
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
bottomRight
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
extent
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
customZoom
Unpin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
urls
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
tileSize
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
numXTiles
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
numYTiles
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
stitchedCanvas
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
fetchAndSaveAllData
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
bbox
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
center
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
zoom
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
osmtogeojson
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
GeoTIFF
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
JSZip
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
JavaScript
Markdown
HTML
JavaScript
Markdown
HTML