GeoTIFF / georaster

Wrapper around Georeferenced Rasters like GeoTIFF and soon JPG and PNG that provides a standard interface
Apache License 2.0
81 stars 32 forks source link

load from simple object on front-end, georaster not work with geoblaze #90

Open RaulPadillaCalderon opened 3 months ago

RaulPadillaCalderon commented 3 months ago

When i create a georaster using:

const parseGeoraster = require("georaster");
const values = [ [ [0, 1, 2], [0, 0, 0], [2, 1, 1] ] ];
const noDataValue = 3;
const projection = 4326;
const xmin = -40;
const ymax = 14;
const pixelWidth = 0.00001;
const pixelHeight = 0.00001;
const metadata = { noDataValue, projection, xmin, ymax, pixelWidth, pixelHeight };
const georaster = parseGeoraster(values, metadata);

and then use the result with geoblaze:

geoblaze.max(georaster);

i have this error:

[geoblaze] error in get.module.js