[gdal-dev] OGR shapefile to MapInfo [Scanned]

Dale Harris dharris at regisresources.com
Thu Dec 4 23:41:49 EST 2008

I believe Field Type 9 is a date field. Pre v1.6 (soon to be released)
there was no support for Date or Time fields when creating mapinfo files
in gdal / ogr. 

Dale Harris

-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of
nicholas.g.lawrence at mainroads.qld.gov.au
Sent: Friday, 5 December 2008 1:35 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] OGR shapefile to MapInfo [Scanned]

GDAL list,

I have a shapefile "C:\DATA\asris_shp\QLD_COMBINEDSOILS_lyr.shp"
that I want to convert into a mapinfo file

The command I used was;

ogr2ogr -f "MapInfo File" C:\DATA\asris_mi\QLD_COMBINEDSOILS_lyr.TAB

The resulting error is;

ERROR 1: IMapInfoFile::CreateField() called with unsupported field type
Note that MapInfo files don't support list field types.

I don't know what has gone wrong.

All the fields in the shapefile are text and numeric (double)


WARNING: This e-mail (including any attachments) may contain legally
privileged, confidential or private information and may be protected by
copyright. You may only use it if you are the person(s) it was intended
to be sent to and if you use it in an authorised way.  No one is 
allowed to use, review, alter, transmit, disclose, distribute, print 
or copy this e-mail without appropriate authority.

If this e-mail was not intended for you and was sent to you by mistake,
please telephone or e-mail me immediately, destroy any hardcopies of
this e-mail and delete it and any copies of it from your computer
system. Any right which the sender may have under copyright law, and 
any legal privilege and confidentiality attached to this e-mail is not 
waived or destroyed by that mistake.

It is your responsibility to ensure that this e-mail does not contain
and is not affected by computer viruses, defects or interference by
third parties or replication problems (including incompatibility with
your computer system).

Opinions contained in this e-mail do not necessarily reflect the
opinions of the Queensland Department of Main Roads, Queensland
Transport or Maritime Safety Queensland, or endorsed organisations
utilising the same infrastructure.

gdal-dev mailing list
gdal-dev at lists.osgeo.org
This message may contain privileged and confidential information.  If you are not the intended recipient of this message, you are notified that any use, dissemination, distribution or reproduction of this message is strictly prohibited.  If you receive this message in error, please notify Regis Resources Limited immediately.

More information about the gdal-dev mailing list