Skip to main content
Best Answer

hello experts, I am trying to make my workbench output the result data into an already existing folder of the same name as the data file. How can I implement something like this?

  • August 31, 2021
  • 2 replies
  • 27 views

fbastian73
Contributor
Forum|alt.badge.img+12

I have attached the actual workbench below. SO in more detail, what I am trying to do is to output fanned out (by council name) shape files and GDBs to an already existing folder (of the same name as the council name attribute) on a drive somewhere.

Is there a way to direct the output data to go into the different council folders when this workbench is run for all councils?

The intention is to place this in the server and then schedule it to run on a quarterly basis.

any thoughts?

thanking you in advance.

Best answer by virtualcitymatt

Yes, should be doable - Check out Dataset Fanout: https://community.safe.com/s/article/fanout-1

This is probably the easiest method.

 

Another good option if the fanout option isn't doing what you want is to swap out the traditional writers for FeatureWriters. The output location can be easier to handle in the FeatureWriter and seems more flexible.

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.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • Best Answer
  • August 31, 2021

Yes, should be doable - Check out Dataset Fanout: https://community.safe.com/s/article/fanout-1

This is probably the easiest method.

 

Another good option if the fanout option isn't doing what you want is to swap out the traditional writers for FeatureWriters. The output location can be easier to handle in the FeatureWriter and seems more flexible.


fbastian73
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • September 1, 2021

thanks virtualcitymatt, I had seen that link before. however, I couldn't achieve the outcome i was looking for. Not to worry though as I think I will change my approach.

thank you for your help anyway. At least I have learned to use the featurewriter transformer.

cheers.