Skip to content

Commit 7435d34

Browse files
committed
[WFS provider] Recognize Geomedia layers with gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType type as multilinestring layers (#16675)
1 parent 9a40754 commit 7435d34

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/providers/wfs/qgswfsprovider.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,12 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument &schemaDoc,
13331333
geometryAttribute = name;
13341334
geomType = QgsWkbTypes::MultiPolygon;
13351335
}
1336+
else if ( type == QLatin1String( "gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType" ) )
1337+
{
1338+
foundGeometryAttribute = true;
1339+
geometryAttribute = name;
1340+
geomType = QgsWkbTypes::MultiLineString;
1341+
}
13361342
//is it a geometry attribute?
13371343
//MH 090428: sometimes the <element> tags for geometry attributes have only attribute ref="gml:polygonProperty" and no name
13381344
// the GeometryAssociationType has been seen in #11785

0 commit comments

Comments
 (0)