You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this has been asked before, I searched and could not find it. Thank you for the great library. I have a BigTiff file that is 21GB. I can open it in QGIS and read it with gdal etc without a problem. But due to the 4gb limitation of ArrayBuffer I don't understand how to read it using geotiff.js, for example:
> new Uint8Array(new ArrayBuffer(4294967296))
Uint8Array(4294967296)
is ok but
> new Uint8Array(new ArrayBuffer(4294967297))
Uncaught RangeError: Invalid typed array length: undefined
at new Uint8Array (<anonymous>)
throws an exception. It seems like this library is designed to load an entire file into a single ArrayBuffer, as opposed to being passed a file descriptor and reading the parts it needs into memory as needed, is that correct? If so, what is the point of BigTiff support if files larger than 4gb cannot be read? Thank you
The text was updated successfully, but these errors were encountered:
Sorry if this has been asked before, I searched and could not find it. Thank you for the great library. I have a BigTiff file that is 21GB. I can open it in QGIS and read it with gdal etc without a problem. But due to the 4gb limitation of ArrayBuffer I don't understand how to read it using geotiff.js, for example:
is ok but
throws an exception. It seems like this library is designed to load an entire file into a single ArrayBuffer, as opposed to being passed a file descriptor and reading the parts it needs into memory as needed, is that correct? If so, what is the point of BigTiff support if files larger than 4gb cannot be read? Thank you
The text was updated successfully, but these errors were encountered: