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

revert: "chore: upgrade gdal from 3.6.1 to 3.7.0 (#479)" #536

Merged
merged 2 commits into from
Jul 5, 2023
Merged
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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.7.0
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.6.4

RUN apt-get update
# Install pip
Expand Down
4 changes: 4 additions & 0 deletions scripts/gdal/gdal_preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
# Ensure all CPUs are used for gdal translate
"-co",
"num_threads=all_cpus",
# Until GDAL 3.7.x this needs to be set as well as num_threads (https://github.com/OSGeo/gdal/issues/7478)
"--config",
"gdal_num_threads",
"all_cpus",
# If not all tiles are needed in the tiff, instead of writing empty images write a null byte
# this significantly reduces the size of tiffs which are very sparse
"-co",
Expand Down