Skip to main content
2 of 2
formatting, spelling, added tag
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

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

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:\Temp\Struer\TEST.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?