Skip to main content
Question

Is it possible to dynamically create an output port for each attribute value in my dataset?

  • August 18, 2022
  • 3 replies
  • 71 views

Forum|alt.badge.img

My dataset contains multiple points within different towns. For example, town A will have 30 datapoints and town B has 35. Can I automatically create output ports to group the relevant datapoints by each town without having to filter them all manually?

3 replies

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • August 18, 2022

What are you wanting to do with the features once you've 'split' them? I'd be having a look at utilising the groupby functionality - https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Group_Based_Transformers.htm


Forum|alt.badge.img
  • Author
  • August 19, 2022

The features will be appended to one or more postgis databases depending on the features. Thank you, I will look into this.


hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • August 21, 2022

The features will be appended to one or more postgis databases depending on the features. Thank you, I will look into this.

Also worth having a look at this - https://community.safe.com/s/article/dynamic-workflow-tutorial-introduction

 

The workflow you're describing is a simple dynamic flow