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

d.vect: backport https://trac.osgeo.org/grass/changeset/62883

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62884 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 лет назад
Родитель
Сommit
5da767d5f2
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
 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>
-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>
 
 <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;
     if (type & GV_AREA && Vect_get_num_primitives(Map, GV_CENTROID | GV_BOUNDARY) > 0)
 	stat += display_area(Map, Clist, window, 
-			     type & GV_BOUNDARY ? bcolor : NULL, fcolor, chcat,
+			     bcolor, fcolor, chcat,
 			     id_flag, cats_colors_flag,
 			     default_width, width_scale,
 			     z_style ? &zcolors : NULL,