Home  >  Article  >  Backend Development  >  google地址解析,该如何解决

google地址解析,该如何解决

WBOY
WBOYOriginal
2016-06-13 10:16:40998browse

google地址解析
我要在php程序中批量解析地址取得经纬度。
$_url = "http://maps.googleapis.com/maps/api/geocode/json?address={$address}&sensor=false";
$_result = file_get_contents($_url);
起开始几天还能取到数据,但是这两天就没有数据了,返回值是:{ "results" : [], "status" : "OVER_QUERY_LIMIT" } 
这是受限了。为什么啊?怎么解决?

------解决方案--------------------
google 地图不是有限制超过多少个调用需要Money嘛?是不是跟这个有关系

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php基础~Next article:javascript中调用php文件不成功