如何使用 Google 地理编码来规范地址而不违反​​服务条款?

发布于 2024-09-27 19:19:12 字数 560 浏览 12 评论 0原文

我正在开发一个可以接受搜索地址的 API。在向我们的搜索引擎提交搜索条件之前,我们希望使用 Google 的地理编码服务对地址进行标准化。

这引起了我的注意: http://code.google.com/apis/maps/documentation /geocoding/index.html#Limits

“注意:地理编码 API 只能与 Google 地图结合使用;禁止在地图上显示地理编码结果。有关允许使用的完整详细信息,请参阅地图API 服务条款许可限制。”

这是否意味着我们不能使用地理编码服务来实现此目的?之前使用过访问 Google 地理编码服务的库,我知道这在技术上是可行的,但这听起来违反了服务条款。

对于我们正在尝试做的事情还有其他选择吗?

编辑:

事实证明,我们公司确实获得了谷歌的许可,可以使用返回的地址,并且它们最终将在谷歌地图上显示给最终用户,从而满足我们的协议条款。

I'm working on a API that will accept addresses in searches. We would like to use Google's geocoding service to normalize the addresses before submitting the search criteria to our search engine.

This caught my attention:
http://code.google.com/apis/maps/documentation/geocoding/index.html#Limits

"Note: the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions."

Does this mean we can't use the Geocoding service for this purpose? Having used libraries that access Google's geocoding service before, I know it's technically possible to do this but it sounds like a violation of the terms of service.

Are there other options for what we're trying to do?

Edit:

It turns out our company does have a license with Google to use the addresses that come back, and they will eventually be displayed on a Google Map to the end user, satisfying the terms of our agreement.

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

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

发布评论

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

评论(3

失眠症患者 2024-10-04 19:19:12

简短的回答:你不能。服务条款似乎非常明确,使用他们的 API 进行地理编码不符合他们的条款,除非你将它们显示在 Google 地图上。

如果您需要此用于其他目的,您应该考虑为您感兴趣的区域许可地理编码库和数据集。有不少公司出于商业目的出售这些产品。

Short answer: You can't. The terms of service seem pretty clear-cut that geocoding using their API is not in line with their terms, unless you display them on a Google Map.

If you need this for other purposes, you should consider licensing a Geocoding library and dataset(s) for your regions of interest. There are quite a few companies which sell these for commercial purposes.

荆棘i 2024-10-04 19:19:12

更新这个非常旧的帖子:

@Cerin 指出了这个答案的一些重要内容。

USPS Web Tools API 仅在您使用它们进行运送时才免费
通过美国邮政

所以要合法。


你是对的:你不能使用谷歌地理编码器进行地址清理。

您可以使用此包装器访问USPS 的网络工具

另一种廉价的解决方案是 Semaphore,但您必须编写自己的包装类来调用 DLL。

Update on this really old post:

@Cerin pointed out something important on this answer.

USPS Web Tools API are only free if you're using them to ship
via USPS

So be legal.


You are correct: you can't use the Google Geocoder for address cleaning.

You can use this wrapper to access USPS's Web Tools.

Another inexpensive solution is Semaphore, but you'll have to write your own wrapper class to call the DLLs.

忘羡 2024-10-04 19:19:12

USPS 提供免费服务来验证地址。它是一个相当易于使用的 API,您可以将信息卷曲到其中并接收有效的响应。唯一的问题是他们在注册时有点慢,并且要求您在打开之前进行多次测试。不管怎样,一旦你成功了,它就会做得很好。它已经使我的应用程序中的地址保持干净一段时间了,没有出现任何问题。

The USPS has a free service to validate addresses. It's in a fairly easy-to-use API that you can curl information to and receive a valid response back. The only rub is that they're a little slow when it comes to registering, and they require you to run several tests before they'll open it up. Regardless, once you've jumped through the hoops, it does a great job. It's been keeping addresses in my app clean for quite a while now without any hiccups.

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