[GRASS-SVN] r69194 - grass/trunk/vector/v.overlay
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 21 13:25:58 PDT 2016
Author: martinl
Date: 2016-08-21 13:25:58 -0700 (Sun, 21 Aug 2016)
New Revision: 69194
Modified:
grass/trunk/vector/v.overlay/main.c
Log:
v.overlay: added _1 to attribute table's name when working with v.overlay (see #2765)
Modified: grass/trunk/vector/v.overlay/main.c
===================================================================
--- grass/trunk/vector/v.overlay/main.c 2016-08-21 19:35:32 UTC (rev 69193)
+++ grass/trunk/vector/v.overlay/main.c 2016-08-21 20:25:58 UTC (rev 69194)
@@ -223,7 +223,7 @@
/* Create dblinks */
if (ofield[0] > 0) {
- Fi = Vect_default_field_info(&Out, ofield[0], NULL, GV_MTABLE);
+ Fi = Vect_default_field_info(&Out, ofield[0], NULL, GV_1TABLE);
}
db_init_string(&sql);
@@ -652,7 +652,7 @@
list = Vect_new_list();
Vect_cidx_get_unique_cats_by_index(Out, findex, list);
Vect_copy_table_by_cats(In, Out, infield, outfield, NULL,
- GV_MTABLE, list->value, list->n_values);
+ GV_1TABLE, list->value, list->n_values);
Vect_destroy_list(list);
}
More information about the grass-commit
mailing list