Bug report #11778
Multiple feature geometry
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20006|
GML files allows data producer to include more geometries within one feature (e.g. polygon of parcel and reference point inside the parcel). QGIS shall be able to recognize two geometries and support switching between them. I was testing it for GML 3.2.1 data harmonised with INSPIRE Data specification (version 3.0). When I download data from WFS service to QGIS (2.4.0 under windows 7, both 64-bit and 32-bit), it renders automatically as points. Under Ubuntu 14.04 in QGIS 2.6.0 it renders polygons. In older versions of GIS, all I had to do was overwrite geometryType attribute from 1 to 3 in automatically generated .gfs file. Yes, it's a bit complicated, but it worked. In QGIS 2.4.0 under Windows it doesn't work. After rewriting .gfs file, I got no geometry at all. If I want to get polygons, I have to download GML data and erase all referencePoint elements.