Skip to main content
1 of 2

Mapinfo files with LargeInt cant be converted to qgis og any other format

I am trying to convert a mapinfo layer 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:\Temp\Struer\TEST.TAB is not a valid or recognized data source.

I tried this

Change the LargeInt to Integer in mapinfo. 

Then i 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