Last active
August 29, 2015 14:19
-
-
Save dayne/482b0c6840f9e368e1da to your computer and use it in GitHub Desktop.
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
gdal_translate -b 4 /mnt/gis/scratch/dbroders/nrt_river_aerial/download/Chena_4_15_15v3.tif Chena_4_15_15v3.mask.tif | |
gdal_translate -co TILED=YES -co COMPRESS=DEFLATE -b 1 -b 2 -b 3 /mnt/gis/scratch/dbroders/nrt_river_aerial/download/Chena_4_15_15v3.tif Chena_4_15_15v3.rgb.tif | |
/home/dbroders/processing-utils/bin/masker Chena_4_15_15v3.rgb.tif Chena_4_15_15v3.mask.tif Chena_4_15_15v3.mask.rgb.tif | |
add_overviews.rb Chena_4_15_15v3.mask.rgb.tif | |
gdal_translate -co TILED=YES -co COMPRESS=JPEG -co COPY_SRC_OVERVIEWS=YES -co PHOTOMETRIC=YCBCR -co JPEG_QUALITY=90 Chena_4_15_15v3.mask.rgb.tif Chena_4_15_15v3-jpg.tif |
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
cd /mnt/gis/scratch/dbroders/nrt_river_aerial/output/Chena_4_15_15v3 | |
gdal_translate -co TILED=YES -co COMPRESS=JPEG -co COPY_SRC_OVERVIEWS=YES -co PHOTOMETRIC=YCBCR -co JPEG_QUALITY=90 Chena_4_15_15v3.mask.rgb.tif Chena_4_15_15v3-jpg.tif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment