[Gdal-dev] GDAL 1.2.0 Beta Release - Error

Markus Neteler neteler at itc.it
Thu Mar 4 09:56:31 EST 2004


On Wed, Mar 03, 2004 at 02:29:14PM -0500, Frank Warmerdam wrote:
> Lorenzo Moretti wrote:
> >OK Excuse me for method but I want to understand.
> >
> >In old gdal 1.1.8 I had the tiff files with number suffix
> >filetiff.1
> >filetiff.2
> >filetiff.3
> >filetiff.4
> >
> >and after I choose the order for my BGR (blue-red-green for quickbird). 
> >I choose 321 for my output.
> >
> > From gdal 1.1.9 the tiff file have a color suffix.
> >filetiff.red
> >filetiff.green
> >filetiff.blue
> >filetiff.alpha
> 
> Lorenzo,
> 
> As a convenience someone changed r.in.gdal to use band names derived
> from the apparent photometric interpretation. 

I did. Works except for Quickbird.
The names are fetched via GDAL.
Maybe ENVI contains a trick such as "if Quickbird, flip red/blue names"?

> I believe the photometric
> interpretation improved between GDAL 1.1.8 and 1.1.9 which is why
> changing gets the altered names.

r.in.gdal ChangeLog:
 2003-03-13 13:49  markus
        * main.c (1.19): grey_scale_colors for Byte data, color name
        support for known color names (Red, Green, Blue)

Markus




More information about the Gdal-dev mailing list