Question

FME quick translator

  • 19 September 2018
  • 2 replies
  • 17 views

How can i run fme quick translator using cmd and perform conversions without defining fmw file.


2 replies

Badge +14

I'm not really sure that's the approach you should be taking. Starting the Quick Translator is possible from the command line by typing 'fmequicktranslator' but there's no way to pass in parameters to control the "translation". If all you want is an extremely flexible translation tool that will cope with processing data between any input format and any output, you'd be much better adding a Generic Reader and a Generic Writer to an FME Workspace and setting it to dynamic mode and then call that on the commandline by starting FME and passing in the relevant parameters, such as:

        C:\_FME\fme.exe C:\_FME\FME_TEMP\myfme.fmw
              --SourceDataset_GENERIC "C:\FMEData2018\Data\Parks\Parks.tab"
              --DestDataset_GENERIC "C:\FMEData2018\Output"
              --FORMAT_GENERIC "OGCKML" 

FME is all about running Workspaces, as they contain all the rules to govern your ETL process...

Userlevel 2
Badge +17

The "GENTRANS" command for FME engine (fme.exe) might be what you are looking for. Try running a command line with this syntax.

<FME_HOME>fme.exe GENTRANS <sourceformat> <sourcedataset> <destformat> <destdataset>

Example:

"C:\Program Files\FME\fme.exe" GENTRANS MITAB "C:\tmp\data\sample.tab" ESRISHAPE "C:\tmp\result"

Reply