Skip to content

Commit 5d7bf0d

Browse files
committed
[WFS provider] Recognize Geomedia layers with gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType type as multilinestring layers (#16675)
1 parent cda8866 commit 5d7bf0d

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
@@ -1287,6 +1287,12 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument& schemaDoc,
12871287
geometryAttribute = name;
12881288
geomType = QGis::WKBMultiPolygon;
12891289
}
1290+
else if ( type == QLatin1String( "gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType" ) )
1291+
{
1292+
foundGeometryAttribute = true;
1293+
geometryAttribute = name;
1294+
geomType = QgsWkbTypes::MultiLineString;
1295+
}
12901296
//is it a geometry attribute?
12911297
//MH 090428: sometimes the <element> tags for geometry attributes have only attribute ref="gml:polygonProperty" and no name
12921298
// the GeometryAssociationType has been seen in #11785

0 commit comments

Comments
 (0)