在100公里半径范围内查找纬度经度 [英] Find latitude longitude within 100 km radius
问题描述
Hello All .......
我是Asp.Net WCF REST Web服务开发的新手..........
我正在使用 Asp.Net WCF REST Web服务应用程序,它使用c#和MS SQL Server 2008 R2作为数据库。我想要一个距离指定位置100公里范围内的位置列表。我有一个存储在数据库表中的纬度和经度列表。我想在服务中找到一个方法,找出指定纬度为100公里半径范围内的纬度列表。
As这是Web服务,所以我认为代码必须用c#或sql存储过程编写。
有人可以帮我执行吗?
提前致谢。
- 问候
Hello All.......
I am new in Asp.Net WCF REST Web Service development..........
I am working on Asp.Net WCF REST Web Service application which is using c# and MS SQL Server 2008 R2 as database. I want to have a list of locations within 100 km radius from a specified location. I do have a list of latitude and longitude stored in a table of database. I want to have one method in service which finds out the list of lat long within 100 km radius from a specified lat long.
As this is the Web service, so I think the code must be written in c# or sql stored procedure.
Can anybody help me to perform this?.
Thanks in advance.
- Regards
推荐答案
我不知道如何计算特定纬度的100公里半径。
然后从Google开始:< a href =https://www.google.co.uk/search?q=radius+for+a+particular+lat+long&oq=radius+for+a+particular+lat+long&aqs=chrome。 .69i57& sourceid = chrome& es_sm = 0& ie = UTF-8>半径特定纬度 - Google搜索 [ ^ ]
将来,请尝试自己做至少基础研究 - 否则你就是在浪费你的(和我们的)时间。
"I do not know how to do calculations for 100 km radius for a particular lat long."
Then start with Google: radius for a particular lat long - Google Search[^]
In future, please try to do at least basic research yourself - otherwise you are wasting your (and our) time.
这篇关于在100公里半径范围内查找纬度经度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!