Skip to main content
Question

Errors when translating TAB files to shape files?


Hi there

When I try to translate some TAB files to shape files in FME, I keep getting the errors:

  • ERROR 3: InitBlockFromData(): Invalid Block Type: got 0 expected 2
  • ERROR 5: GetNextFeatureId() failed: unable to set read pointer to feature id 1
  • GetNextFeatureId() failed: unable to set read pointer to feature id 1
  • Closing native MapInfo reader
  • Failed reading feature from MapInfo file

Could anyone please tell me what this means?

    2 replies

    erik_jan
    Contributor
    Forum|alt.badge.img+19
    • Contributor
    • May 24, 2016

    Could it be you use the wrong Reader? FME has 2 different readers for TAB files: One for older versions (MAPINFO), one for newer (>3) versions (MITAB).


    Forum|alt.badge.img

    Hi @timlangner

    I agree with @erik_jan - it is a good idea to try another MapInfo Reader. I have seen GetNextFeatureId() failed: unable to set read pointer to feature id 1 error message before and in that case the data was not perfect (it looked like there were some 'lost' geometries in the map-file) - MapInfo itself was able to read the table, so was the MAPINFO Reader, but MITAB Reader was failing.


    Reply


    Cookie policy

    We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

     
    Cookie settings