The problem is reading a MIF/MID file with default DELIMITER.
When mitab creates it uses default DELIMITER="," so no problem.

De default delimiter for the MID file should be TAB according to the 
documentation of the interchange format i am using. So a the next 
fragment of mitab_miffile.cpp is not according to the spec.

MIFFile::MIFFile()
{
    m_pszFname = NULL;
    m_pszVersion = NULL;
    m_pszCharset = NULL;
    m_pszDelimiter = CPLStrdup(",");
    m_pszUnique = NULL;
   ...
   ....

It should be (when initialized for reading !!)
m_pszDelimiter = CPLStrdup("\t");

But this is setting also the default delimiter of the MIF file ???, i 
could not find any use of this ??
And also change the behavior of creating a new MIF/MID set.

I'm shure you can make good a solution.




Koos Ouwehand








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitab/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to