【问题标题】:Google geocode API get LatLng based on zip code谷歌地理编码 API 获取基于邮政编码的 LatLng
【发布时间】:2018-08-13 13:52:40
【问题描述】:

我有一堆葡萄牙邮政编码,格式为 4000-700,我需要获取这些邮政编码的纬度和经度。 我正在尝试使用它:

https://maps.googleapis.com/maps/api/geocode/json?address=4755-100,PT

但 Google 只返回前缀 4755 的 lat 和 lng,但我需要获取整个邮政编码的特定 lat 和 lng。 我该怎么做?

【问题讨论】:

    标签: geocode zipcode


    【解决方案1】:

    https://geocode.xyz/4755-100

    葡萄牙 x,y z: 41.46952,-8.58580 m ?? 地理编码.xyz

    • 444 R MANINHO, SILVEIROS, 葡萄牙 4755-100 » 置信度得分:0.5
    • CARVALHOS PT 4755-100 葡萄牙
    • CARVALHAS PT 4755-100 葡萄牙
    • SILVEIROS PT 4755-100 葡萄牙

    【讨论】:

      【解决方案2】:

      在从事我的实习项目时,我找到了一个https://thezipcodes.com/ 的网站创建一个免费帐户并从帐户部分获取 API 密钥。

      https://thezipcodes.com/api/v1/search?zipCode={zipCode}&countryCode={2digitCountryCode}&apiKey={apiKey}
      

      我在这里找到了大部分数据。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2012-05-07
        • 2011-07-31
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多