[GRASS-SVN] r58358 - grass/trunk/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 2 10:52:43 PST 2013


Author: martinl
Date: 2013-12-02 10:52:43 -0800 (Mon, 02 Dec 2013)
New Revision: 58358

Modified:
   grass/trunk/display/d.vect/d.vect.html
   grass/trunk/display/d.vect/main.c
Log:
d.vect: update manual (display=attr) removed


Modified: grass/trunk/display/d.vect/d.vect.html
===================================================================
--- grass/trunk/display/d.vect/d.vect.html	2013-12-02 18:47:56 UTC (rev 58357)
+++ grass/trunk/display/d.vect/d.vect.html	2013-12-02 18:52:43 UTC (rev 58358)
@@ -16,8 +16,8 @@
 d.vect map=vector_map cats=1-999999
 </pre></div>
 
-<p>In order to display attributes in the map, <tt>display=attr</tt> must be
-specified in addition to the column name (<b>attrcolumn</b> parameter).
+<p>In order to display attributes in the map, <b>attrcolumn</b> must
+be specified.
 
 <p>Colors may be specified
 by <em><a href="v.colors.html">v.colors</a></em> as a color table or
@@ -72,10 +72,10 @@
 d.vect map=roads display=shape,cat lcolor=green
 
 # display randomly colorized soils map with attributes
-d.vect -c map=soils display=attr attrcolumn=label
+d.vect -c map=soils attrcolumn=label
 
 # display randomly colorized selected vectors from soils map
-d.vect -c map=soils where="label='VBF'" display=shape,attr attrcolumn=label
+d.vect -c map=soils where="label='VBF'" display=shape attrcolumn=label
 </pre></div>
 
 <p>3D points, 3D lines and 3D polygons colorized according to z height:

Modified: grass/trunk/display/d.vect/main.c
===================================================================
--- grass/trunk/display/d.vect/main.c	2013-12-02 18:47:56 UTC (rev 58357)
+++ grass/trunk/display/d.vect/main.c	2013-12-02 18:52:43 UTC (rev 58358)
@@ -213,7 +213,7 @@
     attrcol_opt->key = "attrcolumn";
     attrcol_opt->multiple = NO;	/* or fix attr.c, around line 102 */
     attrcol_opt->guisection = _("Labels");
-    attrcol_opt->description = _("Name of column to be displayed");
+    attrcol_opt->description = _("Name of column to be displayed as a label");
 
     lcolor_opt = G_define_option();
     lcolor_opt->key = "lcolor";



More information about the grass-commit mailing list