Joining lat/lon data frames by nearest distance Let’s say I have a regular latitude/longitude grid and data at irregular locations, like this: