[GRASS-SVN] r39176 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 13 09:39:38 EDT 2009
Author: mmetz
Date: 2009-09-13 09:39:37 -0400 (Sun, 13 Sep 2009)
New Revision: 39176
Modified:
grass/trunk/vector/v.in.ogr/main.c
Log:
write layer name to dbln
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2009-09-13 13:37:33 UTC (rev 39175)
+++ grass/trunk/vector/v.in.ogr/main.c 2009-09-13 13:39:37 UTC (rev 39176)
@@ -645,7 +645,7 @@
if (ncnames > 0) {
cat_col_name = cnames_opt->answers[0];
}
- Vect_map_add_dblink(&Map, layer + 1, NULL, Fi->table,
+ Vect_map_add_dblink(&Map, layer + 1, layer_names[layer], Fi->table,
cat_col_name, Fi->database, Fi->driver);
ncols = OGR_FD_GetFieldCount(Ogr_featuredefn);
More information about the grass-commit
mailing list