Solved

Problem translating shape files in batch


Badge

Hi,

I want to run a script several times. Every time the input data changes.

 

I thought, this could nicely be done by triggering FME by means of a commandline batch.

 

However, when i start the batch, only the dataset which is connected within the workbench is used.

 

It seems, as if the sourcedatasets from the command lines are ignored. The parameters I have copied from the first lines in the log window. I have simplified the attached workbench to the key issue of importing and writing a shape file. Also attached you find the batch file and some data.

Any ideas?

icon

Best answer by david_r 6 April 2016, 10:58

View original

4 replies

Userlevel 4

Hi

When creating the reader, remember to specify using a single merged feature type:

David

Userlevel 2
Badge +17

Hi @femo, you may have to check Merge Feature Type option in the reader feature type.

Userlevel 2
Badge +17

Hi @femo, you may have to check Merge Feature Type option in the reader feature type.

oops, my answer duplicated with @david_r's suggestion. Both are the same.

Badge

Hi Takashi and David_r,

that was the issue! Thank you a lot for the quick support!

Reply