Skip to main content

Apologies for asking what I expect is going to be a very basic question. However I would like to read all files of a particular format (eg dxf) in a folder, apply a coordinate reprojection to them and then output them to a different folder. To read the files from a particular folder I believe I would use the Directory and File Pathnames Reader? To apply the reprojection transformation I would use the csmapreprojector, however to write the many files (eg dxf) out to a different folder I am not 100% of the methodology (and or writer) for that.

Many thanks in advance

You can set one or more folders as Dataset of the writer to read all dxf files under the specified folder(s).

Regarding how to output multiple files, see the Fanout functionality.

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/Workbench/fanout_about.htm


I have same question, understand that the reader can show a folder that contains say 5 files how do I write out 5 files to an output folder, I cant see the equivalent "select multiple folders\\files" on the writer


I have same question, understand that the reader can show a folder that contains say 5 files how do I write out 5 files to an output folder, I cant see the equivalent "select multiple folders\\files" on the writer

The equivalent would be something called a "fanout". Look for the fanout option on the writer parameters in the Navigator window. You choose an attribute that defines the name to write to. Usually it is the same as the incoming dataset; eg fme_dataset


The equivalent would be something called a "fanout". Look for the fanout option on the writer parameters in the Navigator window. You choose an attribute that defines the name to write to. Usually it is the same as the incoming dataset; eg fme_dataset

Hi @mark2atsafe​ wondering is it possible to fan out on multiple tables of a server for similar type of transformation task?


Reply