Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Nominatim should honour City name and road size #4152

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Nominatim should honour City name and road size #4152

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ToB
[Submitted to the original trac issue database at 2.20am, Sunday, 18th December 2011]

Search in Nominatim for "[http://open.mapquestapi.com/nominatim/v1/search.php?q=Schlostrae%2C+Berlin Schlostrae, Berlin]".

Expected: It finds first "Primary Road" "Schlostrae, 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 Schlostrae, 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 Schlostrae, Charlottenburg, Charlottenburg-Wilmersdorf, Berlin, Berlin"
    OK, but it should prefer Primary and Secondary roads.

  • Fiftyfifth (55!) hit is finally: "Primary Road Schlostrae, 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.

@openstreetmap-trac
Copy link
Author

Author: datendelphin
[Added to the original trac issue at 11.36am, Sunday, 15th July 2012]

should be fixed after next reimport

@openstreetmap-trac
Copy link
Author

Author: skyper
[Added to the original trac issue at 5.49pm, Friday, 28th December 2012]

Replying to [comment:2 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

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.08am, Thursday, 1st May 2014]

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant