Skip to content

Commit

Permalink
WFS provider: handle gmgml:Point_MultiPointPropertyType (fixes #18169)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 26, 2018
1 parent f37e861 commit 7827d92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -1298,6 +1298,13 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument& schemaDoc,
geometryAttribute = name;
geomType = QGis::WKBMultiLineString;
}
// such as http://go.geozug.ch/Zug_WFS_Baumkataster/service.svc/get
else if ( type == "gmgml:Point_MultiPointPropertyType" )
{
foundGeometryAttribute = true;
geometryAttribute = name;
geomType = QGis::WKBMultiPoint;
}
//is it a geometry attribute?
// the GeometryAssociationType has been seen in #11785
else if ( type.indexOf( gmlPT ) == 0 || type == "gml:GeometryAssociationType" )
Expand Down

3 comments on commit 7827d92

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rouault should this be forward ported to master too?

@rouault
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has already be done in master per d313f7c and in 3.0 branch as well

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rouault oops - ignore me. I'm going blind.

Please sign in to comment.