Skip to main content
Hi,

 

I've a feature that contains 100 regions and i'd like to get shp file writer for each region. I use TestFilter transformer to do it but i must set TestCondition 100 times (If @Value(regionId)=1 else if If @Value(regionId)=2 else if ....).

 

Is there other solution ?

 

Thanks an advance.

 

Farfar
Hi,

 

 

how about using a dataset fanout on the value of RegionID?

 

 

http://docs.safe.com/fme/html/FME_Workbench/Default.htm#Setting_Dataset_Fanout_Properties.htm

 

 

David
Hi,

 

 

If you want to separate output directories based on the region, try setting the Dataset Fanout Properties as David suggested. But if you want to separate output files in a single directory, take a look at the Feature Type Fanout Properties.

 

 

Takashi
Yes, it works.

 

Thanks

Reply