Zoltan,<br><br>If you are in Windows, try the mif2tab utility from <a href="http://mitab.maptools.org/">http://mitab.maptools.org/</a><br>OGR&#39;s Mitab driver is based on the same library.<br><br><div class="gmail_quote">
On Sat, Jul 16, 2011 at 3:34 PM, Zoltan Szecsei <span dir="ltr">&lt;<a href="mailto:zoltans@geograph.co.za">zoltans@geograph.co.za</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
I&#39;m converting a bunch of MID-MIF files to TAB format, and one of them gives:<br>
ERROR 6: Error during reading Record.<br>
<br>
google comes up with:  CreateField() not supported by this layer<br>
<br>
So I check the mif headers and they seem fine, and contain 240 POINT records with schema layout of 43 fields.<br>
The mid file has 10080 commas in it, so that suggests the correct number of fields, as there are 240 records in it.<br>
So that leaves most likely a field type error, which is not so quick to check.<br>
<br>
Can someone please pass comment on this error?<br>
Is it a show-stopper, or is only the faulty record skipped and the rest of the file translated?<br>
<br>
The MID/MIF files together are small (some 75KB), so I can attach them if someone is interested.<br>
<br>
Any ideas gladly welcome.<br>
Perhaps future releases of ogr2ogr could include the filename &amp; record number in the error message?<br>
<br>
TIA,<br>
Zoltan<br>
<br>
<br>
-- <br>
<br>
==============================<u></u>=============<br>
Zoltan Szecsei PrGISc [PGP0031]<br>
Geograph (Pty) Ltd.<br>
P.O. Box 7, Muizenberg 7950, South Africa.<br>
<br>
65 Main Road, Muizenberg 7945<br>
Western Cape, South Africa.<br>
<br>
34° 6&#39;16.35&quot;S 18°28&#39;5.62&quot;E<br>
<br>
Tel: +27-21-7884897  Mobile: +27-83-6004028<br>
Fax: +27-86-6115323     <a href="http://www.geograph.co.za" target="_blank">www.geograph.co.za</a><br>
==============================<u></u>=============<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>