Ticket #1478 (new defect)

Opened 2 years ago

Last modified 1 year ago

GML Case Insensitivity bug?

Reported by: warmerdam Assigned to: warmerdam
Priority: highest Milestone:
Component: OGR_SF Version: 1.4.0
Severity: blocker Keywords:
Cc:

Description (Last modified by mloskot)

When an input gml file contains a feature which contains a property of the same name (although beginning with a lower-case letter as per gml conventions), ogr2ogr gets confused. It appears that it is not case-sensitive.

When the output is also gml, spurious gml:featureMembers appear, as the simple property element has been mistaken for the complex feature element.

The issue is reflected in the gfs file produced (samples attached).

Example:

ogr2ogr -s_srs NAD83 -t_srs EPSG:3347 -f GML \
   messed_up_features.gml gecu000e07g_e.gml

Attachments

gecu000e07g_e.gml (1.7 kB) - added by warmerdam on 02/05/07 16:03:16.
Problem input GML file.

Change History

02/05/07 16:03:16 changed by warmerdam

  • attachment gecu000e07g_e.gml added.

Problem input GML file.

02/05/07 16:04:43 changed by warmerdam

Note: 

With a debug build, I get an assertion failure reading the gml file. 
Some sort of unexpected state when popping a context.



04/09/07 13:07:18 changed by mloskot

  • description changed.