Skip to main content

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.

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".


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.

 

 


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


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.

 


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.

 

 


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.

 

 


Reply