Zoltan, ERROR 6 is a generic error number, so a google on it would not be helpful. It sounds like you got all or almost all your data, so I suppose how much you followup will depend on how exactly you want to preserve the data.
Assuming you would like to follow up the best approach is likely to file a ticket with the data and someone can dig into what is going wrong. You might also find it helpful to add "--debug on" to the commandline to see if there is any more information on what goes wrong. From my perspective, to look into the issue I will run the translation in the debugger, break in CPLErrorV and track back to see what is triggering it. The genericness of the error message likely means some low level function is returning a failure code and the actual problem is not clear at the point the error message is issued. Best regards, On Sat, Jul 16, 2011 at 3:04 AM, Zoltan Szecsei <zolt...@geograph.co.za> wrote: > Hi, > I'm converting a bunch of MID-MIF files to TAB format, and one of them > gives: > ERROR 6: Error during reading Record. > > google comes up with: CreateField() not supported by this layer > > So I check the mif headers and they seem fine, and contain 240 POINT records > with schema layout of 43 fields. > The mid file has 10080 commas in it, so that suggests the correct number of > fields, as there are 240 records in it. > So that leaves most likely a field type error, which is not so quick to > check. > > Can someone please pass comment on this error? > Is it a show-stopper, or is only the faulty record skipped and the rest of > the file translated? > > The MID/MIF files together are small (some 75KB), so I can attach them if > someone is interested. > > Any ideas gladly welcome. > Perhaps future releases of ogr2ogr could include the filename & record > number in the error message? > > TIA, > Zoltan > > > -- > > =========================================== > Zoltan Szecsei PrGISc [PGP0031] > Geograph (Pty) Ltd. > P.O. Box 7, Muizenberg 7950, South Africa. > > 65 Main Road, Muizenberg 7945 > Western Cape, South Africa. > > 34° 6'16.35"S 18°28'5.62"E > > Tel: +27-21-7884897 Mobile: +27-83-6004028 > Fax: +27-86-6115323 www.geograph.co.za > =========================================== > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev