浏览代码

v.in.ogr: OFTStringList is supported column type

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63548 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 年之前
父节点
当前提交
4770b20242
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      vector/v.in.ogr/main.c

+ 2 - 0
vector/v.in.ogr/main.c

@@ -1141,6 +1141,7 @@ int main(int argc, char *argv[])
 			}
 #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 @@ int main(int argc, char *argv[])
 			}
 #endif
 			else if (Ogr_ftype == OFTString ||
+			         Ogr_ftype == OFTStringList ||
 				 Ogr_ftype == OFTIntegerList) {
 			    sprintf(buf, ", ''");
 			}