Skip to content

PB-1579: add support for local BigTIFF#1334

Merged
pakb merged 1 commit intodevelopfrom
feat-PB-1579-local-bigtiff-support
May 12, 2025
Merged

PB-1579: add support for local BigTIFF#1334
pakb merged 1 commit intodevelopfrom
feat-PB-1579-local-bigtiff-support

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented May 9, 2025

we were missing the little endian signature for BigTIFF (which is different than normal TIFFs) to be able to parse a local BigTIFF file.

It was working fine with URLs already because we do not test against little endian signature in this case, and let GeoTIFF.js library do its magic, so nothing to change there.

Test link

@cypress
Copy link

cypress bot commented May 9, 2025

web-mapviewer    Run #5291

Run Properties:  status check passed Passed #5291  •  git commit 5c3fe3d693: PB-1579: add support for local BigTIFF
Project web-mapviewer
Branch Review feat-PB-1579-local-bigtiff-support
Run status status check passed Passed #5291
Run duration 05m 46s
Commit git commit 5c3fe3d693: PB-1579: add support for local BigTIFF
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 251
View all changes introduced in this branch ↗︎

@pakb pakb force-pushed the feat-PB-1579-local-bigtiff-support branch 2 times, most recently from ba3af00 to c70ac90 Compare May 9, 2025 16:43
we were missing the little endian signature for BigTIFF (which is different than normal TIFFs) to be able to parse a local BigTIFF file.

It was working fine with URLs already because we do not test against little endian signature in this case, and let GeoTIFF.js library do its magic, so nothing to change there.
@pakb pakb force-pushed the feat-PB-1579-local-bigtiff-support branch from c70ac90 to 5c3fe3d Compare May 12, 2025 08:34
@pakb pakb requested review from schtibe and sommerfe May 12, 2025 09:11
Comment on lines +20 to +22
[0x49, 0x49, 0x2a, 0x00],
// BigTIFF
[0x49, 0x49, 0x2b, 0x00],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe create a const somewhere

@pakb pakb merged commit 4df94c1 into develop May 12, 2025
6 checks passed
@pakb pakb deleted the feat-PB-1579-local-bigtiff-support branch May 12, 2025 09:21
Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants