[Geocoding] [OpenStreetMap] #5240: Mittelgebirge != neighbourhood

OpenStreetMap trac at noreply.openstreetmap.org
Tue Oct 7 12:21:57 UTC 2014


#5240: Mittelgebirge != neighbourhood
-----------------------+-------------------------
 Reporter:  floscher   |      Owner:  geocoding@…
     Type:  defect     |     Status:  new
 Priority:  minor      |  Milestone:
Component:  nominatim  |    Version:
 Keywords:             |
-----------------------+-------------------------
 The [https://en.wikipedia.org/wiki/Black_Forest Black Forest] is tagged
 with natural=highlands and highlands=mittelgebirge (see
 [https://www.openstreetmap.org/relation/3255371 the relation on OSM.org]).

 [https://en.wikipedia.org/wiki/Mittelgebirge See Wikipedia for a
 description, what a Mittelgebirge is].

 If I reverse-geocode the coordinate
 [https://www.openstreetmap.org/?mlon=8.4482&mlat=48.9660 48.9660° N
 8.4482° E] with zoomlevel 14 or 15, I get the following:
 `Black Forest, Kurzbach, Hausach, Verwaltungsgemeinschaft Hausach,
 Ortenaukreis, Regierungsbezirk Freiburg, Baden-Württemberg, 77756,
 Germany, European Union`
 with Black Forest as neighbourhood.
 [http://nominatim.openstreetmap.org/reverse?lat=48.9660&lon=8.4482&zoom=14
 &accept-language=en Link to the query for zoomlevel 14]

 The problem with that is, that the Black Forest (160km x 60km) is not a
 neighbourhood. And it is not located in Kurzbach (an isolated dwelling in
 the center of the Black Forest), so my coordinate is more than 100km away
 from Kurzbach and definitely doesn't have the postal code of Kurzbach.

 Probably Nominatim finds, that the coordinate is located inside the Black
 Forest relation (which is correct) and then takes the center of the Black
 Forest, which is Kurzbach, and derives the informations from suburb to
 continent of the center of Black Forest.

 In my opinion two things should be changed:
 1. For every reverse-geocoded coordinate the postal code of the given
 coordinate (not of the center of the found OSM-object) should be returned.
 Example: The Black Forest contains many different postal codes (see my
 [http://overpass-turbo.eu/s/5kg Overpass Turbo query for postal codes in
 the Black Forest]), so if the OSM object of the Black Forest is returned,
 one of those many postal codes should be chosen, not always the one of
 Kurzbach.
 2. A Mittelgebirge (probably also other highlands) should not be counted
 as neighbourhood (in the hierarchy below suburb and city), because
 normally these are much larger than a city.

 Thank you in advance,
 floscher

--
Ticket URL: <https://trac.openstreetmap.org/ticket/5240>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list