Skip to content
Permalink
Browse files

[WFS provider] Recognize Geomedia layers with gmgml:LineString_Curve_…

…MultiCurve_CompositeCurvePropertyType type as multilinestring layers (#16675)
  • Loading branch information
rouault committed Jun 7, 2017
1 parent 9a40754 commit 7435d34239717f667d6ecd8b5e1a203f3cd1e600
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/providers/wfs/qgswfsprovider.cpp
@@ -1333,6 +1333,12 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument &schemaDoc,
geometryAttribute = name;
geomType = QgsWkbTypes::MultiPolygon;
}
else if ( type == QLatin1String( "gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType" ) )
{
foundGeometryAttribute = true;
geometryAttribute = name;
geomType = QgsWkbTypes::MultiLineString;
}
//is it a geometry attribute?
//MH 090428: sometimes the <element> tags for geometry attributes have only attribute ref="gml:polygonProperty" and no name
// the GeometryAssociationType has been seen in #11785

0 comments on commit 7435d34

Please sign in to comment.
You can’t perform that action at this time.