浏览代码

d.vect: revert https://trac.osgeo.org/grass/changeset/59117, update manual

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62883 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 年之前
父节点
当前提交
2c86c1214f
共有 2 个文件被更改,包括 8 次插入4 次删除
  1. 7 3
      display/d.vect/d.vect.html
  2. 1 1
      display/d.vect/shape.c

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

@@ -10,10 +10,14 @@ map=vector_map</tt>. There are a large variety of optional parameters
 which allow the user to specify vector type, colors, data fields, SQL
 which allow the user to specify vector type, colors, data fields, SQL
 queries, label size and justification, etc.
 queries, label size and justification, etc.
 
 
-<p>By default <em>d.vect</em> fills in holes in polygons (islands). If
-you only want to show active areas limit the features with, e.g.,
+<p>By default <em>d.vect</em> areas are filled with <b>fcolor</b> and 
+outlined with <b>color</b>. Area outlines can be suppressed with
 <div class="code"><pre>
 <div class="code"><pre>
-d.vect map=vector_map cats=1-999999
+d.vect map=vector_map color=none
+</pre></div>
+and areas can be made transparent with
+<div class="code"><pre>
+d.vect map=vector_map fcolor=none
 </pre></div>
 </pre></div>
 
 
 <p>In order to display attributes in the map, <b>attribute_column</b> must
 <p>In order to display attributes in the map, <b>attribute_column</b> must

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

@@ -196,7 +196,7 @@ int display_shape(struct Map_info *Map, int type, struct cat_list *Clist, const
     stat = 0;
     stat = 0;
     if (type & GV_AREA && Vect_get_num_primitives(Map, GV_CENTROID | GV_BOUNDARY) > 0)
     if (type & GV_AREA && Vect_get_num_primitives(Map, GV_CENTROID | GV_BOUNDARY) > 0)
 	stat += display_area(Map, Clist, window, 
 	stat += display_area(Map, Clist, window, 
-			     type & GV_BOUNDARY ? bcolor : NULL, fcolor, chcat,
+			     bcolor, fcolor, chcat,
 			     id_flag, cats_colors_flag,
 			     id_flag, cats_colors_flag,
 			     default_width, width_scale,
 			     default_width, width_scale,
 			     z_style ? &zcolors : NULL,
 			     z_style ? &zcolors : NULL,