Hi,
If you want to use an input file, then you can "cat file | r.colors rastermap
c=rules" . "file" contains your color rules, "rastermap" is the raster layer to
which you're applying the rules. There are several ways to construct the color
rules file that you can find under the manual entry. It's easy.
>
>As a side note, can d.colors take an input file instead of needing a
>user to go in for each raster file and manually switch RGB values?
------------------------------------------------------------------------
Rick Thompson- Research Specialist E-mail: rick@cast.uark.edu
Center for Advanced Spatial Technologies Telephone: (501) 575-8498
Ozark Hall Rm. 12 Fax: (501) 575-5218
University of Arkansas
Fayetteville, AR 72701