使用Web服务获取地点的经度和纬度 [英] getting latitude and longitude of place using web service

查看:95
本文介绍了使用Web服务获取地点的经度和纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正在做一个基于Web管理的项目,用户在其中发送他的源和目的地.基于此,我需要计算旅程的总距离
并据此生成账单.
因此,现在我正在尝试首先获取源的纬度和经度,然后再针对目标进行相同的过程.根据距离,我将计算客户的总票价.


因此,如果有人知道如何获取经度或经度,请让我知道..
任何人都可以指导我,否则可以知道一些链接或任何建议.
我在互联网上搜索到它可以通过
完成 WebRequest和WebResponse,但我没有正确使用它




预先感谢
Arun R.V

Hello every one
I am doing a project based on web management where a user send his source and destination place .Based on that i need to calculate the total distance of journey
and generate bill based on that .
So now i am trying to 1st get the latitude and longitude of source and then same procedure for destination then . Based on distance i will calculate the total fare of a customer.


So if anybody know how to get latitude and longitude or else know to get distance its self please let me know it ..
Can anybody guide me or else know some links or any suggestions.
I searched in internet it is telling it can be done by
WebRequest and WebResponse but i didn''t got it properly




Advance Thanks
Arun R.V

推荐答案

检查此博客
http://forums.silverlight.net/t/235992.aspx/1 [ ^ ]
--NDK
check this blog
http://forums.silverlight.net/t/235992.aspx/1[^]
--NDK


尝试
http://create.msdn.com/zh-CN/education/quickstarts/Developing_with_the_Windows_Phone_GPS_% 28Location_Services%29 [^ ]
Try
Yahoo Geocoding API Service in Asp.Net 3.5 C# using WebClient class (Asynchronously)[^]
http://create.msdn.com/en-US/education/quickstarts/Developing_with_the_Windows_Phone_GPS_%28Location_Services%29[^]


也许这些会进一步帮助您:
- http://www. billsternberger.net/asp-net-mvc/latitude-and-longitude-lookup-with-jquery-c-asp-net-mvc/ [使用纬度和经度的位置之间的距离 [ Google地理编码API [
Perhaps these would help you further:
- http://www.billsternberger.net/asp-net-mvc/latitude-and-longitude-lookup-with-jquery-c-asp-net-mvc/[^]
- Distance between locations using latitude and longitude[^]
- The Google Geocoding API[^]


这篇关于使用Web服务获取地点的经度和纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆