Geographic Information Systems Asked on December 25, 2021
I have two raster tapes (GeoTIFs) that I want to merge into one GeoTIF with two bands. I used this command in the shell: gdal_merge.py -separate -o myoutput.tif *.cropped.tif
, which was shown here.
The original GeoTIFs had a size of about 200 MG each, the merged GeoTIF had a size of 6 GB.
Does anyone have an idea what this might be about and what I can do to reduce the size?
When creating a new GeoTiff Gdal takes no account of how the input tiff was processed and writes your new file out as raw data.
You need to add some creation options to compress and tile it. See Paul Ramsey's compression for dummies for more details.
gdal_merge.py -co COMPRESS=deflate -co TILED=YES -separate -o myoutput.tif *.cropped.tif
Answered by Ian Turton on December 25, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP