Skip to main content
Question

FME quick translator

  • September 19, 2018
  • 2 replies
  • 125 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • October 24, 2018

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...


takashi
Celebrity
  • October 26, 2018

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"