Skip to main content
Question

Ignore Failed Readers when reading a Zip file with FME 2013 b13261


geolassi
Contributor
Forum|alt.badge.img+5
Hi!

 

 

I'm trying to set up a workspace with three Readers: TAB, MIF/MID and Shape. I've published a parameter, which contains the path to a zip file. The zip file could contain either TAB, MIF/MID or Shape files. If the zip file has only Shape files, the TAB Reader fails and gives an error. I would like FME to ignore failing readers. Setting up the parameter Ignore Failed Readers to Yes doesn't seem to have an effect.

 

 

BR,

 

Lassi

4 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • January 23, 2013
What about using a generic reader, will that solve the issue? and then afterwards split the features in the workspace based on fme_basename if needed?

geolassi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 23, 2013
Problem with generic reader is that it doesn't support zip files.

geolassi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 23, 2013
Actually it might be bug. I tested this with a single Shape reader, and dataset D:\\Temp\\empty\\*.shp. The folder empty doesn't contain any files. The parameter Ignore Failed Readers doesn't have any effect. Even though it should, when looking at this article: http://fmepedia.safe.com/articles/FAQ/Ignoring-Source-Datasets

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • January 23, 2013
You are right regarding the generic reader does not support zip-files. Safe: I assume a ZIP-file should be handled the same as any directory and that you can put this as a request for 2013SP1?

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