Bug report #11778

Multiple feature geometry

Added by Michal Med almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
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

Description

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.

History

#1 Updated by Giovanni Manghi almost 10 years ago

  • Status changed from Open to Feedback

is this a QGIS issue or a ogr one, seems to me the latter.

#2 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Feedback to Closed

closing for the lack of feedback

Also available in: Atom PDF