Ticket #2710 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Incorrect mif/mid import with empty text values

Reported by: gislab Owned by: aboudreault
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: mitab
Cc: dmorissette

Description

Seems like importing some varieties of mif/mid files produces incorrect (incomplete results). See attached file for example.

OGR importer simply stops importing after finding constructions like this one:

Text

"" -1607.10886261090784 -9.31495897050048896 -1606.60886261090784 -8.81495897050048896 Font ("Arial CYR",2,0,0) Angle 70

If value "" is substituted with anything like "test", importers goes further. I'm not sure if this is an inconsistency in generated mif/mid, but original Mapinfo tool - Universal Translator (FME based) imported these mif/mid just fine. The biggest problem is that importer skips any records after this one, which is very inconvenient.

Please note, mid has more records than mif, as I was trimming down mif to look where exactly importer fails. Hope this is not a problem.

-Maxim

Attachments

mif-import-bug.zip Download (273.2 KB) - added by gislab 4 years ago.
example mif/mid illustrating the problem

Change History

Changed 4 years ago by gislab

example mif/mid illustrating the problem

Changed 4 years ago by rouault

  • keywords mitab added
  • owner changed from warmerdam to dmorissette
  • component changed from default to OGR_SF

Changed 4 years ago by dmorissette

  • cc dmorissette added
  • owner changed from dmorissette to aboudreault

Assigned to Alan...

Changed 4 years ago by aboudreault

  • status changed from new to closed
  • resolution set to fixed

This bug have been fixed in mitab and will be integrated in gdal/ogr for the 1.6.1 release.

See related bug:  http://bugzilla.maptools.org/show_bug.cgi?id=1978

Note: See TracTickets for help on using tickets.