Skip to main content

I would like to convert ecw files into other raster formats, and since I do not know what output format other users prefer, I would like to provide a public user parameter with a list of available raster formats in FME, and use the parameter to specify the format used in the FeatureWriter.

 

Looking at the FeatureWriter I cannot see the possibility of dynamic, or even a selection of output formats. It also seems rather cumbersome to get a list of all raster formats FME is able to write.

 

Is there a possibility to tweak the FeatureWriter to take the format from a user parameter list?

I think you on the Feature writer, may need to select Format = Generic (Any Format).

You can specify the datasets as something.zip

dynamic_anyFormatObviously a dynamic writer needs the Schema and featuretype ports connected to the FeatureWriter

You can setup a User Paramater > Choice.

Populate the dropdown by "Import"ing them from Writer Formats

ImportingFormatWriterTick them on imageImportantly, the any format generic 'paramater's you'll need to set the User Parameter for the output formatimageor in the example above, I used a parameter fetcher to make an attribute and passed that to the writer


Thanks a lot guys!


Reply