Question

How do I make a multipoint feature from 2 points

  • 22 April 2016
  • 2 replies
  • 25 views

Badge

Okay, simple question. I have a handful of features that have 2 locations. I've got the first point geometry and can retrieve the second point geometry. I've tried a FeatureMerger but that appears to replace the point, I've use a VertexCreator to add the point, but this just makes a line geometry. So, any ideas anyone?


2 replies

Badge

No worries, figured it out before my question passed moderation. Sent the original geometry features, and the features plotted to the second location both into an aggregator, aggregating by the unique key on the features, and it made the multipoint features.

Userlevel 2
Badge +16

FeatureMerger would work too as long as you set the geometry handling to create aggregates.

Reply