[GRASS5] r.in.gdal and colors

Moritz Lennert mlennert at club.worldonline.be
Wed Feb 5 10:47:31 EST 2003


> Moritz Lennert writes:
>  > http://earthobservatory.nasa.gov/Newsroom/NewImages/Images/PIA03346.jpg,
>  > and import it with r.in.gdal which gives me 3 maps. However, they all
> are
>  > in different colors than the original image. Is there a quick way to
>  > recreate these colors, or does it have to be done "by hand".
>
> Have you tried this advice from Glynn?
>
>  > the colour tables with e.g "r.colors img.1 color=grey". You can
>  > display the layers with e.g. "d.rgb r=img.1 g=img.2 b=img.3".


Thanks that did it. Don't understand why I have to go through grey to get
colors, but oh well...

>
> The thing I'd like to know is how to get them back into one map again.
>

r.composite

Moritz




More information about the grass-dev mailing list