New answers tagged bounding-rectangle
Below is T-SQL code that I use for building bounding box in SQL-Server 2012. In my case I get decimal values for Lat, Long. I use this to quickly limit number of rows before I use SQL STDistance function to verify that results are actually within particular distance. Geography functions are very costly in SQL Server thus by building bounding box I'm able to ...
Top 50 recent answers are included