<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Chaitanya,<br>
I'm shelling out from a Genamap script to Linux BASH shell, to run
ogr2ogr, so nope, not in Windows.<br>
<br>
Regards,<br>
Zoltan<br>
<br>
On 2011/07/16 12:36, Chaitanya kumar CH wrote:
<blockquote
cite="mid:CAMKgpOa2mOJ8hFa6dq06u77YK4vQNbEDPzs2TEP2bJ4i9G=PCA@mail.gmail.com"
type="cite">Zoltan,<br>
<br>
If you are in Windows, try the mif2tab utility from <a
moz-do-not-send="true" href="http://mitab.maptools.org/">http://mitab.maptools.org/</a><br>
OGR'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"><<a
moz-do-not-send="true" href="mailto:zoltans@geograph.co.za">zoltans@geograph.co.za</a>></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'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
& record number in the error message?<br>
<br>
TIA,<br>
Zoltan<br>
<br>
<br>
-- <br>
<br>
===========================================<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'16.35"S 18°28'5.62"E<br>
<br>
Tel: +27-21-7884897 Mobile: +27-83-6004028<br>
Fax: +27-86-6115323 <a moz-do-not-send="true"
href="http://www.geograph.co.za" target="_blank">www.geograph.co.za</a><br>
===========================================<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
target="_blank">http://lists.osgeo.org/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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
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 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>