Gps OpenStreetMap命名模式:街区、郊区、城市、州/区等

Gps OpenStreetMap命名模式:街区、郊区、城市、州/区等,gps,maps,openstreetmap,nominatim,Gps,Maps,Openstreetmap,Nominatim,我正在试用OpenStreetMap反向地理编码器RESTFul API API返回的地址模式是否有明确的解释?某些位置在“addressparts”块中具有不同的属性 例如,提名包括“郊区”和“城市”属性 <reversegeocode timestamp="Tue, 19 Nov 13 01:48:51 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.or

我正在试用OpenStreetMap反向地理编码器RESTFul API

API返回的地址模式是否有明确的解释?某些位置在“addressparts”块中具有不同的属性

例如,提名包括“郊区”和“城市”属性

<reversegeocode timestamp="Tue, 19 Nov 13 01:48:51 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="format=xml&lat=47.60647&lon=-122.32644&zoom=18&addressdetails=1">
  <result place_id="3681763473" osm_type="node" osm_id="2159323135" lat="47.6065166" lon="-122.3262919">
725, 9th Avenue, First Hill, Seattle, King, Washington, 98104, United States of America
</result>
  <addressparts>
    <house_number>725</house_number>
    <road>9th Avenue</road>
    <suburb>First Hill</suburb>
    <city>Seattle</city>
    <county>King</county>
    <state>Washington</state>
    <postcode>98104</postcode>
    <country>United States of America</country>
    <country_code>us</country_code>
  </addressparts>
</reversegeocode>
<reversegeocode timestamp="Tue, 19 Nov 13 01:50:16 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="format=xml&lat=40.71812&lon=-73.98298&zoom=18&addressdetails=1">
  <result place_id="5989088711" osm_type="node" osm_id="2273010097" ref="N.Y. Grill & Deli" lat="40.7184546" lon="-73.9828337">
N.Y. Grill & Deli, 208, Rivington Street, Lower East Side, New York City, New York, 10002, United States of America
</result>
  <addressparts>
    <address29>N.Y. Grill & Deli</address29>
    <house_number>208</house_number>
    <road>Rivington Street</road>
    <neighbourhood>Lower East Side</neighbourhood>
    <state_district>New York City</state_district>
    <county>New York</county>
    <state>New York</state>
    <postcode>10002</postcode>
    <country>United States of America</country>
    <country_code>us</country_code>
  </addressparts>
</reversegeocode>

美国华盛顿州国王市西雅图第一山第九大道725号,邮编:98104
,它返回“邻居”和“州/区”属性

<reversegeocode timestamp="Tue, 19 Nov 13 01:48:51 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="format=xml&lat=47.60647&lon=-122.32644&zoom=18&addressdetails=1">
  <result place_id="3681763473" osm_type="node" osm_id="2159323135" lat="47.6065166" lon="-122.3262919">
725, 9th Avenue, First Hill, Seattle, King, Washington, 98104, United States of America
</result>
  <addressparts>
    <house_number>725</house_number>
    <road>9th Avenue</road>
    <suburb>First Hill</suburb>
    <city>Seattle</city>
    <county>King</county>
    <state>Washington</state>
    <postcode>98104</postcode>
    <country>United States of America</country>
    <country_code>us</country_code>
  </addressparts>
</reversegeocode>
<reversegeocode timestamp="Tue, 19 Nov 13 01:50:16 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="format=xml&lat=40.71812&lon=-73.98298&zoom=18&addressdetails=1">
  <result place_id="5989088711" osm_type="node" osm_id="2273010097" ref="N.Y. Grill & Deli" lat="40.7184546" lon="-73.9828337">
N.Y. Grill & Deli, 208, Rivington Street, Lower East Side, New York City, New York, 10002, United States of America
</result>
  <addressparts>
    <address29>N.Y. Grill & Deli</address29>
    <house_number>208</house_number>
    <road>Rivington Street</road>
    <neighbourhood>Lower East Side</neighbourhood>
    <state_district>New York City</state_district>
    <county>New York</county>
    <state>New York</state>
    <postcode>10002</postcode>
    <country>United States of America</country>
    <country_code>us</country_code>
  </addressparts>
</reversegeocode>

纽约州纽约市下东区里文顿街208号纽约烧烤和熟食店,美国纽约市,10002
纽约烤肉和熟食店
208
文顿街
下东区
纽约市
纽约
纽约
10002
美利坚合众国
我们

据我所知,除了和源代码之外,目前没有太多文档。但是这些类别是在关系上的
admin_level
键的帮助下,通过and标记生成的。每个wiki页面都包含一些关于相应键的可能值的信息。

源代码是一个很好的查找位置–具有将显示的大多数属性