Skip to main content
Question

Make loop of feature in folder

  • November 3, 2021
  • 2 replies
  • 126 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

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • November 3, 2021

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


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 5, 2021

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.