免费地理编码服务,可对 300,000 个地址进行快速地理编码

发布于 2024-12-20 19:01:25 字数 183 浏览 3 评论 0原文

我有一个包含 300.000 个地址、邮政编码和地址的数据库。现在下一步是将所有这些地址转换为 LAT LONG,因为这就是我现在需要的。

我查看了 google 地图 api,但它每天只提供 2500 个查询,这意味着大约 150 天。转换所有这些地址。还有另一种免费的可能性可以帮助我解决我的问题吗?

感谢您的帮助!

I have got a database with 300.000 addresses, zipcodes and addresses. Now the next step is to convert all those addresses to LAT LONG since that is what I now need.

I have looked at google maps api but it only offers 2500 queryies a day, which would mean 150 days aprox. to convert all those addresses. Is there another possibility that is FREE that could help me fix my problem?

Thanks for help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

八巷 2024-12-27 19:01:27

您还可以尝试 MapQuest 或 Cloud Made。我在处理相同问题时创建了一个小型实用程序,我发现它很适合比较。该实用程序托管在以下网址:

http://ankit-zalani.appspot.com/地理编码/index.jsp

You can also try for MapQuest or Cloud Made. I have created a small utility while working on the same, I find it good for comparison. The utility is hosted at the below url:

http://ankit-zalani.appspot.com/GeoCode/index.jsp

心头的小情儿 2024-12-27 19:01:27

Yahoo 的地理编码 API 每天允许 50,000 个请求。

Microsoft 通过 Bing 地图服务 提供地理编码,但我看不到限制是。您可能需要创建一个帐户才能找到答案。

Yahoo's geocoding API allows 50,000 requests per day.

Microsoft offers geocoding via Bing Maps Services but I couldn't see what the limits are. You probably need to create an account to find out.

水溶 2024-12-27 19:01:27

我曾经遇到过类似的问题,我可以告诉你,确切的方法取决于你的数据的具体情况。例如,我见过一些服务允许您对美国邮政编码进行地理编码,但每天的请求限制非常高。

就我而言,数据是来自欧洲某个国家/地区的地址,因此我只能使用 Microsoft、Google 或 Yahoo 等大公司的开放 API。

不幸的是,在阅读了他们每天的请求限制和使用条款后,我意识到对所有地址进行地理编码将花费太长时间。然后我找到了开放街道地图。您可以下载您需要的任何地理区域的数据(免费提供),解析它(它是 XML 格式),将其加载到数据库(在我的例子中是免费的 PostgreSQL)并编写您自己的地理编码器。

当然,它不会找到所有地址,但您可以保存有问题的地址并使用 Google 的 API 等对其进行地理编码。就我而言,这只是我开始使用的所有数据的一小部分,所以这是值得的。

另请检查类似问题的此答案,其中提到了 Microsoft API(我不熟悉),据说它具有输入数据的高限制。

I once had a similar problem and I can tell you, an exact approach depends on specifics of your data. For example, I've seen couple of services allowing you to geocode US zipcodes with really high limits of requests/day.

In my case the data was addresses from a country in Europe, so I was left with open APIs of major companies like Microsoft, Google or Yahoo.

Unfortunately after reading their limits of requests/day and terms of use, I realized it would take too long to geocode all of the addresses. I then found Open Street Maps. You can download the data (which is freely available) for whatever geographical region you need, parse it (it's in XML), load it into a database (free PostgreSQL in my case) and write your own geocoder.

Sure, it won't find all addresses, but you can save the problematic ones and geocode them using an API from Google for example. In my case, it was just a small fraction of all the data I was starting with, so it was worth it.

Also check this answer to a similar question, which mentions a Microsoft API (that I am not familiar with), which supposedly has high limits on the input data.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文