Skip to content

Conversation

jbo023
Copy link

@jbo023 jbo023 commented Sep 19, 2025

Hi,

we are using Geotiffjs to show large cloud optimized geotiffs in a webmap using openlayers.

We unfortunatly saw really bad performance with larger Datasets with millions of tiles. After some profiling and debugging we found out that geotiff.js transfers the TileOffsets Array to each decoding worker. This produced a visible lag viewing a Geotiff with 1.5mio tiles at the lowest level.

Our fix just does not transfer the TileOffsets to the decoding worker. We could not find any usage of the Array in the "worker". Does the fix make sense or are the TileOffsets used anywhere else in the workers, we did not see ?

Best,
Jannes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant