0

search搜索以下地址时,我可以在 nominatim 中找到一个参数

http://nominatim.openstreetmap.org/search?q=CA&format=xml&addressdetails=1


我想知道我是否可以 具体地查询一些东西

喜欢

stateCACalifornia

这将返回Country来自 API 的 Origin 和其他信息

我可以在 Nominatim 中执行此操作而无需进行广泛的search查询吗?

4

1 回答 1

1

还有其他参数(除了q...在您的查询中,参数不是search,它是q),

例如:

  • 街道
  • 城市
  • 状态
  • 国家
  • 邮政编码

有关完整列表,请参阅http://wiki.openstreetmap.org/wiki/Nominatim#Special_Keywords

例如:http ://nominatim.openstreetmap.org/search?state=california&format=xml&addressdetails=1

于 2015-07-17T08:09:28.087 回答