[GRASS-user] Grass 7.0 Gui interface, in Ubuntu. Problems with creation of custom colortables for raster

Veronica Andreo veroandreo at gmail.com
Wed Aug 5 05:35:50 PDT 2015


Hi

Thanks, Vero
> unfortunately I don't know how to create colormap rules file without GUI
> which is not working...
>
> Do you know the range of values your map takes, right?? So, let's say it
goes from 0 to 100, just split values as you wish and assign colors, it
will consider those intervals. Example:

0 black
20 yellow
40 orange
60 red
80 green
100 blue

There are a lot of examples here:
http://grass.osgeo.org/grass71/manuals/r.colors.html


> And by the way, I need to change break values rather than apply certain
> colors to make maps visually comparble. Maybe there is a way to do it with
> command line?


you set the color table for one map (map1), and then, to make them visually
comparable, you set the other maps color table to the first map, like this:

r.colors map=map2,map3,map4 raster=map1

so, all maps will take the color table of map1.

Cheers,
Vero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150805/7e7fe3e7/attachment.html>


More information about the grass-user mailing list