[GRASS-SVN] r63978 - grass/trunk/display/d.vect.thematic
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 7 01:31:10 PST 2015
Author: martinl
Date: 2015-01-07 01:31:10 -0800 (Wed, 07 Jan 2015)
New Revision: 63978
Added:
grass/trunk/display/d.vect.thematic/d.vect.thematic.html
Removed:
grass/trunk/display/d.vect.thematic/d.thematic.area.html
Modified:
grass/trunk/display/d.vect.thematic/main.c
Log:
rename d.thematic.area to d.vect.thematic (part 2)
Deleted: grass/trunk/display/d.vect.thematic/d.thematic.area.html
===================================================================
--- grass/trunk/display/d.vect.thematic/d.thematic.area.html 2015-01-07 09:27:21 UTC (rev 63977)
+++ grass/trunk/display/d.vect.thematic/d.thematic.area.html 2015-01-07 09:31:10 UTC (rev 63978)
@@ -1,56 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-<em>d.thematic.area</em> draws thematic choropleth vector maps based
-on an attribute column or an expression involving several columns.
-It takes a list of class breaks (excluding the minimum and maximum
-values) and a list of colors to apply to the classes (has to be the
-number of class breaks + 1).
-<p>
-Instead of a list of class breaks, the user can also chose a
-classification algorithm and a number of classes. See the
-<em>v.class </em> man page for more information on these different
-algorithms.
-
-The <em>-l</em> flag instructs the module to print legend
-information (<i>class min | class max | number of observations in class
-| color</i>) to standard output for futher use in graphical software.
-When combined with the <em>-e</em> flag, the legend information will
-be extended with some additional statistical information. If the
-<em>-n</em> flag is set, the module will only print the legend
-information without drawing the map. If the user gives a
-<em>legendfile</em>, the module will write <em>d.graph</em> instructions
-for painting a legend into that file.
-
-
-<h2>EXAMPLE</h2>
-
-<div class="code"><pre>
-d.thematic.area -l map=communes3 column=pop \
- breaks=111393.250000,222785.500000,334177.750000 \
- colors=255:0:0,0:255:0,0:0:255,0,0,0
-</pre></div>
-
-The following example uses a calculated attribute (density =
-pop/area) and the standard deviation algorithm to calculate class
-breaks for 5 classes:
-
-<div class="code"><pre>
-d.thematic.area -l map=communes2 column=pop/area algorithm=std \
- nbclasses=5 colors=0:0:255,50:100:255,255:100:50,255:0:0,156:0:0
-</pre></div>
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="v.class.html">v.class</a>,
-<a href="d.vect.html">d.vect</a>,
-<a href="d.graph.html">d.graph</a>,
-<a href="v.univar.html">v.univar</a>
-</em>
-
-
-<h2>AUTHOR</h2>
-
-Moritz Lennert
-
-<p><i>Last changed: $Date$</i>
Copied: grass/trunk/display/d.vect.thematic/d.vect.thematic.html (from rev 63977, grass/trunk/display/d.vect.thematic/d.thematic.area.html)
===================================================================
--- grass/trunk/display/d.vect.thematic/d.vect.thematic.html (rev 0)
+++ grass/trunk/display/d.vect.thematic/d.vect.thematic.html 2015-01-07 09:31:10 UTC (rev 63978)
@@ -0,0 +1,56 @@
+<h2>DESCRIPTION</h2>
+
+<em>d.vect.thematic</em> draws thematic choropleth vector maps based
+on an attribute column or an expression involving several columns.
+It takes a list of class breaks (excluding the minimum and maximum
+values) and a list of colors to apply to the classes (has to be the
+number of class breaks + 1).
+<p>
+Instead of a list of class breaks, the user can also chose a
+classification algorithm and a number of classes. See the
+<em>v.class </em> man page for more information on these different
+algorithms.
+
+The <em>-l</em> flag instructs the module to print legend
+information (<i>class min | class max | number of observations in class
+| color</i>) to standard output for futher use in graphical software.
+When combined with the <em>-e</em> flag, the legend information will
+be extended with some additional statistical information. If the
+<em>-n</em> flag is set, the module will only print the legend
+information without drawing the map. If the user gives a
+<em>legendfile</em>, the module will write <em>d.graph</em> instructions
+for painting a legend into that file.
+
+
+<h2>EXAMPLE</h2>
+
+<div class="code"><pre>
+d.vect.thematic -l map=communes3 column=pop \
+ breaks=111393.250000,222785.500000,334177.750000 \
+ colors=255:0:0,0:255:0,0:0:255,0,0,0
+</pre></div>
+
+The following example uses a calculated attribute (density =
+pop/area) and the standard deviation algorithm to calculate class
+breaks for 5 classes:
+
+<div class="code"><pre>
+d.vect.thematic -l map=communes2 column=pop/area algorithm=std \
+ nbclasses=5 colors=0:0:255,50:100:255,255:100:50,255:0:0,156:0:0
+</pre></div>
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="v.class.html">v.class</a>,
+<a href="d.vect.html">d.vect</a>,
+<a href="d.graph.html">d.graph</a>,
+<a href="v.univar.html">v.univar</a>
+</em>
+
+
+<h2>AUTHOR</h2>
+
+Moritz Lennert
+
+<p><i>Last changed: $Date$</i>
Modified: grass/trunk/display/d.vect.thematic/main.c
===================================================================
--- grass/trunk/display/d.vect.thematic/main.c 2015-01-07 09:27:21 UTC (rev 63977)
+++ grass/trunk/display/d.vect.thematic/main.c 2015-01-07 09:31:10 UTC (rev 63978)
@@ -1,11 +1,13 @@
/*
****************************************************************************
*
- * MODULE: d.area.thematic
+ * MODULE: d.vect.thematic
* AUTHOR(S): Moritz Lennert, based on d.vect
* PURPOSE: display a thematic vector area map
* on top of the current image.
- * COPYRIGHT: (C) 2007 by the GRASS Development Team
+ * TODO: common part of code merge with d.vect (similarly as r.colors
+ * and r3.colors)
+ * COPYRIGHT: (C) 2007-2014 by the GRASS Development Team
*
* This program is free software under the GNU General Public
* License (>=v2). Read the file COPYING that comes with GRASS
More information about the grass-commit
mailing list