[GRASS-SVN] r41929 - grass/branches/develbranch_6/vector/v.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 20 05:48:10 EDT 2010


Author: mmetz
Date: 2010-04-20 05:48:10 -0400 (Tue, 20 Apr 2010)
New Revision: 41929

Modified:
   grass/branches/develbranch_6/vector/v.extract/extract.c
Log:
extract centroids for type=area and layer=-1

Modified: grass/branches/develbranch_6/vector/v.extract/extract.c
===================================================================
--- grass/branches/develbranch_6/vector/v.extract/extract.c	2010-04-20 09:46:43 UTC (rev 41928)
+++ grass/branches/develbranch_6/vector/v.extract/extract.c	2010-04-20 09:48:10 UTC (rev 41929)
@@ -289,7 +289,7 @@
 
 	    /* centroid */
 	    if ((type == GV_CENTROID && (select_type & GV_AREA)) &&
-		!(centroid_in_area && field_match))
+		!centroid_in_area)
 		write = 0;
 
 	    /* areas */



More information about the grass-commit mailing list