pelias / api

HTTP API for Pelias Geocoder
http://pelias.io
MIT License
219 stars 163 forks source link

Curious behavior of Pelias with house number suffixes in answer #1638

Open dawidl11 opened 2 years ago

dawidl11 commented 2 years ago

Hi there,

I have a question about the general functionality of Pelias with house number suffixes. I recently noticed that in Pelias the house number suffixes are not really respected in the answers and addresses with the same house number but different house number suffix are rated the same in the answers.

Here is an example:

What do I use? A new Pelias snapshot with the latest data (OSM, WOF, GN and OA).

My request: Unstructured search for the following address: „Bedburg-Hau Hebbenshof 83“ (/v1/search?text=Bedburg-Hau Hebbenshof 83&debug=1) image

Result: My expectations: "Hebbenshof 83, Bedburg-Hau, Germany" as the top result. Reality: "Hebbenshof 83a, Bedburg-Hau, Germany" as the top result. image

This behavior affects not only this example, but also many others. So, I could notice that Pelias does not interpret the house number suffixes correctly (this also affects the structured search).

My question: What is the cause of this problem with the house number suffixes and will it be fixed in the future?

Many thanks in advance for the answers!

dawidl11 commented 2 years ago

The same happens when I search for the following address, for example: "Tiroler Str. 14B, 22049 Hamburg, Germany". The order of the answers looks rather random: image

Have you also noticed this problem?

dawidl11 commented 2 years ago

Hi @missinglink , can you confirm this behavior, or is there some other logic that allows differentiation by house number suffix in the request?

slvlirnoff commented 2 years ago

I can confirm seeing the same behavior in some cases. Let me know if you see where it comes from.