Skip to main content
Question

How to create multiple features?

  • April 21, 2017
  • 8 replies
  • 163 views

Forum|alt.badge.img

Dear FME-Users,

 

 

I’d like to create multiple features (e.g. shapefiles) from multiple input rasters. For instance: I’ve 3 input raster and I’d like to have 3 features as output.

 

 

But it does not work, I get just 1 output-feature as result.

 

 

You’ll find my FME-workflow in the attachment.

 

 

Thank you very much and best regards. :)

 

 

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

8 replies

david_r
Celebrity
  • 8392 replies
  • April 21, 2017

You need to do a fanout on your writer based on an attribute unique to each output file. You can e.g. use a Counter if you just need an incrementing filename.

Example:


Forum|alt.badge.img
  • Author
  • 62 replies
  • April 21, 2017

You need to do a fanout on your writer based on an attribute unique to each output file. You can e.g. use a Counter if you just need an incrementing filename.

Example:

It seems that just the name of input files are differnt. I really need to do a fanout? I've 72 files.

 

 


david_r
Celebrity
  • 8392 replies
  • April 21, 2017

You can try fanning out based on the "fme_feature_type" attribute. You may have to expose it on the reader first, if it's not visible in the workspace.


Forum|alt.badge.img
  • Author
  • 62 replies
  • April 21, 2017

I’ve tried „fme_basename“, now it works. :) Thank you very much @david_r.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • April 21, 2017
In that case use the fme_basename (raster file name), just make sure to expose it in the reader.

 

 


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • April 21, 2017
It seems that just the name of input files are differnt. I really need to do a fanout? I've 72 files.

 

 

In that case use the fme_basename (raster file name), just make sure to expose it in the reader.

 

 


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • April 21, 2017

I’ve tried „fme_basename“, now it works. :) Thank you very much @david_r.

glad I also could help.

 

 


Forum|alt.badge.img
  • Author
  • 62 replies
  • April 25, 2017
glad I also could help.

 

 

Yes @itay thank you very much too. :)