Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bigtiff experiment #1157

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/gdal/gdal_preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Do not create BIGTIFF
# An error will be raise by GDAL if it fails creating a tiff > 4GB in size
"-co",
"bigtiff=no",
"bigtiff=yes",
# Always ignore existing overviews so they are not created from already compressed overviews
"-co",
"overviews=ignore_existing",
Expand Down
12 changes: 6 additions & 6 deletions scripts/gdal/tests/gdal_preset_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def test_preset_webp(subtests: SubTests) -> None:
with subtests.test():
assert "num_threads=all_cpus" in gdal_command

with subtests.test():
assert "bigtiff=no" in gdal_command
# with subtests.test():
# assert "bigtiff=no" in gdal_command

# Webp lossless
with subtests.test():
Expand Down Expand Up @@ -58,8 +58,8 @@ def test_preset_lzw(subtests: SubTests) -> None:
with subtests.test():
assert "num_threads=all_cpus" in gdal_command

with subtests.test():
assert "bigtiff=no" in gdal_command
# with subtests.test():
# assert "bigtiff=no" in gdal_command

with subtests.test():
assert "overviews=ignore_existing" in gdal_command
Expand Down Expand Up @@ -97,8 +97,8 @@ def test_preset_dem_lerc(subtests: SubTests) -> None:
with subtests.test():
assert "num_threads=all_cpus" in gdal_command

with subtests.test():
assert "bigtiff=no" in gdal_command
# with subtests.test():
# assert "bigtiff=no" in gdal_command

with subtests.test():
assert "overviews=ignore_existing" in gdal_command
Expand Down
Loading