geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
Hi, I am encountering a case in which readRasters is failing due to encountering an undefined block during readSliceData. An extra check that each block is present in the Map resolves the issue and allows the image channels to load successfully.
Hi, I am encountering a case in which
readRasters
is failing due to encountering an undefined block duringreadSliceData
. An extra check that each block is present in the Map resolves the issue and allows the image channels to load successfully.The full error stack: