I have a dataset containing cities and gps coordinates:
Amsterdam 52.221537 6.893662
Enschede 52.370216 4.895168
And different weather stations;
Schiphol 52.307687 52.307687
Almelo 52.367027 6.668492
What I would like to do now is link these cities with a weather station that is most nearby. So the city of Amsterdam should be linked with Schiphol and Enschede with Almelo.
I assume I have to apply some kind of KNN like algoritm here. Any feedback on a package that I can use to match stations and cities easily?