[GRASS-SVN] r48938 - grass/branches/releasebranch_6_4/scripts/v.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 25 15:15:41 EDT 2011


Author: neteler
Date: 2011-10-25 12:15:40 -0700 (Tue, 25 Oct 2011)
New Revision: 48938

Modified:
   grass/branches/releasebranch_6_4/scripts/v.colors/description.html
Log:
some more basic explanation added

Modified: grass/branches/releasebranch_6_4/scripts/v.colors/description.html
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.colors/description.html	2011-10-25 18:12:55 UTC (rev 48937)
+++ grass/branches/releasebranch_6_4/scripts/v.colors/description.html	2011-10-25 19:15:40 UTC (rev 48938)
@@ -3,24 +3,25 @@
 <em>v.colors</em> allows the user to create and/or modify the color
 table for a vector map. The vector map (specified on the command line
 by <b>map</b>) must exist in the user's current mapset search path.
-
+<p>
 As input a vector map with a numeric data column is required which is
 used to apply the color rules. The color values are stored in a string
-column (default name "GRASSRGB") by saving the R:G:B values suitable
-for use with '<tt>d.vect -a</tt>'.
+column (default name "GRASSRGB", varchar(11)) by saving the RRR:GGG:BBB
+values suitable for use with '<tt>d.vect -a</tt>'. If this RGB column
+is not found in the attribute table, it is automatically created.
 
-<P>
+<p>
 How it works: it creates a dummy raster map with the same data range as
 the vector's column then runs <em>r.colors</em> for that temporary map.
 It then uses <em>r.what.colors</em> for each value found by <em>v.db.select</em>
 and uploads it a new column in the vector map's attribute database.
 
-<P>
+<p>
 It is planned that this script will be replaced with a C display module which
 renders thematic vector maps directly instead requiring the overhead of
 saving the colors into the DB.
 
-<P>
+<p>
 <!-- really? this is all a bit confusing: -->
 If the target column name given by the <b>rgb_column</b> option does
 not exist, it will be created. The default name is "<tt>GRASSRGB</tt>".
@@ -69,7 +70,7 @@
 </pre></div>
 
 
-<P>
+<p>
 Colorizing a TIN (polygons) generated by <em>v.delaunay</em>:
 
 <div class="code"><pre>
@@ -89,17 +90,17 @@
 </pre></div>
 
 
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
 
-<EM>
-<A HREF="d.vect.html">d.vect</a> -z,
-<A HREF="r.colors.html">r.colors</A>,
-<A HREF="r.colors.stddev.html">r.colors.stddev</A>,
-<A HREF="r.what.color.html">r.what.color</A>,
-<A HREF="v.db.addcol">v.db.addcol</A>,
-<A HREF="v.db.select.html">v.db.select</A>,
-<A HREF="db.execute.html">db.execute</A>
-</EM>
+<em>
+<a href="d.vect.html">d.vect</a> -z,
+<a href="r.colors.html">r.colors</A>,
+<a href="r.colors.stddev.html">r.colors.stddev</A>,
+<a href="r.what.color.html">r.what.color</A>,
+<a href="v.db.addcol">v.db.addcol</A>,
+<a href="v.db.select.html">v.db.select</A>,
+<a href="db.execute.html">db.execute</A>
+</em>
 
 <p>
 See also wiki
@@ -110,7 +111,7 @@
 <a href="http://colorbrewer.org">ColorBrewer</a> is an online tool designed to
 help people select good color schemes for maps and other graphics.
 
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
 
 Hamish Bowman<BR>
 <i>Dunedin, New Zealand</i>



More information about the grass-commit mailing list