Friday, 29 April 2016

qgis - How to merge raster scenes while maintaining small file size?


I have 4 scenes of raster images that I need to merge. Average size of the scenes is only 60 MB, but the merged scene ended up at 6 GB in file size. Does anyone know why this happened?




Answer



Have you tried adding compression to the creation options, e.g.


gdal_merge.py input1.tif input2.tif -o output.tif -co 'COMPRESS=LZW' 

No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...