[GRASS-SVN] r58359 - grass/trunk/display/d.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 2 10:57:07 PST 2013
Author: martinl
Date: 2013-12-02 10:57:07 -0800 (Mon, 02 Dec 2013)
New Revision: 58359
Modified:
grass/trunk/display/d.vect/d.vect.html
grass/trunk/display/d.vect/main.c
Log:
d.vect: attrcolumn renamed to attribute_column (old name still works)
Modified: grass/trunk/display/d.vect/d.vect.html
===================================================================
--- grass/trunk/display/d.vect/d.vect.html 2013-12-02 18:52:43 UTC (rev 58358)
+++ grass/trunk/display/d.vect/d.vect.html 2013-12-02 18:57:07 UTC (rev 58359)
@@ -16,7 +16,7 @@
d.vect map=vector_map cats=1-999999
</pre></div>
-<p>In order to display attributes in the map, <b>attrcolumn</b> must
+<p>In order to display attributes in the map, <b>attribute_column</b> must
be specified.
<p>Colors may be specified
@@ -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 attrcolumn=label
+d.vect -c map=soils attribute_column=label
# display randomly colorized selected vectors from soils map
-d.vect -c map=soils where="label='VBF'" display=shape attrcolumn=label
+d.vect -c map=soils where="label='VBF'" display=shape attribute_column=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:52:43 UTC (rev 58358)
+++ grass/trunk/display/d.vect/main.c 2013-12-02 18:57:07 UTC (rev 58359)
@@ -210,7 +210,7 @@
_("Layer number for labels (default: the given layer number)");
attrcol_opt = G_define_standard_option(G_OPT_DB_COLUMN);
- attrcol_opt->key = "attrcolumn";
+ attrcol_opt->key = "attribute_column";
attrcol_opt->multiple = NO; /* or fix attr.c, around line 102 */
attrcol_opt->guisection = _("Labels");
attrcol_opt->description = _("Name of column to be displayed as a label");
More information about the grass-commit
mailing list