Published
Edited
Apr 18, 2019
1 fork
2 stars
Insert cell
Insert cell
url = "https://s3.amazonaws.com/geotiff.js/geotiff.bundle.min.js"
Insert cell
Insert cell
original_values = [1, 2, 3, 4, 5, 6, 7, 8, 9]
Insert cell
metadata = { return { "height": 3, "width": 3 } }
Insert cell
new_geotiff_as_binary_data = GeoTIFF.writeArrayBuffer(original_values, metadata)
Insert cell
Insert cell
Insert cell
viewof analyze = {
const a = html`<a target="_blank"><button style="height: 5rem; width: 50rem;">Analyze with GeoTIFF.io</button></a>`;
a.href = "https://app.geotiff.io?url=" + encodeURIComponent(dataurl);
return a;
}
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