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.
Cheers Dale Harris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, 5 December 2008 1:35 PM To: [email protected] 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 "C:\DATA\asris_mi\QLD_COMBINEDSOILS_lyr.TAB" The command I used was; ogr2ogr -f "MapInfo File" C:\DATA\asris_mi\QLD_COMBINEDSOILS_lyr.TAB C:\DATA\asris_shp\QLD_COMBINEDSOILS_lyr.shp The resulting error is; ERROR 1: IMapInfoFile::CreateField() called with unsupported field type 9. 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) Regards, nick *********************************************************************** 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 [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev 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. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
