Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 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  
 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.03 seconds. Powered By: Snitz Forums 2000