Explorar o código

v.distance fix to area cats

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53804 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz %!s(int64=12) %!d(string=hai) anos
pai
achega
5f4d84d367
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      vector/v.distance/main.c

+ 1 - 0
vector/v.distance/main.c

@@ -745,6 +745,7 @@ int main(int argc, char *argv[])
 			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,