TransWikia.com

MapInfo tab files with LargeInt can't be converted to QGIS or any other format

Geographic Information Systems Asked on November 5, 2020

I am trying to convert a MapInfo tab file with ogr2ogr

I did this:

ogr2ogr -f "ESRI Shapefile" testing.shp TEST.tab

And get this error;

ERROR 3: Failed to parse field definition at line 8 in file TEST.tab

    FAILURE:
    
    Unable to open datasource `TEST.tab' with the following drivers
    oid LargeInt ;

QGIS gives me this error when adding a vector layer:

Invalid Data Source: C:TempStruerTEST.TAB is not a valid or recognized data source.

I tried this:

Change the LargeInt to Integer in MapInfo. 

Then it works fine.

So it seems like there is a problem with the LargeInt type.

Is it GDAL that can’t handle this or does anyone knows a workaround?

2 Answers

GDAL's mitab module indeed does not know about the LargeInt type.

Until that support has been added to GDAL, you have to use a different type.

Answered by CL. on November 5, 2020

There is a GDAL plugin available here that adds support for the Extended MapInfo TAB format.

Answered by cary on November 5, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP