<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear GRASS community</div><div>I recently jumped into a problem while using the module r.colors to assign the color to the raster file.</div><div>I have a landuse map (in vector format) with ID field (e.g 1, 2, 3 etc). Each kind of landuse has a color which is defined by three other fields: red, green, blue. After rasterizing the vector file using the ID field. &nbsp;I'm trying to assign color to the landuse raster by using the module r.colors. I prepare a rule file in the following format:</div><div>1 255:50:63</div><div>2 255:87:96</div><div>.....</div><div>end</div><div><br></div><div>then I saved this file with the name rule.file.&nbsp;After that, I ran the r.colors module using this rule file and the following error appeared:</div><div>"ERROR: "color", "rules", and "raster" options are mutually exclusive"</div><div>Here
 is the whole command line</div><div>"r.colors map=landuse color=rules rules=/home/hongluan/rules.file"</div><div>I'm using GRASS 6.4.1</div><div>Hope you can help me with this one</div><div>Thanks in advance</div><div><br></div></div></body></html>