]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/files/default/osstvw_process
imagery: increase cache memory for osstvw_process
[chef.git] / cookbooks / imagery / files / default / osstvw_process
index de6bc52c8121d6c34edb48fc716fecb134a0e61d..d789e04c948d777b6e76bae44dbd1df0a86e8de4 100755 (executable)
@@ -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