Created
May 30, 2015 01:41
-
-
Save andybell/39ed45b38c3f2694cd02 to your computer and use it in GitHub Desktop.
Batch GDAL tif to geotif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#copies all tifs in a folder and saves them as compressed geotifs | |
mkdir geotifs | |
for file in *.tif | |
do | |
#gdal_translate | |
gdal_translate -of GTiff -co "COMPRESS=LZW" $file geotifs/$file | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment