OpenStreetmap - 获取德国地址的城市区域Stadtviertel

时间:2014-01-02 10:04:57

标签: openstreetmap shapes boundary

我正在尝试通过OSM webservice获取查询的其他地址信息。所以我试过了 http://nominatim.openstreetmap.org/search?format=xml&countrycodes=de&q=An+der+Raumfabrik+34+76227&addressdetails=1&polygon_kml=1&dedupe=1 但结果并未显示任何“Stadtviertel”(城市季度)信息:

   <searchresults timestamp="Thu, 02 Jan 14 09:35:08 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="An der Raumfabrik 34 76227" polygon="false" exclude_place_ids="97708000,3678299921,79156233,79640281,3678299920,97255389,79581301" more_url="http://nominatim.openstreetmap.org/search?format=xml&exclude_place_ids=97708000,3678299921,79156233,79640281,3678299920,97255389,79581301&accept-language=en-US,en;q=0.8,de;q=0.6&addressdetails=1&q=An+der+Raumfabrik+34+76227">
    <place place_id="97708000" osm_type="way" osm_id="183115054" place_rank="26" boundingbox="48.996223449707,48.9964256286621,8.46396350860596,8.46437549591064" lat="48.9964248" lon="8.463964" display_name="An der RaumFabrik, Durlach, Karlsruhe, Regierungsbezirk Karlsruhe, Baden-Württemberg, 76227, Germany, European Union" class="highway" type="unclassified" importance="0.9">
        <geokml>
            <LineString>
                <coordinates> 8.463964000000001,48.9964248 8.4643747,48.996224400000003 </coordinates>
            </LineString>
        </geokml>
        <road>An der RaumFabrik</road>
        <suburb>Durlach</suburb>
        <city>Karlsruhe</city>
        <county>Karlsruhe</county>
        <state_district>Regierungsbezirk Karlsruhe</state_district>
        <state>Baden-Württemberg</state>
        <postcode>76227</postcode>
        <country>Germany</country>
        <country_code>de</country_code>
        <continent>European Union</continent>
    </place>
</searchresults>

有没有可能获得德国“Stadtviertel”?

1 个答案:

答案 0 :(得分:2)

是的,因为OSM知道boundary hierachies(和as node place=suburb)中的这个元素,当然Nominatim会使用它。

但这个信息需要在OSM DB上可用。你必须明白,边界是地面上的地图制作者无法收集的极少数事物之一,因为它们基本上是“不可见的”。因此,我们需要form of imports中的帮助,由于OpenData运动而越来越多。如果您想改善特定城市的情况,请随时帮助local community获取并维护此信息:)

E.g。对于City of Rostock,“Südstadt,Rostock”的提名查询工作正常,(因为当地的GIS团队多年前向我们捐赠了边界)并返回正确的形状:
http://nominatim.openstreetmap.org/details.php?place_id=97599592