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 cda8866 commit 5d7bf0df320f8ceba8705b2dd424b2a3c010db00
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/providers/wfs/qgswfsprovider.cpp
@@ -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

0 comments on commit 5d7bf0d

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