Skip to main content
Solved

Problem translating shape files in batch


femo
Contributor
Forum|alt.badge.img+6
  • Contributor

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?

Best answer by david_r

Hi

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

David

View original
Did this help you find an answer to your question?

4 replies

david_r
Evangelist
  • Best Answer
  • April 6, 2016

Hi

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

David


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • April 6, 2016

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


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • April 6, 2016
takashi wrote:

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.


femo
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • April 6, 2016

Hi Takashi and David_r,

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings