Colortables for GRASS 5 and greater are supported.
Format of the color file, which is located in location/mapset/colr/mapname:
The first line is a % character and two numbers indicating the minimum and maximum data values which have colors. Note that in JGrass after the range values we add a third value for alpha support.
After the first line, the list of color rules appears, that can be of the following formats:
value1:r:g:b value2:r:g:b
interpolation of colors between the two values with the two colorsvalue1:grey value2:grey
value1:r:g:b
assumption that it means that value1 == value2nv:r:g:b
novalues could also have color with such a rule.
|
|
|
|
|
|