[GRASS-SVN] r41930 - grass/branches/releasebranch_6_4/vector/v.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 20 05:49:31 EDT 2010


Author: mmetz
Date: 2010-04-20 05:49:31 -0400 (Tue, 20 Apr 2010)
New Revision: 41930

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

Modified: grass/branches/releasebranch_6_4/vector/v.extract/extract.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.extract/extract.c	2010-04-20 09:48:10 UTC (rev 41929)
+++ grass/branches/releasebranch_6_4/vector/v.extract/extract.c	2010-04-20 09:49:31 UTC (rev 41930)
@@ -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