Skip to content
Permalink
Browse files

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

  • Loading branch information
rouault committed Feb 26, 2018
1 parent 835eb15 commit d313f7c059c5f59a66697e5e9a93a13e074f62c9
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 d313f7c

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