[GRASS-user] automated import via r.in.gdal

Markus Neteler neteler at itc.it
Tue Sep 4 16:24:27 EDT 2007



Timmie wrote:
> 
> Hello,
> I have a bunch of landsat images which I would like to import all into 
> one location. The files are all in the same directory.
> ...
> 

I have uploaded my scripts to bulk process LANDSAT-TM5/7 
scenes from GLCF Maryland to

http://www.grassbook.org/examples_menu3rd.php
    * glcf_landsat7_for_NC_SPM_WAKE_process.sh (reproject, spatial subset
with GDAL)
    * glcf_landsat5_for_NC_SPM_WAKE_import.sh (import into GRASS)
    * glcf_landsat7_2000_for_NC_SPM_WAKE_import.sh (import into GRASS)
    * glcf_landsat7_2002_for_NC_SPM_WAKE_import.sh (import into GRASS)

Maybe useful for you... You can then run something like:

i.landsat.rgb b=lsat5_1987.10 g=lsat5_1987.20 r=lsat5_1987.30
i.landsat.rgb b=lsat7_2000.10 g=lsat7_2000.20 r=lsat7_2000.30
i.landsat.rgb b=lsat7_2002.10 g=lsat7_2002.20 r=lsat7_2002.30

d.rgb b=lsat5_1987.10 g=lsat5_1987.20 r=lsat5_1987.30
d.rgb b=lsat7_2000.10 g=lsat7_2000.20 r=lsat7_2000.30
d.rgb b=lsat7_2002.10 g=lsat7_2002.20 r=lsat7_2002.30

to see them in rather natural colors.

Markus
-- 
View this message in context: http://www.nabble.com/automated-import-via-r.in.gdal-tf4378395.html#a12485887
Sent from the Grass - Users mailing list archive at Nabble.com.




More information about the grass-user mailing list