Unlisted
Edited
Sep 24, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof button = Inputs.button("Download PBF file")
Insert cell
{
button;
if (file) {
return downloadBlob(
buffer,
file.name.replaceAll(".json", "") + ".pbf",
"application/octet-stream"
);
}
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof geojsonButton = Inputs.button("Download GeoJson file")
Insert cell
{
geojsonButton;
if (pbfUpload) {
return downloadBlob(
JSON.stringify(geojson),
pbfUpload.name.replaceAll(".pbf", "") + ".geojson",
"application/octet-stream"
);
}
}
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.
Learn more