Javascript 哪些是最好的免费地理编码 API?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8180623/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Which are the best geo Coding APIs available for free?
提问by Amit
I want to use geo coding services in my site which are the APIs available for this, Java based solutions will be preferred and I want to use this in a commercial project so please suggest appropriate options i.e. APIs which can be used in such projects freely..
我想在我的站点中使用地理编码服务,这些服务是可用的 API,基于 Java 的解决方案将是首选,我想在商业项目中使用它,所以请建议适当的选项,即可以在此类项目中自由使用的 API。 .
Before asking this question I have tried searching on net and found that few popular geoCoding APIs are the ones from Google and yahoo. And few answers in SO suggest using Google API (Which seems very popular one), before deciding I want to know is their any other option and what are the available solutions for this ?
在问这个问题之前,我尝试在网上搜索,发现很少有流行的地理编码 API 是来自谷歌和雅虎的。SO中很少有答案建议使用Google API(这似乎很受欢迎),在决定我想知道他们还有其他选择之前,有哪些可用的解决方案?
Even A Link to some blog/ site which contains detailed analysis of all these sites will be of great help.
甚至包含对所有这些站点的详细分析的某个博客/站点的链接也会有很大帮助。
回答by Amit
Available Solutions for the Address / ZipCode to (latitude, longitude) mapping are ...
地址/邮政编码到(纬度、经度)映射的可用解决方案是......
Google API, http://code.google.com/apis/maps/documentation/geocoding/) The most populardue to Google's name. Extensive support available on the internet (less development time). Alas! not available freely for commercial usage. The free version has 2500 queries/day limitations. (http://code.google.com/apis/maps/documentation/geocoding/) There is one clause in “Usage Terms” which says the result must be displayed in google maps, reference http://code.google.com/apis/maps/documentation/geocoding/#GeocodingRequeststerms and conditions are mentioned here. http://code.google.com/apis/maps/terms.html#section_10_12
Google API, http://code.google.com/apis/maps/documentation/geocoding/)由于 Google 的名字而最受欢迎。Internet 上提供了广泛的支持(更少的开发时间)。唉! 不可免费用于商业用途。免费版有 2500 次查询/天的限制。( http://code.google.com/apis/maps/documentation/geocoding/) “使用条款”中有一个条款说结果必须显示在谷歌地图中,参考http://code.google.com这里提到了/apis/maps/documentation/geocoding/#GeocodingRequests条款和条件。http://code.google.com/apis/maps/terms.html#section_10_12
Nominatium,(http://wiki.openstreetmap.org/wiki/Nominatim) A less common organizationwhich provides an open source, free ware solution for the address to (latitude, longitude) mapping. Can be also used in commercial projects. Their are no restrictions for number of queries per day and no hidden clauses in “usage terms”. Since the organization itself is not much popular, less support is available.
Nominatium,( http://wiki.openstreetmap.org/wiki/Nominatim) 一个不太常见的组织,它为地址到(纬度、经度)映射提供开源、免费的软件解决方案。也可用于商业项目。他们对每天的查询次数没有限制,也没有“使用条款”中的隐藏条款。由于该组织本身不是很受欢迎,因此可用的支持较少。
Yahoo API, http://developer.yahoo.com/geo/placefinder/Another popular APIlike google's but some what more available. supports upto 50000 requests per day. Like google extensive support is available. Yahoo encourages us to use the “powered by yahoo logo” but doesn't force us for that. ( http://info.yahoo.com/legal/us/yahoo/api/api-2140.html) Can be used for commercial purposes (I have read Yahoo Terms and doesn't find any clause which restricts us in doing that, reference http://info.yahoo.com/legal/us/yahoo/maps/mapsapi/mapsapi-2141.html).
Yahoo API, http://developer.yahoo.com/geo/placefinder/另一个流行的 API,如 google 的,但还有一些可用的。每天最多支持 50000 个请求。像谷歌一样,可以获得广泛的支持。雅虎鼓励我们使用“由 yahoo 提供支持的标志”,但并不强迫我们这样做。( http://info.yahoo.com/legal/us/yahoo/api/api-2140.html) 可用于商业目的(我已阅读雅虎条款并没有发现任何限制我们这样做的条款,参考http://info.yahoo.com/legal/us/yahoo/maps/mapsapi/mapsapi-2141.html)。
YQL(Yahoo Query language see:- http://developer.yahoo.com/yql/)
A SQl based query language which queries yahoo web service. for example if we have a zip codewe can write a YQL as [ select centroid from geo.places where text="Enter some pin code here"].
Yahoo encourages us to use YQL in commercial applications.(http://developer.yahoo.com/yql/faq/)
Most number of allowed queries as compared to all other options i.e. 20,000 calls/hour/IP and 100,000 calls/day/key. (see http://developer.yahoo.com/yql/faq/), Support available for YQL is quite good, see the links.
YQL(雅虎查询语言,参见:- http://developer.yahoo.com/yql/)一种基于 SQL 的查询语言,用于查询雅虎 Web 服务。例如,如果我们有一个zip codeYQL,我们可以将 YQL 写为 [select centroid from geo.places where text="Enter some pin code here"]。
雅虎鼓励我们在商业应用中使用 YQL。( http://developer.yahoo.com/yql/faq/) 与所有其他选项(即 20,000 个电话/小时/IP 和 100,000 个电话/天/键)相比,允许的查询次数最多。(请参阅http://developer.yahoo.com/yql/faq/),对 YQL 的支持非常好,请参阅链接。
回答by Tobias
Gisgraphy is a alternative to Nominatim, a geocoding service on top of OpenStreetMaps data. They provide a hosted solution - and you can install their software for free.
Gisgraphy 是 Nominatim 的替代品,Nominatim 是一种基于 OpenStreetMaps 数据的地理编码服务。他们提供托管解决方案 - 您可以免费安装他们的软件。
More information at http://www.gisgraphy.com/
更多信息请访问http://www.gisgraphy.com/
回答by Patrick
Mapquest Open Api has a geocoding service that uses OSM data.
Mapquest Open Api 有一个使用 OSM 数据的地理编码服务。
回答by L.G
This alternative API for french adresses : https://adresse.data.gouv.fr/api
这个法语地址的替代 API:https: //adresse.data.gouv.fr/api
回答by Jan Dragsbaek
Googles services are free up untill a certain limit (which actually is quite hard to hit) and the API is very friendly to work with. I am using it in a couple of applications myself and it works flawlessly and is extremely fast
Google 的服务在达到一定限制(实际上很难达到)之前是免费的,并且 API 使用起来非常友好。我自己在几个应用程序中使用它,它运行完美并且速度非常快

