Skip to main content
Hi all,

 

 

As a newbie, I'm having a hard time getting my head around a possible simple task. I need to write features to different destination folders created at runtime.

 

 

My workspace basically generates per feature an unique id (uuid), stores it as attribute and creates in a published directory a subfolder with that name. The next step would be to write each feature in its newly created subfolder as a SHAPE. I couldn't figure out a way to define the writer's destination at runtime. I already unsuccessfully tried a fanout

 

 

I expect this task to be rather a standard situation but, due to my lack of experience, didn't find a solution. Your help is greatly appreciated!

 

 

Cheers,

 

Alain

 

 
Hi,

 

 

sounds like a case for the dataset fanout (http://fmepedia.safe.com/articles/How_To/Fanout#heading_toc_j_2).

 

 

David
Thanks David, it's working now like a charm! I wasn't using the fanout properly (feature type instead of dataset fanout) and did only get filenames as concatenated but no subfolders. Thanks for the quick help!

Reply