[GRASS-SVN] r53804 - grass/trunk/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 14 06:48:16 PST 2012


Author: mmetz
Date: 2012-11-14 06:48:16 -0800 (Wed, 14 Nov 2012)
New Revision: 53804

Modified:
   grass/trunk/vector/v.distance/main.c
Log:
v.distance fix to area cats

Modified: grass/trunk/vector/v.distance/main.c
===================================================================
--- grass/trunk/vector/v.distance/main.c	2012-11-14 12:08:24 UTC (rev 53803)
+++ grass/trunk/vector/v.distance/main.c	2012-11-14 14:48:16 UTC (rev 53804)
@@ -745,6 +745,7 @@
 			continue;	/* not in threshold */
 
 		    /* TODO: more cats of the same field */
+		    Vect_get_area_cats(&To, aList->id[i], TCats);
 		    Vect_cat_get(TCats, to_field, &tmp_tcat);
 
 		    G_debug(4, "  tmp_dist = %f tmp_tcat = %d", tmp_dist,



More information about the grass-commit mailing list