Skip to main content
Easy...1259 .000 files to be written to 1259 .geojason files. I want to keep the file names the same (with the extension changed naturally). So file1.000 becomes file1.json etc etc.

Hi @jhawks,

Have a look at the fme feature attributes fme_feature_type or fme_basename.

You can use them in the writer fanout.

Hope this helps,

Itay


What do you put in the writer for the file name? Seems like it would have to be either a wildcard or an argument. C:\\geojson\\*.json ?


What do you put in the writer for the file name? Seems like it would have to be either a wildcard or an argument. C:\\geojson\\*.json ?

Yeah, very similar. Just select the fme_basename for the writer file name. This then takes the file name of the input files and outputs files with the same name in the folder you've selected for your writer.


Reply