georaster-to-canvas

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i georaster-to-canvas

Weekly Downloads

3,235

Version

0.2.0

License

MIT

Unpacked Size

4.92 kB

Total Files

4

Last publish

Collaborators

  • danieljdufour