Solved

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

  • 11 April 2022
  • 2 replies
  • 18 views

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

icon

Best answer by nielsgerrits 11 April 2022, 15:03

View original

2 replies

Userlevel 6
Badge +32

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

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.

Reply