Hi Brett,
I do this sort of thing regularly (shapefiles -> MID/MIF, though) so I'm surprised at the issues you are having. Please post the ogr2ogr command-line you are using, and, if ok, maybe a sample of the shapefile.

Have you tried saving as another format? That may tell you if your shapefile is the problem.
Regards,
Zoltan


On 2014/06/11 08:43, Brett Adams wrote:

Thanks Ross.

Downloaded ogr2ogr. Program ran, created TAB files but they were empty. Does that mean there is a problem with the SHP file?

Read through the other web sites couldn't see anything obvious, which it would need to be for me to figure it out.

No matter, might hold out for 2.4.  Should update at some stage I guess.

Thanks Again

brett

*From:*Ross McDonald [mailto:r...@mixedbredie.net]
*Sent:* Wednesday, 11 June 2014 2:02 PM
*To:* Brett Adams; 'qgis-user'
*Subject:* Re: [Qgis-user] TAB file export

Hi Brett

Can you convert the shapefile to mapinfo (TAB or MIF/MID?) on the command line with ogr2ogr?

Can you upgrade to QGIS 2.2 or wait a couple of weeks for 2.4? It uses a new version of GDAL/OGR.

Have you checked http://www.gdal.org/drv_mitab.html for possible error sources? And see http://osgeo-org.1560.x6.nabble.com/gdal-dev-Unable-to-create-MApInfo-tab-File-td5095559.html for the same error but no solution :-(

Ross

On 11/06/14 06:23, Brett Adams wrote:

    Hi folks,

    Trying to save a SHP file as a TAB file.

    SHP file contains attributed points.

    I keep getting  an error

    Export to vector file failed.

    Error: Feature write errors:

    Feature creation error (OGR error: Failed writing geometry for
    feature id 1 in

    Attempted procedure is

    Layer >>Save As >>   Format = Mapinfo

    I have "Encoding = System"

    Running 1.8 Lisboa on W7-64

    What am I doing wrong????

    *Brett Adams*

    *Spinifex Geophysics*

    *0438 861 974*




    _______________________________________________

    Qgis-user mailing list

    Qgis-user@lists.osgeo.org  <mailto:Qgis-user@lists.osgeo.org>

    http://lists.osgeo.org/mailman/listinfo/qgis-user



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


--

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:    +27-86-6115323     www.geograph.co.za
===========================================

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to