Skip to main content

Hello, everyone. I have points (attributes: X, Y, ID) and I want to merge points that are under 50 m distance and new point should have attributes ( new_ID, X, Y, all id of the points from which the new point was created) and if there is a duplicate point, also making one with attributes ( new_ID, X, Y, all id of the points from which the new point was created)

 

Thanks a lot.

Have you considered the NeighborhoodAggregator? Make sure to activate "Generate list" to keep the attributes from the merged points.

You can then use e.g. use a CenterPointReplacer to generate a new point in the middle of the merged points.


One option is to buffer all your points by the required distance, then dissolve the buffered output together, making sure to generate a list when you do this, then a CentrePointReplacer to get back to a point again.


Reply