Skip to content
Permalink
Browse files

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

  • Loading branch information
rouault committed Feb 26, 2018
1 parent f37e861 commit 7827d92405a3e28f9484c5d4792060d04cb777eb
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/providers/wfs/qgswfsprovider.cpp
@@ -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" )

3 comments on commit 7827d92

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Feb 28, 2018

@rouault should this be forward ported to master too?

@rouault

This comment has been minimized.

Copy link
Contributor Author

@rouault rouault replied Feb 28, 2018

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

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Feb 28, 2018

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

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