Question

Make loop of feature in folder

  • 3 November 2021
  • 2 replies
  • 15 views

I have also a folder with many features shp .

My goal ist to make at once a loop that for each features in the folder , i want to transforme in cad format , and eah feature will be store in differentes folders with the same name (the name oft he feature)

 


2 replies

Userlevel 4
Badge +30

Hi @kientegadesire4​ 

You can use the option File - New - Generate Workspace and enter with informations Reader and Writer:

capt_ 

For generate file each name, you can configure in the Writer - option fanout:

fmebasename 

 

Thanks in Advance,

Danilo

Userlevel 4
Badge +25

For the sake of completion, I'm posting my answer from another question, which I think applies here:

 

This webinar may help to explain looping in the context of FME: https://www.safe.com/webinars/to-loop-or-not-to-loop-overcoming-roadblocks-with-fme/

 

The important part is that you don't need a loop here. In fact, very few FME operations need a loop; you could say that they sort of have looping built-in. The webinar explains how it all works.

Reply