[gdal-dev] ogr2ogr ERROR 6
Chaitanya kumar CH
chaitanya.ch at gmail.com
Sat Jul 16 06:36:45 EDT 2011
Zoltan,
If you are in Windows, try the mif2tab utility from
http://mitab.maptools.org/
OGR's Mitab driver is based on the same library.
On Sat, Jul 16, 2011 at 3:34 PM, Zoltan Szecsei <zoltans at 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 at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110716/67f6b9a1/attachment-0001.html
More information about the gdal-dev
mailing list