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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 24 02:19:14 PST 2014


Author: mmetz
Date: 2014-11-24 02:19:14 -0800 (Mon, 24 Nov 2014)
New Revision: 62883

Modified:
   grass/trunk/display/d.vect/d.vect.html
   grass/trunk/display/d.vect/shape.c
Log:
d.vect: revert r59117, update manual

Modified: grass/trunk/display/d.vect/d.vect.html
===================================================================
--- grass/trunk/display/d.vect/d.vect.html	2014-11-24 09:51:31 UTC (rev 62882)
+++ grass/trunk/display/d.vect/d.vect.html	2014-11-24 10:19:14 UTC (rev 62883)
@@ -10,11 +10,15 @@
 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
 be specified.

Modified: grass/trunk/display/d.vect/shape.c
===================================================================
--- grass/trunk/display/d.vect/shape.c	2014-11-24 09:51:31 UTC (rev 62882)
+++ grass/trunk/display/d.vect/shape.c	2014-11-24 10:19:14 UTC (rev 62883)
@@ -196,7 +196,7 @@
     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,



More information about the grass-commit mailing list