Select to view content in your preferred language

Looking for the right Analytics

458
4
07-20-2023 05:44 AM
Labels (3)
Student123321
New Contributor II

Hey Guys, 

Sry in advanved for my Bad english. 

I have a Point layer with around 60000 Features. And I want a new attribute which shows me how many features in a range of 300 m of each feature. Anyone have a Idea how to do that? I couldnt find any good Analytic function. And my phytoncode didnt work as well. 

Thank you

4 Replies
JohannesLindner
MVP Frequent Contributor

Summarize Nearby


Have a great day!
Johannes
0 Kudos
Student123321
New Contributor II

I will try that one.

Ty for the quick answer and have a great day too!

0 Kudos
Student123321
New Contributor II

I tried "Summerize Nearby". And I wanted him to summery atributes within the range I entered. I had i.e. 2 Features in that range and the atribute "hight" in bothes Features were 1 . The Result suppode to be 2. But but in the new atrubte field it says 1,99989.  Can someone explain me , why it is like that?

0 Kudos
JohannesLindner
MVP Frequent Contributor

Because your height attribute is a floating point number and doing calculations on floating point numbers in the binary system  is imprecise.

 

If you want further information why this is the case, here are two good starting points:

https://stackoverflow.com/questions/588004/is-floating-point-math-broken

https://stackoverflow.com/questions/21895756/why-are-floating-point-numbers-inaccurate

 


Have a great day!
Johannes
0 Kudos