Skip to main content

All Questions

Tagged with
8 votes
1 answer
91 views

Finding closest points without duplicates and given distance threshold

Given a bunch of latitudes and longitudes stored as Points, I would like to determine the points that are closest to each point given some maximum threshold in meters. This is my first stab at this: <...
cs0815's user avatar
  • 673
2 votes
2 answers
4k views

Haversine formula in SQL

This is an implementation of the Haversine formula in Microsoft Transact SQL. How can I simplify the function? ...
kyle k's user avatar
  • 1,517
1 vote
2 answers
92 views

Store procedure timing out sometimes

Can someone please find out why this store procedure is timing out? ...
Imran Qadir Baksh - Baloch's user avatar