Are you using SparkSQL for the join? In that case I'm not quiet sure you have a lot of options to join on the nearest co-ordinate. If you are using the normal Spark code (by creating key-pair on lat,lon) you can apply certain logic like trimming the lat,lon etc. If you want more specific computing then you are better off using haversine formula. <http://www.movable-type.co.uk/scripts/latlong.html>
- Joining data using Latitude, Longitude Ankur Srivastava
- Re: Joining data using Latitude, Longitude Akhil Das
- Re: Joining data using Latitude, Longitude John Meehan
- Re: Joining data using Latitude, Longitude Andrew Musselman
- Re: Joining data using Latitude, Longitu... Manas Kar
- Re: Joining data using Latitude, Lo... Ankur Srivastava
- Re: Joining data using Latitude... Ankur Srivastava