[GRASS5] r.in.gdal and colors

Eric G. Miller egm2 at jps.net
Wed Feb 5 22:23:39 EST 2003

On Wed, Feb 05, 2003 at 10:53:17AM -0500, Russell Nelson wrote:
> Moritz Lennert writes:
>  > Thanks that did it. Don't understand why I have to go through grey to get
>  > colors, but oh well...
> Makes no sense to me either.  If r.in.gdal splits an image up into R,
> G, and B, then it ought to set the colormap for those rasters to
> grey.  When would you ever want it otherwise??

AFAICT, r.in.gdal only writes a color map if the image source has a
color map.  This is not usually the case for RGB type images.
The default color map in GRASS is a rainbow...

echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 | reverse

More information about the grass-dev mailing list