3

I'm not familiar with FME, so normally I only use auto-generate.

Because I need to extract the filename and put it as an attribute in the shp file, so I try to add the transformer like this.

enter image description here

But the ouput file is duplicate data like this

How do I fix that?

enter image description here

1 Answer 1

5

In your dataflow you have split the data into two streams so you are writing each feature twice.

To fix:

  1. Remove the connection between your reader and the geometryfilter.

  2. Change the output of the filename extracter to connect into the geometryfilter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.