[CP] [GIS]fix geomcollection subtype
This commit is contained in:
parent
8918526995
commit
6be451f8f5
3
deps/oblib/src/lib/geo/ob_geo_utils.cpp
vendored
3
deps/oblib/src/lib/geo/ob_geo_utils.cpp
vendored
@ -134,7 +134,8 @@ ObGeoType ObGeoTypeUtil::get_geo_type_by_name(ObString &name)
|
||||
geo_type = ObGeoType::MULTILINESTRING;
|
||||
} else if (0 == name.case_compare("multipolygon")) {
|
||||
geo_type = ObGeoType::MULTIPOLYGON;
|
||||
} else if (0 == name.case_compare("geometrycollection")) {
|
||||
} else if (0 == name.case_compare("geometrycollection")
|
||||
|| 0 == name.case_compare("geomcollection")) {
|
||||
geo_type = ObGeoType::GEOMETRYCOLLECTION;
|
||||
} else if (0 == name.case_compare("geometry")) {
|
||||
geo_type = ObGeoType::GEOMETRY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user