Opened 13 years ago
Last modified 9 years ago
#1589 new defect
r.clump: inadequate color ramp
Reported by: | pcav | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.6 |
Component: | Raster | Version: | 6.4.1 |
Keywords: | r.clump, G_make_random_colors() | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
r.clump applies a color table to results, but if we have many clumps (>900 in my case), higher clumps do not get a color, and appear (wrongly) missing.
Change History (2)
comment:1 by , 13 years ago
Component: | Default → Raster |
---|---|
Keywords: | r.clump G_make_random_colors() added |
Milestone: | → 6.4.3 |
comment:2 by , 9 years ago
Milestone: | 6.4.3 → 6.4.6 |
---|
Note:
See TracTickets
for help on using tickets.
after closing the map r.clump does:
so maybe G_make_random_colors() is to blame?
it falling over at ~900 clumps is suspiciously close to this calculation in lib/gis/color_rand.c:
as a basis for testing, could someone who knows about the module add an example using one of the standard datasets to the help page?
see also r.watershed's color creation mechanism.
thanks, Hamish