Google Batch地理编码API [英] Google Batch Geocoding API

查看:69
本文介绍了Google Batch地理编码API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google Geocoding API在我的项目中进行正向和反向地理编码工作.虽然此API仅适用于每个请求一个地址或一对地理坐标,但不适用于批处理.我知道我可以将多达250条地址的行复制并粘贴到Batch Geo网站进行处理,但是如果这样做的话,它的范围将非常有限且对我而言无效.最初,我在代码中使用PHP curl调用了REST API,而对于批处理数据,我不知道如何处理,并且找不到用于定义调用URL,参数,响应或状态的批处理API文档.我是否可以找到有关Batch Geocoding API的任何资源?顺便说一句,我在Timezone API上发现了相同的问题.

I am using Google Geocoding API to conduct both forward and reverse geocoding work in my projects. While this API is only working for a single address or a single pair of geo coordinates per request, not for batch processing. I know I can copy and paste lines of addresses up to 250 to the Batch Geo Website to process, but it would be so limited and ineffectively to me if I did that. Initially, I called REST API by PHP curl in my codes, while for batch data I have no idea how to handle and I did not find the Batch Processing API document defining call URL, parameters, response, or status. Is there any resource I can find concerning Batch Geocoding API? By the way, I found the same issue on Timezone API.

推荐答案

正如miguev所述,Google不允许批量地理编码.但是,HERE确实有批量地理编码器,您可以在一个呼叫中对多个地址进行地理编码.

As miguev mentioned, Google does not allow batch geocoding. However, HERE does have a batch geocoder that you can use go geocode multiple addresses in one call.

这篇关于Google Batch地理编码API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆