【问题标题】:Get latitude and longitude from address using Google Geocoding API error message: “you have exceeded your daily request quota for this api..”使用 Google Geocoding API 错误消息从地址获取纬度和经度:“您已超出此 API 的每日请求配额..”
【发布时间】:2014-12-07 20:24:07
【问题描述】:

这是我的代码

$url = "https://maps.google.com/maps/api/geocode/json?address=$address&sensor=false";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXYPORT, 3128);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$response = curl_exec($ch);
curl_close($ch);
$response_a = json_decode($response);

如何增加配额。我有将近 30k+ 数据

【问题讨论】:

    标签: php json google-maps google-maps-api-3


    【解决方案1】:

    你必须为Google Maps license付费

    【讨论】:

      猜你喜欢
      • 2019-02-23
      • 2016-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-22
      • 2019-08-21
      相关资源
      最近更新 更多