[GRASS-dev] r.colors -a rule sorting
Hamish
hamish_b at yahoo.com
Mon Dec 1 23:25:41 EST 2008
Hi,
I am just trying out the new 'r.colors -a'. Results look good, visually
matches 'r.mapcalc abs($MAP)' + 'r.colors -g' exactly.
One thing I notice in the colr/ file, the positive/negative rules are interleaved:
====
nv:255
*:255
1:0:0:255 1.1457610996:0:7:255
-1.1457610996:0:7:255 -1:0:0:255
1.1457610996:0:7:255 1.3127684973:0:15:255
-1.3127684973:0:15:255 -1.1457610996:0:7:255
1.3127684973:0:15:255 1.5041190769:0:22:255
...
-618328.3661061861:255:16:0 -539666.049353256:255:23:0
618328.3661061861:255:16:0 708456.5886435417:255:8:0
-708456.5886435417:255:8:0 -618328.3661061861:255:16:0
708456.5886435417:255:8:0 811721:255:0:0
-811721:255:0:0 -708456.5886435417:255:8:0
====
(this is r.watershed accumulation map for spearfish's elevation.10m)
is it any problem that they are not sorted min to max, or is it just
cosmetic?
Hamish
More information about the grass-dev
mailing list