Просмотр исходного кода

d.vect: attrcolumn renamed to attribute_column (old name still works)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58359 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 лет назад
Родитель
Сommit
d0b77cc934
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      display/d.vect/d.vect.html
  2. 1 1
      display/d.vect/main.c

+ 3 - 3
display/d.vect/d.vect.html

@@ -16,7 +16,7 @@ you only want to show active areas limit the features with, e.g.,
 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 @@ Spearfish examples:
 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:

+ 1 - 1
display/d.vect/main.c

@@ -210,7 +210,7 @@ int main(int argc, char **argv)
 	_("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");