Skip to main content
Tweeted twitter.com/StackGIS/status/1288398882439860225
formatting, spelling, added tag
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

Mapinfo MapInfo tab files with LargeInt cantcan't be converted to qgis ogQGIS or any other format

I am trying to convert a mapinfo layerMapInfo 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 mapinfoMapInfo. 

Then iit 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?

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

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?

Source Link

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