#6990 closed defect (fixed)

GMLAS: Surface geometry not recognised on file

Reported by: liberostelios Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords:

Description (last modified by liberostelios)

GMLAS seems to fail to identify a geometry type for the layer "geometrie2dwegdeel" in the attached file (bgt_wegdeel.gml).

The layer's geometry is defined as SurfacePropertyType? and uses a substitutiongroup. When we change the geometry type on the XSD to MultiSurfacePropertyType?, ogrinfo identifies a geometry field but no geometry is loaded. Other files using the same schema with geometry of SurfacePropertyType? work, but they don't use a substitution group (bgt_onbegroeidterreindeel.gml).

This is a schema created by Geonovum and used by the dutch Kadaster. Tried on the latest trunk.

Change History (2)

comment:1 Changed 17 months ago by liberostelios

Description: modified (diff)

comment:2 Changed 17 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 39747:

GMLAS: handle GML geometries in elements that are a substitutionGroup of an element (fixes #6990)

Note: See TracTickets for help on using tickets.