Skip to main content
Question

changing amount of input layers


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.

3 replies

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

takashi
Evangelist
  • 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!

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