[gdal-dev] File Size Output is wrong --
Clive Swan
cliveswan at gmail.com
Mon Dec 12 08:47:06 PST 2022
Greetings,
I am writing the output on the local AWS Instance to avoid write
permissions error, then copying to a Bucket.
I get an error message if I leave out --config GDAL_SWATH_SIZE 1000000
I want to merge File A into File B, updating the 6GB file. The output is
622MB NOT 6GB??
(A) /vsis3/summer/1/coastal-2020.tif = 6GB
(B) /vsis3/summer/2/coastal-2020.tif = 622MB
Is this wrong??
(A) (B)
gdalbuildvrt -o /data/coastal-2020.vrt /vsis3/summer/1/coastal-2020.tif /
vsis3/summer/2/coastal-2020.tif
The output in /data/coastal-2020.tif should be 6GB
gdal_translate /data/coastal-2020.vrt /data/coastal-2020.tif -co
BIGTIFF=YES -co COMPRESS=LZW - -co NUM_THREADS=ALL_CPUS --config
CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE YES --config GDAL_SWATH_SIZE
1000000
##--config AWS_ACCESS_KEY_ID set in ./config
##--config AWS_SECRET_ACCESS_KEY set in ./config
--
Regards,
Clive Swan
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221212/4ca85bd1/attachment-0001.htm>
More information about the gdal-dev
mailing list