npm.io
0.2.0 • Published 7 years ago

georaster-to-canvas

Licence
MIT
Version
0.2.0
Deps
0
Size
5 kB
Vulns
0
Weekly
0
Stars
3

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 });
});

Keywords