georaster-to-canvas
v0.2.0
Published
Converts a GeoRaster into a Canvas
Downloads
18,802
Maintainers
Readme
georaster-to-canvas
Converts a GeoRaster into a Canvas
usage
const geoblaze = require("geoblaze");
const toCanvas = require("georaster-to-canvas");
const url = "https://s3.amazonaws.com/geoblaze/wildfires.tiff";
geoblaze.load(url).then(georaster => {
const canvas = toCanvas(georaster, { height: 500, width: 500 });
});