Skip to main content
Question

Merge or filter points that have a common attribute value and are spatially close

  • September 11, 2017
  • 2 replies
  • 20 views

pimververgmail

I have a couple of thousand points that have a number as attribute. Some of those points are

- close to each other - also have the same number Note: there are also points that have the same number but are far apart. I want to merge all points that match both conditions into 1 point So far I have set a neighbourfinder transformer, which groups the points by number and then finds the closest points (max 4). But how do I merge the resulting related points into 1?Any suggestions are welcome. Kind regards,Pim Verver

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • September 11, 2017

Have a look at the NeighborhoodAggregator and the use the CenterpointReplacer to replace the aggregate by 1 point in the center.


david_r
Celebrity
  • 8394 replies
  • September 11, 2017

Have a look at the NeighborhoodAggregator and the use the CenterpointReplacer to replace the aggregate by 1 point in the center.

Agree. Most importantly, use your common identifier as the Group By in the NeigborhoodAggreator (or NeighborFinder, if you prefer).