Re: [gdal-dev] RGB bands

2011-03-30 Thread Emilio de Torres Fernández
Thanks Chaitanya, I did $ gdal_translate src.tif dst.tif -b 3 -b 2 -b 1 co PHOTOMETRIC=RGB to create the new GeoTIFF with the order of the bands modified and the color interpretation assigned to them. Best regards. El mar, 29-03-2011 a las 17:13 +0530, Chaitanya kumar CH escribió: > E

Re: [gdal-dev] RGB bands

2011-03-29 Thread Chaitanya kumar CH
Emilio, You can create a new GeoTIFF with just the three bands you need using gdal_translate utility with the -b option. http://www.gdal.org/gdal_translate.html 2011/3/29 Emilio de Torres Fernández > Hello, > > I have a GeoTIFF image with 5 bands and I need to transform it to a > GeoTIFF with t

[gdal-dev] RGB bands

2011-03-29 Thread Emilio de Torres Fernández
Hello, I have a GeoTIFF image with 5 bands and I need to transform it to a GeoTIFF with these values: - Red = band 3. - Green = band 2. - Blue = band 1. How can I do that? Would I need to delete bands 4 and 5? Best regards. ___ gdal-dev mailing list g