From db8be8731dfa917ed92371301ec1ccd2b5471ff4 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 30 May 2016 13:35:21 +0100 Subject: [PATCH] imagery: increase cache memory for osstvw_process --- cookbooks/imagery/files/default/osstvw_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/imagery/files/default/osstvw_process b/cookbooks/imagery/files/default/osstvw_process index de6bc52c8..d789e04c9 100755 --- a/cookbooks/imagery/files/default/osstvw_process +++ b/cookbooks/imagery/files/default/osstvw_process @@ -47,4 +47,4 @@ find "${osstvw_process_dir}" -maxdepth 1 -name '*.tif' -printf '%f\0' | xargs -0 echo Now create the VRT and external overview layers echo 1: gdalbuildvrt -resolution highest -hidenodata -vrtnodata "209" ossv-2016-04-combined.vrt 2016-04/*.tif -echo 2: gdaladdo -ro --config COMPRESS DEFLATE --config COMPRESS_OVERVIEW DEFLATE --config ZLEVEL 9 --config BIGTIFF_OVERVIEW IF_SAFER --config GDAL_TIFF_OVR_BLOCKSIZE 512 -r average ossv-2016-04-combined.vrt 4 16 64 256 1024 4096 +echo 2: gdaladdo --config GDAL_CACHEMAX=16000 -ro --config COMPRESS DEFLATE --config COMPRESS_OVERVIEW DEFLATE --config ZLEVEL 9 --config BIGTIFF_OVERVIEW IF_SAFER --config GDAL_TIFF_OVR_BLOCKSIZE 512 -r average ossv-2016-04-combined.vrt 4 16 64 256 1024 4096 -- 2.39.5