فهرست منبع

v.distance fix to area cats

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53804 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 سال پیش
والد
کامیت
5f4d84d367
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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,