Skip to main content
Solved

Error when reading MapInfo TABs from ZIP ?

  • February 21, 2017
  • 6 replies
  • 29 views

lifalin2016
Supporter
Forum|alt.badge.img+39

Hi,

I'm trying to read a number of MapInfo tab files from a ZIP file, which errs in several mysterious ways.

Here's what I try to accomplish:

Here's the error in the translation log:

Here's some of the content of the ZIP file (using 7z):

Firstly, the translation log states that FME uses MITAB although I clearly have chosen MapInfo's own method (unless only MITAB is available nowadays and the original name is now an alias?).

Secondly, why doesn't the opening of TAB files in the ZIP err at all ? Is there a limition wrt. the TAB format ?

I've just the same notation to extract (large) XML files from a ZIP, which works nicely.

Or is it perhaps the cipher-leading folder name ("1082") that is the cause of the error ?

Cheers.

Lars I.

Best answer by lifalin2016

Hmm, there may be a problem with the ZIP itself, which would explain the error. I'll return when I know more about it.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

takashi
Celebrity
  • February 21, 2017

Hi @lifalin2016, I don't think you need to specify the sub folder path within the zip file. Try setting just "H:\\user\\<truncated>\\1082_<truncated>_FOT.zip".


lifalin2016
Supporter
Forum|alt.badge.img+39
  • Author
  • Supporter
  • February 21, 2017

Hi @lifalin2016, I don't think you need to specify the sub folder path within the zip file. Try setting just "H:\\user\\<truncated>\\1082_<truncated>_FOT.zip".

True, if I wanted every table in the ZIP. But I only want the TABs under the "FOT" folder.

 

 


lifalin2016
Supporter
Forum|alt.badge.img+39
  • Author
  • Supporter
  • Best Answer
  • February 21, 2017

Hmm, there may be a problem with the ZIP itself, which would explain the error. I'll return when I know more about it.


takashi
Celebrity
  • February 21, 2017
True, if I wanted every table in the ZIP. But I only want the TABs under the "FOT" folder.

 

 

As far as I know, the current FME does not support filtering files within a zip archive unfortunately.

 


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • February 21, 2017
As far as I know, the current FME does not support filtering files within a zip archive unfortunately.

 

True, there is no work around yet then reading all. another option is to unzip the specific folder and then read its content.

 

 


lifalin2016
Supporter
Forum|alt.badge.img+39
  • Author
  • Supporter
  • February 21, 2017

Hmm, there may be a problem with the ZIP itself, which would explain the error. I'll return when I know more about it.

Apparently the site from which the ZIP were fetched are having a host of problems. The two ZIPs I fetched were both errornous. After I refetched them, they seems ok, and the reading works.

 

 

I'll delete this unnecessary question, and ask the MITAB issue in a separate question.