Open
Description
Hello,
I get the following error when I try to load ce24e6fd-d4aa-4922-a91b-06c327a5c99b.tiff:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'offset')
at blockedsource.js:271:29
at Array.map (<anonymous>)
at BlockedSource.readSliceData (blockedsource.js:259:19)
at BlockedSource._callee$ (blockedsource.js:160:17)
at tryCatch (blockedsource.js:2:1)
at Generator.<anonymous> (blockedsource.js:2:1)
at Generator.next (blockedsource.js:2:1)
at asyncGeneratorStep (blockedsource.js:2:1)
at _next (blockedsource.js:2:1)
The version that I am using is v2.0.7. Here is a code snippet to reproduce the issue:
let tiff = await GeoTIFF.fromUrl("./data/ce24e6fd-d4aa-4922-a91b-06c327a5c99b.tiff");
// throws """TypeError: Cannot read properties of undefined (reading 'offset')"""
let ifd = await tiff.requestIFD(0);
I am not 100% sure, but the current < top
condition here might be the cause (should it be current <= top
?). Could you please help me fix the issue?
The following issues might be related to this one:
- Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'offset') blockedsource.js #262 (comment) (fixed by v1.0.9)
- Issue of calling readRasters() #316 (comment) (v2.0.7 can load the attached file)
Metadata
Metadata
Assignees
Labels
No labels