Ticket #2710 (closed defect: fixed)
Incorrect mif/mid import with empty text values
|Reported by:||gislab||Owned by:||aboudreault|
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:
"" -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.