[winGRASS] Re: [GRASS-user] Importing GLOBE DEM data

Moritz Lennert mlennert at club.worldonline.be
Sat Oct 28 11:37:04 EDT 2006


(Please continue to send your mails to the users list.)

gotnidea! Business Development Centre wrote:
> Yes by zooming it to selected map I could generate the outline of
> what I find to be a map of Gujarat. But it is just in two colours:
> Black and White.

I don't get the same. Did you have the .clr file in the same directory
as the .bil file when you imported that with r.in.gdal ?

> How can I get colours?

As Markus suggested, you can use r.colors.

> The documentation refers to r.colors. Which I am able to get from
> Raster>>Manage Map Colors>>... Now which option should I undertake
> and how can I link it to the color file I have downloaded.

I am sorry, but this again sounds like you did not read the manual (I am 
not saying you didn't, but the way you formulate your question just 
makes it sound that way). Did you try to run the command ? With which 
settings ? Please try to work out these things on your own, before you 
ask others.

The manual:
http://grass.itc.it/grass63/manuals/html63_user/r.colors.html (or just 
push 'help' button in the module window).

In brief, to do what Markus suggested:

set

map=YourMap
rules=terrain


To see the new colors applied, you have to push the "Redraw all layers" 
button (2nd from the left) in the Map Display.

Moritz




More information about the grass-user mailing list