[GRASS-SVN] r38251 - grass/branches/develbranch_6/vector/v.select
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 5 09:13:51 EDT 2009
Author: martinl
Date: 2009-07-05 09:13:50 -0400 (Sun, 05 Jul 2009)
New Revision: 38251
Modified:
grass/branches/develbranch_6/vector/v.select/main.c
Log:
v.select: for disjoint use reverse intersect (todo: change module's algorithm)
(merge from trunk, r38250)
Modified: grass/branches/develbranch_6/vector/v.select/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.select/main.c 2009-07-05 13:09:26 UTC (rev 38250)
+++ grass/branches/develbranch_6/vector/v.select/main.c 2009-07-05 13:13:50 UTC (rev 38251)
@@ -60,8 +60,11 @@
if (parm.operator->answer[0] == 'e')
operator = OP_EQUALS;
- else if (parm.operator->answer[0] == 'd')
- operator = OP_DISJOINT;
+ else if (parm.operator->answer[0] == 'd') {
+ /* operator = OP_DISJOINT; */
+ operator = OP_INTERSECTS;
+ flag.reverse->answer = YES;
+ }
else if (parm.operator->answer[0] == 'i')
operator = OP_INTERSECTS;
else if (parm.operator->answer[0] == 't')
More information about the grass-commit
mailing list