diff --git a/CHANGELOG.md b/CHANGELOG.md index bfe37e179..1bc74f2d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - [#667](https://github.com/LayerManager/layman/issues/667) Fix broken statistics during normalization of float rasters with big nodata value. - [#668](https://github.com/LayerManager/layman/issues/668) Fix broken size of raster in EPSG:3034 during normalization. - [#669](https://github.com/LayerManager/layman/issues/669) Fix slow publication of vector layers metadata to Micka. The reason was slow guessing of [`spatial_resolution.scale_denominator`](doc/metadata.md#spatial_resolution) metadata property. +- [#697](https://github.com/LayerManager/layman/issues/697) Normalized GeoTIFF files are created as BigTIFF ## v1.17.0 2022-07-21 diff --git a/doc/data-storage.md b/doc/data-storage.md index ddaca4db5..4d8c825c2 100644 --- a/doc/data-storage.md +++ b/doc/data-storage.md @@ -35,7 +35,7 @@ Subsequently, asynchronous tasks ensure following steps: - data file chunks and completed data files are saved to [filesystem](#filesystem) (if sent [asynchronously](async-file-upload.md)) - vector data files are imported to [PostgreSQL](#postgresql) - PostgreSQL table with vector data is registered to [GeoServer](#geoserver) -- raster files are normalized and compressed to GeoTIFF with overviews (pyramids) +- raster files are normalized and compressed to BigTIFF GeoTIFF with overviews (pyramids) - normalized GeoTIFF is registered to [GeoServer](#geoserver) - SLD file is saved to [GeoServer](#geoserver) and registered to WMS layer - QGS file is created on [filesystem](#filesystem) and through QGIS server registered to [GeoServer](#geoserver) diff --git a/src/layman/layer/filesystem/gdal.py b/src/layman/layer/filesystem/gdal.py index 912a45d88..ce90f7f0a 100644 --- a/src/layman/layer/filesystem/gdal.py +++ b/src/layman/layer/filesystem/gdal.py @@ -343,6 +343,7 @@ def compress_and_mask_raster_file_async(*, output_file, input_file_path, color_i bash_args = [ 'gdal_translate', '-co', 'compress=lzw', + '-co', 'BIGTIFF=YES', ] # GeoServer can visualize grayscale raster with partial opacity from alpha band, but it has unstable contrast.