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 4b232e4 commit c6dcb32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -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" ) ) )
Expand Down

0 comments on commit c6dcb32

Please sign in to comment.