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 cda8866 commit 5d7bf0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,12 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument& schemaDoc,
geometryAttribute = name;
geomType = QGis::WKBMultiPolygon;
}
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 5d7bf0d

Please sign in to comment.