I need to geocode adresses (get lat/long from addresses) using in .Net, to store in the database.
我需要使用.Net对地址(从地址获取lat / long)进行地理编码,以存储在数据库中。
What is the library/project to look into, to get that done?
要完成这项工作的库/项目是什么?
After a search here, on google and codeplex.com, I have found there to be a few options, that seem like they will do what I ask for... But some of them could be crap and a waste of time - and some might just be stellar.
经过搜索,在谷歌和codeplex.com上,我发现有一些选项,看起来他们会做我要求的......但其中一些可能是垃圾和浪费时间 - 和一些可能只是一流的。
Which one is the one to go for? Have you used any of them?
哪一个是最适合的?你用过它们了吗?
3 个解决方案
#1
Using Google Maps API or Microsoft MapPoint API this is very easy to do. It depends a lot on your usage requirements, ie how many geocodes do you plan on doing on an ongoing basis.
使用Google Maps API或Microsoft MapPoint API非常容易。这在很大程度上取决于您的使用要求,即您计划持续进行多少个地理编码。
#2
Check out GeoCoding.Net - generic geocoding API for Google, Yahoo, and Bing
查看GeoCoding.Net - 适用于Google,Yahoo和Bing的通用地理编码API
#3
We use geoNames for our geocoding needs. Just connect, send your query, and it will return XML or JSON (in some cases). Here is an article on how to wire it up with WCF.
我们使用geoNames来满足我们的地理编码需求。只需连接,发送您的查询,它将返回XML或JSON(在某些情况下)。这是一篇关于如何与WCF连接的文章。
#1
Using Google Maps API or Microsoft MapPoint API this is very easy to do. It depends a lot on your usage requirements, ie how many geocodes do you plan on doing on an ongoing basis.
使用Google Maps API或Microsoft MapPoint API非常容易。这在很大程度上取决于您的使用要求,即您计划持续进行多少个地理编码。
#2
Check out GeoCoding.Net - generic geocoding API for Google, Yahoo, and Bing
查看GeoCoding.Net - 适用于Google,Yahoo和Bing的通用地理编码API
#3
We use geoNames for our geocoding needs. Just connect, send your query, and it will return XML or JSON (in some cases). Here is an article on how to wire it up with WCF.
我们使用geoNames来满足我们的地理编码需求。只需连接,发送您的查询,它将返回XML或JSON(在某些情况下)。这是一篇关于如何与WCF连接的文章。