Skip to main content
Solved

How to calculate clusters or density by counting neighbors within a set distance?

  • October 12, 2018
  • 1 reply
  • 55 views

dataninja
Forum|alt.badge.img

I have one file which contains over 500 points. I would like to use the transformer "Neighbor Finder" to count neighbors (points) for each point with 50 meters. How do I do that? Thanks so much in advance.

Best answer by hollyatsafe

Hi @trungn1993,

In the NeighborFinder set:

Input: Candidates Only

Number of Neighbors to Find: <blank>

Maximum Distance: 50 (this parameter uses the units of your coordinate system so make sure this is in meters)

Under Attribute Accumulation, Check Generate List and set the Selected Attributes to an attribute that uniquely identifies each point.

The points from the matched port will then hold a list of every neighbour point it has found.

View original
Did this help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • Best Answer
  • October 12, 2018

Hi @trungn1993,

In the NeighborFinder set:

Input: Candidates Only

Number of Neighbors to Find: <blank>

Maximum Distance: 50 (this parameter uses the units of your coordinate system so make sure this is in meters)

Under Attribute Accumulation, Check Generate List and set the Selected Attributes to an attribute that uniquely identifies each point.

The points from the matched port will then hold a list of every neighbour point it has found.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings