[GRASS-dev] [GRASS GIS] #170: r.colors: make nice random colors
like r.watershed
GRASS GIS
trac at osgeo.org
Fri May 16 11:10:31 EDT 2008
#170: r.colors: make nice random colors like r.watershed
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: r.colors |
-------------------------+--------------------------------------------------
r.watershed has some color rule creation code it in which makes the random
rules not quite pastel in nature, but cool. it's a lot more pleasant than
r.color's color=random method.
see the r.watershed examples here:
http://grass.osgeo.org/screenshots/raster.php
it would be nice to move that rule generation code into libgis and then
add a new "r.colors color=random_cool" or similar option.
(and simplify r.watershed in the process)
My preference is that the seed would not be constant by default, so if you
don't like the result you just run r.colors again and d.redraw.
thanks,
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/170>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list