[GRASS-SVN] r35820 - grass/branches/develbranch_6/scripts/v.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 9 08:00:09 EST 2009


Author: neteler
Date: 2009-02-09 08:00:09 -0500 (Mon, 09 Feb 2009)
New Revision: 35820

Modified:
   grass/branches/develbranch_6/scripts/v.colors/description.html
   grass/branches/develbranch_6/scripts/v.colors/v.colors
Log:
predefined color confuses parameter logic, removed; vector line example added

Modified: grass/branches/develbranch_6/scripts/v.colors/description.html
===================================================================
--- grass/branches/develbranch_6/scripts/v.colors/description.html	2009-02-09 12:56:30 UTC (rev 35819)
+++ grass/branches/develbranch_6/scripts/v.colors/description.html	2009-02-09 13:00:09 UTC (rev 35820)
@@ -57,7 +57,23 @@
 d.vect -a tin
 </pre></div>
 
+<p>
+Colorizing the roads map in Spearfish:
+<div class="code"><pre>
+g.copy vect=roads,myroads
+echo "1 red
+2 green
+3 blue
+4 orange
+5 purple" &gt; colors.txt
 
+v.colors myroads column=cat rules=colors.txt
+# display colorized roads map
+d.mon x0
+d.vect -a myroads
+</pre></div>
+
+
 <H2>SEE ALSO</H2>
 
 <EM>

Modified: grass/branches/develbranch_6/scripts/v.colors/v.colors
===================================================================
--- grass/branches/develbranch_6/scripts/v.colors/v.colors	2009-02-09 12:56:30 UTC (rev 35819)
+++ grass/branches/develbranch_6/scripts/v.colors/v.colors	2009-02-09 13:00:09 UTC (rev 35820)
@@ -63,7 +63,6 @@
 #% type: string
 #% key_desc: style
 #% options: aspect,aspectcolr,bcyr,bgyr,byg,byr,celsius,curvature,differences,elevation,etopo2,evi,grey,grey1.0,grey255,gyr,ndvi,population,precipitation,rainbow,ramp,ryb,ryg,sepia,slope,srtm,terrain,wave,random
-#% answer: bcyr
 #% description: Type of color table
 #% required: no
 #% guisection: Colors



More information about the grass-commit mailing list