Skip to content

Commit d313f7c

Browse files
committedFeb 26, 2018
WFS provider: handle gmgml:Point_MultiPointPropertyType (fixes #18169)
1 parent 835eb15 commit d313f7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/providers/wfs/qgswfsprovider.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,13 @@ bool QgsWFSProvider::readAttributesFromSchema( QDomDocument &schemaDoc,
13741374
geometryAttribute = name;
13751375
geomType = QgsWkbTypes::MultiLineString;
13761376
}
1377+
// such as http://go.geozug.ch/Zug_WFS_Baumkataster/service.svc/get
1378+
else if ( type == QLatin1String( "gmgml:Point_MultiPointPropertyType" ) )
1379+
{
1380+
foundGeometryAttribute = true;
1381+
geometryAttribute = name;
1382+
geomType = QgsWkbTypes::MultiPoint;
1383+
}
13771384
//is it a geometry attribute?
13781385
// the GeometryAssociationType has been seen in #11785
13791386
else if ( ! foundGeometryAttribute && ( type.indexOf( gmlPT ) == 0 || type == QLatin1String( "gml:GeometryAssociationType" ) ) )

0 commit comments

Comments
 (0)
Please sign in to comment.