Geocode多个地址 [英] Geocode multiple addresses

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

问题描述

我需要为每个请求进行约200个地址的地理编码,并且每天执行大约3000次请求。我将使用PHP来做这个服务器端。我查看了如何将地址转换为经度/纬度?,但找不到Google Maps HTTP Request API或Yahoo Geocoding REST API(无法使用JavaScript,因为这是服务器端)发送多个地址的方法。



我将主要根据坐标对地址进行排序,如果API支持,请填写每个地址的任何缺失数据。地址将仅在美国境内。地理编码的地址将来自用户输入,因此可以是自由形式,如街道地址,邮政编码或城市,州等。对于坐标而言,精确度不是太重要,比如在五百英尺左右。

是否有免费的API来处理这个问题?有没有办法让雅虎或谷歌在一个请求中执行多个位置? 解决方案

geocoder.us 会做你想做的事情,但是你可能对于批量查找有同样的问题。尽管他们会进行批量查询。



GeoNames 通过批量原始数据或通过其网络服务提供足够的信息, a>?


I need to geocode around 200 addresses per request and do around 3,000 request per day. I will be doing this server side using PHP. I have looked at How to convert an address to a latitude/longitude?, but could not find a way for either Google Maps HTTP Request API or the Yahoo Geocoding REST API (cannot use JavaScript as this is server side) to send multiple addresses.

I will be primarily using this to sort addresses based on the coordinates and if the API supports, fill in any missing data for each address. The addresses will be in the United States only. The addresses to geocode will be from user input, so be free form, like "street address, postal code", or "city, state", etc. Accuracy is not too important for the coordinates, say within five hundred feet or so.

Is there a free API to handle this? Is there a way to get Yahoo or Google to do multiple locations in a request?

解决方案

geocoder.us will do what you want, but you may have the same problem for bulk lookups. They do bulk lookups for a fee though.

Would GeoNames provide sufficient information, either through the bulk raw data or via their web services?

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

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