[GRASS-SVN] r63548 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 14 23:37:34 PST 2014


Author: mmetz
Date: 2014-12-14 23:37:34 -0800 (Sun, 14 Dec 2014)
New Revision: 63548

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: OFTStringList is supported column type

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2014-12-15 05:27:46 UTC (rev 63547)
+++ grass/trunk/vector/v.in.ogr/main.c	2014-12-15 07:37:34 UTC (rev 63548)
@@ -1141,6 +1141,7 @@
 			}
 #endif
 			else if (Ogr_ftype == OFTString ||
+			         Ogr_ftype == OFTStringList ||
 				 Ogr_ftype == OFTIntegerList) {
 			    db_set_string(&strval, (char *)
 					  OGR_F_GetFieldAsString(Ogr_feature,
@@ -1166,6 +1167,7 @@
 			}
 #endif
 			else if (Ogr_ftype == OFTString ||
+			         Ogr_ftype == OFTStringList ||
 				 Ogr_ftype == OFTIntegerList) {
 			    sprintf(buf, ", ''");
 			}



More information about the grass-commit mailing list