GeoCoding-从地址中检索经度和纬度 [英] GeoCoding - Retrieve the Latitude and Longitude from an Address
本文介绍了GeoCoding-从地址中检索经度和纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何仅从地址中检索纬度和经度点.
我不想在地图或任何类似的东西上查看它.
我只需要坐标,然后将其保存在数据库中以供以后使用.
不知道是否有任何不同,但我希望获得南非的座标
请提供任何帮助.
I would just like to know how I can retrieve only the Latitude and Longitude points from an Address.
I dont want to view it on a map or anything similar.
I just need the co-ordinates, which will then be saved in my database for later use.
Not sure if it makes any difference, but I wish to get co-ordinates for South-Africa
Please, any help would be valued.
推荐答案
您是否看过Google Maps API?我不确定100%是否可以通过API实现所需的功能,但它似乎确实与之接近.
检查: Google Maps API网络服务 [ ^ ]
该链接甚至还提供了有关如何在C#中完成此操作的示例:适用于.NET的Google Maps API
[ ^ ]
希望这会有所帮助.
干杯,AT
Hi,
Have you taken a look at the Google Maps API? I''m not 100% sure that what you want is possible with the API but it does seem to get rather close to it.
check: Google Maps API Web Services[^]
This link even has an example of how to get it done in C#: Google Maps API for .NET
[^]
Hope this helps.
Cheers, AT
这篇关于GeoCoding-从地址中检索经度和纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文