Skip to main content
Question

changing amount of input layers

  • August 25, 2014
  • 3 replies
  • 36 views

Hi,

 

 

I've created a workbench which has 3 input datasets. I would like to make it as universal as possible. Sometimes my datasets can be divided in to several shape files. If I created the workbench with only 1 shape file for each input dataset, it wont work if I put more shape files per dataset in the "prompt and run translation".

 

 

My work around has been to add new readers, but I would like to be able to do this directly with the prompt if possible.

 

 

Thanks for any ideas.
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.

3 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • August 25, 2014

takashi
Celebrity
  • August 26, 2014
Hi,

 

 

In addition, see also Single Merged Feature Type (or Merge Feature Type) option.

 

Adding Readers to the Workspace (http://docs.safe.com/fme/html/FME_Workbench/Default.htm#adding_source_datasets.htm)

 

Merging Feature Types (http://docs.safe.com/fme/html/FME_Workbench/Default.htm#Merging_Feature_Types.htm)

 

 

Takashi

  • Author
  • August 26, 2014
Thank you so much for your support! I was thinking something too complicated. The solution was to have a folder for each of the 3 unique datasets, and then simply map to the folder and have *.shp. Then of course it no longer mattered did I have one or 20 layers when I ran the model.

 

 

Your inputs pushed me in the right direction!