Question

changing amount of input layers

  • 25 August 2014
  • 3 replies
  • 0 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.

3 replies

Userlevel 3
Badge +13
Hi,

 

 

Try some of the options available via the advanced brouwser (http://docs.safe.com/fme/html/FME_Workbench/Default.htm#Merging_Similar_Datasets.htm%3FTocPath%3DFME%20Workbench|Readers%20and%20Writers|_____4).
Userlevel 2
Badge +17
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
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