False return of "district" for suburb in geocodejson #3881
Replies: 1 comment 3 replies
-
|
How the place is mapped in OSM looks alright. That looks like the mapping of place type to field name (district) needs to be improved here. The configuration is in https://github.com/osm-search/Nominatim/blob/master/settings/address-levels.json but I don't see an obvious mistake. In the file With suburbs as nodes Nominatim needs to guess to which suburb a street belongs (by distance). I once used trash collecting street list (Müllabfuhrkalender) to figure out which street belongs to which suburb to create a boundary. The district issue here would be the same with a node or relation/boundary. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
i found a problem with the definition of district in geocodejson and OSM.
In the geocodejson spec "district" means a district containing multiple cities (ref: https://github.com/geocoders/geocodejson-spec/tree/master/draft -> Feature Object), while in OSM it isn't fully clear as it seams that a suburb is classified as district.
Example:
Daverden in Lower Saxony, Germany is a suburb of Langwedel (german: Eingemeindete Ortschaft in den Flecken Langwedel im Rahmen der Gebietsreformen), when using this prompt:
https://nominatim.openstreetmap.org/search?q=Spiridonweg&accept-language=de%2Cde-DE%2Cen-US%2Cen&format=geocodejson&addressdetails=1
which searches for a street in Langwedel, it returns Daverden as district, which is a higher administrative level than Langwedel, what isn't correct.
I don't know if this is problem of Nominatim or OSM.
I already searched for an administrativ border of Daverden in OSM, but it doesn't seems to exist.
Also I don't have a map of the borders of Daverden, so I can't create it myself to correct this behavior.
Any ideas? Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions