Category: Spatial Data
-
SQL Server Spatial Data: Finding and Ordering Distance Between 2 Points
It’s pretty common to want to find the distance from a certain location to a location stored in your database. For example, in the Home Depot or Walmart website you might want to find the closest store. The locations of all of the stores will be stored in a database, and then given your location…