Closed jonashaag closed 8 years ago
Thank you for the bug report @jonashaag; we'll look at it. It looks like the same situation than #227
hey @jonashaag; I look again at the data OSM is providing and our next results will fit what their search is also retrieving: http://www.openstreetmap.org/search?query=kriegstrasse%20Karlsruhe
The city is Pforzheim
, part of Regierungsbezirk Karlsruhe
. Does that make sense or is there an issue with the OSM data?
You're missing the second s in your query, it's Kriegsstrasse and OSM correctly shows Karlsruhe as city
You're missing the second s in your query, it's Kriegsstrasse and OSM correctly shows Karlsruhe as city
Arg good catch; I'll export the Karlsruhe region from OSM and dig deeper to understand why those streets are not selected by our importer.
Alright, so for an unknown reason; the OSM export doesn't provide the city (with isaddress="t"
) for that street:
<feature place_id="324065" type="W" id="4211469" key="highway" value="primary" rank="26" importance="26" parent_place_id="938369" parent_type="R" parent_id="63387">
<names>
<name type="name">Kriegsstraße</name>
<name type="name:de">Kriegsstraße</name>
<name type="ref">B 10</name>
</names>
<adminLevel>15</adminLevel>
<address>
<state rank="11" type="R" id="907219" key="place" value="postcode" distance="0.0150828926399484" isaddress="t"/>
<county rank="12" type="R" id="62518" key="boundary" value="administrative" distance="0.0294789211019574" isaddress="t"/>
<city rank="16" type="N" id="240046032" key="place" value="city" distance="0.339084718282157" isaddress="f"/>
<city rank="16" type="N" id="240060919" key="place" value="city" distance="0.491265843047939" isaddress="f"/>
<suburb rank="20" type="R" id="63387" key="boundary" value="administrative" distance="0.00804776731717723" isaddress="t"/>
</address>
<tags>
<tag type="lanes">4</tag>
<tag type="maxspeed">50</tag>
</tags>
<osmGeometry>LINESTRING(8.3837317 49.0054633,8.3838125 49.0054606)</osmGeometry>
</feature>
I'll interpolate it from the suburb
👍
Maybe because the street goes through multiple sub cities (west south east etc) that each have their own name
Fixed ✅
Not sure if this is the right place to file this issue, it seems more like an issue with the REST API/
places-dsn
, whose source code I haven't found anywhere.When I search for a street in my city (Karlsruhe, Germany), the result doesn't include the city name. Instead it shows the federal state (which is very uncommon to show in Germany btw), which isn't helpful at all, because streets are not unique within states ;)
(GPS coordinates are correct btw)
Result JSON: