【问题标题】:Algolia Places API: How to get the street of a place?Algolia Places API:如何获取某个地方的街道?
【发布时间】:2018-09-25 03:16:21
【问题描述】:

我们正在评估 algolia Places API,并希望使用它来查找景点地址。例如,我们想找到有效的“Reichstagsgebäude, Berlin”并且得到正确的响应:

    {
  "query": "Reichstag, Berlin",
  "suggestion": {
    "name": "Reichstagsgebäude",
    "administrative": "Berlin",
    "city": "Berlin",
    "country": "Deutschland",
    "countryCode": "de",
    "type": "address",
    "latlng": {
      "lat": 52.5186,
      "lng": 13.3761
    },
    "postcode": "10557",
    "highlight": {
      "name": "Reichstagsgebäude",
      "city": "<em>Berlin</em>",
      "administrative": "<em>Berlin</em>",
      "country": "Deutschland"
    },
    "value": "Reichstagsgebäude, Berlin, Berlin, Deutschland"
  }
}

但是如何获取包含街道名称和街道号码的建筑物的真实地址,应该是“Platz der Republik 1”

【问题讨论】:

    标签: algolia


    【解决方案1】:

    目前,Algolia Places 具有街道级精度。我们目前只有法国的房屋级精度数据(即街道名称和街道编号)。这是我们正在积极寻求改进的领域,但数据仍在处理中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-09
      • 1970-01-01
      • 2013-03-09
      相关资源
      最近更新 更多