0.2.0 • Published 5 years ago

georaster-to-canvas v0.2.0

Weekly downloads
309
License
MIT
Repository
github
Last release
5 years ago

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