Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got mobile my current geolocation (long./lat.) , i will store this geolocation online in a sql server 2008 or 2012 Database. How can i check that i not already have this location (maybe in an radius of 100 meter) saved ?
If i have already the location , i don't save it.
Later i will show all locations on a bing map.
Posted
Comments
gvprabu 23-Apr-13 4:26am    
Hi,
Check the link...
http://stackoverflow.com/questions/7409051/why-use-the-sql-server-2008-geography-data-type
Google it you willget the solution.

It's actually quite easy to do this. You are using sql server 2008 and this database supports the geography data type. Using this datatype you can easily query data like you ask for (radius of 100 meter etc)

Getting Started with the geography Data Type[^]
 
Share this answer
 
There is an article here on this site:

Search term, cp Article(tick) on "spatial geo"

[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900