I have a table in SQL Server that contains GPS "tracks" stored as latitude / longitude Decimal
columns. A track is simply a series of connected points that are recorded by the GPS.
When adding a new track I need to query the database to see if it matches any existing tracks. Since recorded GPS coordinates are not exactly the same, it must allow for an error margin. Can anyone suggest an efficient way to do this?