I'm learning Python and this has been a bit of a challenge!
My DataFrame looks like this below.
name geometry
0 Uimastadion POINT (24.93045 60.18882)
1 Hartwall Arena POINT (24.92918 60.20570)
2 Talli POINT (24.92607 60.21346)
I would like to create some sort of function on Python that takes an input (an address or name of a single point) then returns the nearest (say 10 0r 100) neighbors including their distances.
I've found this below but its not what I'm looking for.
https://automating-gis-processes.github.io/site/notebooks/L3/nearest-neighbor-faster.html
How can I do this?
get_nearest
accepts a parameter for the number of nearest neighbors? – rickhg12hs Jan 28 '20 at 19:12