在.NET Windows应用程序中获取基于纬度和经度的位置地址 [英] Get the location address based on latitude and longitude in .NET windows application

查看:93
本文介绍了在.NET Windows应用程序中获取基于纬度和经度的位置地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在学校驾驶室管理项目,我需要跟踪车辆运动。 GPS跟踪设备固定在车辆上,它将经常发送纬度和经度读数。现在我的任务是获取具有该读数的位置地址/名称,因为我需要在Windows应用程序中开发它是问题所在。

我在网上看到它全部基于使用JSON概念的Web应用程序。但是Windows中的JSON ????

这是我看到的链接:

https: //developers.google.com/maps/documentation/geocoding/#ReverseGeocoding [ ^ ]

https ://developers.google.com/maps/documentation/javascript/v2/services#Geocoding [ ^ ]

https://developers.google.com/maps/documentation/geocoding/ [ ^ ]



是否有任何提供位置广告的网络服务发送纬度和经度时的着装/名称。如果它不存在意味着我如何在我的应用程序中实现这个概念可以任何人给我提示或指导或任何建议,以便我可以做到



预先感谢。

解决方案

请看我在CP上的文章:从C#或VB应用程序中使用Json WebService [ ^ ]。

不要忘记您应该获得geonames webservice的用户名。


我相信您也可以从您的windoes应用程序调用Google GeoCoding API。



http://stackoverflow.com/a/4484904/1680392 [ ^ ]

Hello every one ,
I am working on a school cab management project where i need to track the vehicle movement . A GPS tracking device is fixed on the vehicle it will be sending latitude and longitude readings frequently . Now my task is to get the location address/name with that reading since i need to develop it in windows application that is the problem .
I saw in net it was all based on web application which uses JSON concept . But JSON in windows ????
this are the link i saw:
https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding[^]
https://developers.google.com/maps/documentation/javascript/v2/services#Geocoding[^]
https://developers.google.com/maps/documentation/geocoding/[^]

Is there any web service which gives location address/name when i send latitude and longitude . If it is not there means how can i implement this concept in my application can any one give me hint or guidance or any suggestions so that i can do it

Advance thanks .

解决方案

Look at my article here on CP: Consuming a Json WebService from a C# or VB Application[^].
Do not forget that you ought to get a username for geonames webservice.


I believe you can call Google GeoCoding API from your windoes application too.

Check answer at http://stackoverflow.com/a/4484904/1680392[^]


这篇关于在.NET Windows应用程序中获取基于纬度和经度的位置地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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