Skip to main content
Solved

How to read a shapefile inside a zip file (in two levels)


I have to read several shapefiles that are in a second level zipped file. As an example:

C:\\compressed1.zip \\compressed2.zip\\ layer.shp

 

I get to reach the first level but when I try to reach the second level, FME gives me failures.

Any idea? Thank you very much

Best answer by nielsgerrits

Not sure if this can be done with a Reader/FeatureReader but you can use the ZipExtractor from the FME hub to achieve this.

"If you set "Yes" to the "Unzip Nested Zip Files Recursively" parameter, this transformer unzips all the nested zip files recursively."

View original
Did this help you find an answer to your question?

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • April 11, 2022

Not sure if this can be done with a Reader/FeatureReader but you can use the ZipExtractor from the FME hub to achieve this.

"If you set "Yes" to the "Unzip Nested Zip Files Recursively" parameter, this transformer unzips all the nested zip files recursively."


  • Author
  • April 11, 2022
nielsgerrits wrote:

Not sure if this can be done with a Reader/FeatureReader but you can use the ZipExtractor from the FME hub to achieve this.

"If you set "Yes" to the "Unzip Nested Zip Files Recursively" parameter, this transformer unzips all the nested zip files recursively."

It's not exactly what I want to do, but your review is a great help and with a Tester I've managed to do it.

Thank you very much for your help.


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