[Gdal-dev] MIF/MID problem

Daniel Morissette dmorissette at dmsolutions.ca
Thu Jan 26 14:05:52 EST 2006


Todd.Southen at bentley.com wrote:
> Hello all,
> 
> I'm having problems reading a MID file with OGR.  It appears that it
> doesn't like my data as there are spaces after the commas (even though
> the delimiter is properly set as ", " in the MIF header).  If I change
> the delimiter entry in the MIF to "," from ", " then things work fine.
> Does OGR not like multicharacter delimiters?
> 
> For what its worth, these same files load just fine in MapInfo.
> 

I did a quick test with the MITAB library's test programs (MITAB what 
OGR uses to read MIF files) and it worked fine with the following MID 
records:

42, 123.45, ""
100, "100.5", "12345678901234567890"
100, "100.5", "12345678901234567890"
100, "100.5", "12345678901234567890"

Can you please provide a test file that reproduces the problem?

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the Gdal-dev mailing list