Published
Edited
Feb 3, 2022
2 forks
Importers
3 stars
Insert cell
# Display a GeoTIFF File
Insert cell
plottyRenderer(data, 255, 1, "noirBlanc")
Insert cell
data = rasters[0]
Insert cell
rasters = image.readRasters()
Insert cell
image = tiff.getImage()
Insert cell
tiff = FileAttachment("RAMP2_DEM_exageration200_low_crop.tif")
.arrayBuffer()
.then((buffer) => GeoTIFF.fromArrayBuffer(buffer));
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
plotty = require("plotty@0.3.1/dist/plotty.js")
Insert cell
GeoTIFF = require("geotiff")
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