[GRASS-SVN] r62884 - grass/branches/releasebranch_7_0/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 24 02:22:07 PST 2014


Author: mmetz
Date: 2014-11-24 02:22:07 -0800 (Mon, 24 Nov 2014)
New Revision: 62884

Modified:
   grass/branches/releasebranch_7_0/display/d.vect/d.vect.html
   grass/branches/releasebranch_7_0/display/d.vect/shape.c
Log:
d.vect: backport r62883

Modified: grass/branches/releasebranch_7_0/display/d.vect/d.vect.html
===================================================================
--- grass/branches/releasebranch_7_0/display/d.vect/d.vect.html	2014-11-24 10:19:14 UTC (rev 62883)
+++ grass/branches/releasebranch_7_0/display/d.vect/d.vect.html	2014-11-24 10:22:07 UTC (rev 62884)
@@ -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/branches/releasebranch_7_0/display/d.vect/shape.c
===================================================================
--- grass/branches/releasebranch_7_0/display/d.vect/shape.c	2014-11-24 10:19:14 UTC (rev 62883)
+++ grass/branches/releasebranch_7_0/display/d.vect/shape.c	2014-11-24 10:22:07 UTC (rev 62884)
@@ -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