SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 SQLGeography Assistance
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ddamico
Yak Posting Veteran

76 Posts

Posted - 05/10/2013 :  08:37:04  Show Profile  Reply with Quote
Good day.

I am working with the SQLGeography class and objects to do some work with distance. The area where I am coming up a bit short of finding a clearly defined example of the methods need to achieve finding the bounding box from a lat/lon point.

As an example I have a give coordinate point (1,1) and want to find the Max/Min Lat & Lon 50 miles away.

I would then use these two points to find all records that fall within this box (circle). I have 8,100 locations in which to do this and the 250 million candidate records this will help get the dataset into a manageable size before calculating the actual distance.

We have our own functions that we use now but I would like to try an leverage the SQL Server functionality because from what I am reading it seems to be more accurate in.

Thanks. Dan
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000