Skip to main content
Released

Allow Dataset Fanout to Create Multiple Zip Files

Related products:FME Form
  • Nov 8, 2015 12:00 AM UTC
  • 7 replies
  • 91 views

takashi
Celebrity
Currently the Dataset Fanout cannot create multiple zip files. A workspace with this setting will archive all destination files into a single zip file, even if the value of "_fanout" varies depending on the features. Hope FME will do fanout zip archiving.

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.

7 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Nov 9, 2015 5:01 AM UTC
Definitely seems likea bug. I'll file it. See my full example attached -- I'd expect 4 zip files and not one once we're done executing.

 

badzip.fmw

takashi
Celebrity
  • Author
  • Nov 9, 2015 5:12 AM UTC

I don't consider it as a bug since this restriction is documented clearly.

"Note: You cannot create multiple zip files using Dataset Fanout (therefore, you cannot set the Fanout Suffix parameter to .zip)." -- Writing to a Zip File

My request is to remove the restriction ;)


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Nov 10, 2015 4:44 AM UTC
The Dev team advises they've fixed this today. I'd look for it in a 2016.0 beta late this week or early next.

takashi
Celebrity
  • Author
  • Nov 10, 2015 5:00 AM UTC

It's awesome! Thanks for the enhancement.


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Nov 22, 2015 12:11 AM UTC
I can confirm this is in the betas now. My little test workspace shows the new functionality in action -- I get 4 zip files, each with one feature, because I'm "fanning out" on the _creation_instance attribute.

 

 

badzip_1.fmw

takashi
Celebrity
  • Author
  • Nov 22, 2015 2:17 AM UTC

Thanks for the enhancement and the demo workspace. I confirmed that it works fine for a folder-based format wirter (ESRISHAPE), file-based format writer (TEXTLINE) and the File Copy writer with this workspace:

 

fanout-zip-demo-b16133.fmwt

Forum|alt.badge.img+1

This has been released as part of FME 2016.1 . Visit http://www.safe.com/downloads to download and try it.