Navigation Menu

Skip to content

Commit

Permalink
[WFS provider] Recognize Geomedia layers with gmgml:LineString_Curve_…
Browse files Browse the repository at this point in the history
…MultiCurve_CompositeCurvePropertyType type as multilinestring layers (#16675)
  • Loading branch information
rouault committed Jun 7, 2017
1 parent 9a40754 commit 7435d34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7435d34

Please sign in to comment.