Feature request #19571
Add support to read WFS GML data containing geometry collections
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Even Rouault | ||
Category: | Web Services clients/WFS | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 27398 |
Description
During interoperability tests between QGIS and the OGC-compliant (WFS 1.0, 1.1 and 2.0) LuciadFusion WFS server from Hexagon, it was noted that QGIS did not load WFS feature types containing a MultiGeometry GML element in the GetFeature response. QGIS doesn't detect the geometry. An example of such a feature type is available here:
An analysis in #19505-13 confirmed that this is currently not supported by QGIS.
Associated revisions
[WFS client] Fix GetFeature BBOX in WFS 1.1 when the GetCapabilies CRS is urn:ogc:def:crs:OGC:1.3:CRS84 (refs #19571)
[WFS client] Try to handle layers of type GeometryCollection if the first GeometryCollection is made of geometries of the same type (fixes #19571)
History
#1 Updated by Giovanni Manghi over 6 years ago
- Subject changed from Add support to read WFS GML data containing MultiGeometry elements to Add support to read WFS GML data containing geometry collections
I changed the title because the problem is not MULTI geometries (that are perfectly supported in QGIS), but GEOMETRY COLLECTIONS.
Also this is not a WFS client thing only, but a QGIS thing in general.
#2 Updated by Giovanni Manghi over 6 years ago
- Status changed from Open to Feedback
And this is also a duplicate of this #167
#3 Updated by Robin Houtmeyers over 6 years ago
Giovanni Manghi wrote:
I changed the title because the problem is not MULTI geometries (that are perfectly supported in QGIS), but GEOMETRY COLLECTIONS.
OK, I just took the GML terminology as they use MultiGeometry for this capability.
#4 Updated by Jürgen Fischer over 6 years ago
- Description updated (diff)
#5 Updated by Even Rouault about 6 years ago
- Status changed from Feedback to Open
- Assignee set to Even Rouault
#6 Updated by Even Rouault about 6 years ago
PR: https://github.com/qgis/QGIS/pull/8185
Also there is a GDAL fix needed to parse the MultiGeometry.geometryMembers syntax returned in the WFS 1.1.0 GetFeature response:
- GDAL master: https://github.com/OSGeo/gdal/commit/482c13a093672635cf0a3d07b2cd7aac945c3cbb
- GDAL 2.3 branch: https://github.com/OSGeo/gdal/commit/00ad17c886f16a24a3490241197487699113c92e
#7 Updated by Even Rouault about 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|9014285bc7bbf1c4ac98f30243bc1e88ff7ce9fd.