Opened 8 years ago

Closed 5 years ago

#4152 closed defect (fixed)

Nominatim should honour City name and road size

Reported by: ToB Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

Search in Nominatim for "Schloßstraße, Berlin".

Expected: It finds first "Primary Road" "Schloßstraße, Steglitz, Steglitz-Zehlendorf, Berlin, Berlin", then it finds "Secondary Road", "Tertiary Road", "Residential" in Berlin - and only then it finds at the places around Berlin.

Actual result:

  • First hit is: "Residential Schloßstraße, Schorfheide, Barnim, Brandenburg Nordwest-Nordost Region, Brandenburg"

That's 40 to 50 kilometres away from Berlin - and nothing is called "Berlin" there. (Still nice to find, but only after the other streets have been found.)

  • Second hit is: "Tertiary Road Schloßstraße, Charlottenburg, Charlottenburg-Wilmersdorf, Berlin, Berlin"

OK, but it should prefer Primary and Secondary roads.

  • Fiftyfifth (55!) hit is finally: "Primary Road Schloßstraße, Steglitz, Steglitz-Zehlendorf, Berlin, Berlin, Stadt, Steglitz-Zehlendorf, Berlin, 12165"

One has to be really patient until one hits the first "Primary Road" which is in "Berlin". On the way, a couple of other streets located in Berlin could be found - plus plenty "near" Berlin.

Change History (4)

comment:1 Changed 7 years ago by Tom Hughes

Owner: changed from openstreetmap@… to geocoding@…

comment:2 Changed 7 years ago by datendelphin

should be fixed after next reimport

comment:3 in reply to:  2 Changed 7 years ago by skyper

Replying to datendelphin:

should be fixed after next reimport

Does not work for me.

Please, have a look at: http://nominatim.openstreetmap.org/search.php?q=freiburger+stra%C3%9Fe%2C+emmendingen&viewbox=

which should lead to a first hit somewhere around here: http://nominatim.openstreetmap.org/details.php?place_id=49784310

comment:4 Changed 5 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

After some further tweaking of address importance it works much better. There is still an issue with "Am Tiergarten" which has a boosted importance because it got matched up with the wrong wikipedia article but that is a different issue.

Note that there is still issue #5025 open which still might prevent the correct result from showing up at all.

Note: See TracTickets for help on using tickets.