My goal is process fifteen Landsat-8 scenes with three bands. I need to rescale the pixel depth from 16 bit to 8 bit, stack three bands and mosaic all them. This job must be making via open source solutions. Below is my checklist with all experiments that I’ve done thus far.
This is my command list for six scenes:
gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82180762013253LGN00_RGB654.TIF LC82180762013253LGN00_B6.TIF LC82180762013253LGN00_B5.TIF LC82180762013253LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82190752013244LGN00_RGB654.TIF LC82190752013244LGN00_B6.TIF LC82190752013244LGN00_B5.TIF LC82190752013244LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82190772013244LGN00_RGB654.TIF LC82190772013244LGN00_B6.TIF LC82190772013244LGN00_B5.TIF LC82190772013244LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82200742013251LGN00_RGB654.TIF LC82200742013251LGN00_B6.TIF LC82200742013251LGN00_B5.TIF LC82200742013251LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82200752013251LGN00_RGB654.TIF LC82200752013251LGN00_B6.TIF LC82200752013251LGN00_B5.TIF LC82200752013251LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82210752013242LGN00_RGB654.TIF LC82210752013242LGN00_B6.TIF LC82210752013242LGN00_B5.TIF LC82210752013242LGN00_B4.TIF When I run GDAL_MERGE.BAT, something strange occurs. The looping doesn’t work and the process stops after the first stacked image:
This is the link to Google Docs with full explanation: http://goo.gl/gP2zpD | PDF: http://goo.gl/bIwz0W
Thank you,
Jorge Santos | http://www.processamentodigital.com.br/
أكثر...
This is my command list for six scenes:
gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82180762013253LGN00_RGB654.TIF LC82180762013253LGN00_B6.TIF LC82180762013253LGN00_B5.TIF LC82180762013253LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82190752013244LGN00_RGB654.TIF LC82190752013244LGN00_B6.TIF LC82190752013244LGN00_B5.TIF LC82190752013244LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82190772013244LGN00_RGB654.TIF LC82190772013244LGN00_B6.TIF LC82190772013244LGN00_B5.TIF LC82190772013244LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82200742013251LGN00_RGB654.TIF LC82200742013251LGN00_B6.TIF LC82200742013251LGN00_B5.TIF LC82200742013251LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82200752013251LGN00_RGB654.TIF LC82200752013251LGN00_B6.TIF LC82200752013251LGN00_B5.TIF LC82200752013251LGN00_B4.TIF gdal_merge.bat -separate -of GTiff -co TFW=YES -o LC82210752013242LGN00_RGB654.TIF LC82210752013242LGN00_B6.TIF LC82210752013242LGN00_B5.TIF LC82210752013242LGN00_B4.TIF When I run GDAL_MERGE.BAT, something strange occurs. The looping doesn’t work and the process stops after the first stacked image:
This is the link to Google Docs with full explanation: http://goo.gl/gP2zpD | PDF: http://goo.gl/bIwz0W
Thank you,
Jorge Santos | http://www.processamentodigital.com.br/
أكثر...