Skip to content
Permalink
Browse files

WFS provider: handle gmgml:Point_MultiPointPropertyType (fixes #18169)

  • Loading branch information
rouault committed Feb 26, 2018
1 parent 4b232e4 commit c6dcb325eacd7c1075bb150b1e25d3b857cf359b
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/providers/wfs/qgswfsprovider.cpp
@@ -1374,6 +1374,13 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument &schemaDoc,
geometryAttribute = name;
geomType = QgsWkbTypes::MultiLineString;
}
// such as http://go.geozug.ch/Zug_WFS_Baumkataster/service.svc/get
else if ( type == QLatin1String( "gmgml:Point_MultiPointPropertyType" ) )
{
foundGeometryAttribute = true;
geometryAttribute = name;
geomType = QgsWkbTypes::MultiPoint;
}
//is it a geometry attribute?
// the GeometryAssociationType has been seen in #11785
else if ( ! foundGeometryAttribute && ( type.indexOf( gmlPT ) == 0 || type == QLatin1String( "gml:GeometryAssociationType" ) ) )

0 comments on commit c6dcb32

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