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 VerverHave a look at the NeighborhoodAggregator and the use the CenterpointReplacer to replace the aggregate by 1 point in the center.
Have a look at the NeighborhoodAggregator and the use the CenterpointReplacer to replace the aggregate by 1 point in the center.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.