Skip to main content
Solved

Problem translating shape files in batch

  • April 6, 2016
  • 4 replies
  • 20 views

femo
Contributor
Forum|alt.badge.img+6

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

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.

4 replies

david_r
Celebrity
  • Best Answer
  • April 6, 2016

Hi

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

David


takashi
Celebrity
  • April 6, 2016

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


takashi
Celebrity
  • April 6, 2016

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!