Opened 4 years ago

Closed 4 years ago

#5304 closed defect (fixed)

Scoring incomplete / postcode mismatch / town mismatch does not decrease score

Reported by: flohoff Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

Hi,

the address:

56727 Mayen, Bergstraße 12

returns 2 results.

Correct: http://nominatim.openstreetmap.org/details.php?place_id=2581169749

Broken http://nominatim.openstreetmap.org/details.php?place_id=2571390463

I guess result 2 is taken into account is because of the "Landkreis Mayen-Koblenz" which matches the Mayen.

Result 1 is a much better match though. Its an exact match on the town and an exact match on the postcode.

Change History (1)

comment:1 Changed 4 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

That result is not really wrong but a result of generous fuzzy matching and the ordering is correct.

There was an issue with Nominatim being to generous with including surrounding postcode points when a postcode area was available but that has been fixed in https://github.com/twain47/Nominatim/commit/5d87136969dc13951ddddac346ffd0cd95dc1326

I've forced an reindex on your example address now and you'll see that the second result is gone. Addresses of other roads will gradually follow as the data gets changed in OSM.

Note: See TracTickets for help on using tickets.