Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop address interpolations when no parent can be found #3422

Merged
merged 2 commits into from
May 14, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented May 14, 2024

When an address interpolation has no parent, then results within these interpolations are displayed as ", ". That is not very helpful. Address interpolations only look for streets for parenting. We could extend this to parent to the next relevant administrative area but this would change the display name only to something like ", , ". This is better but still confusing.

There are currently about 500 interpolations without parent (of about 3million in total). That's a very small number and points rather to data issues that should be fixed. On the Nominatim side, just drop those to avoid odd results during reverse geocoding.

Fixes #3421.

A housenumber without the place it refers to is of only limited use.
@lonvia lonvia merged commit 6a74820 into osm-search:master May 14, 2024
11 checks passed
@lonvia lonvia deleted the drop-non-parented-interpolations branch May 14, 2024 14:40
@mtmail
Copy link
Collaborator

mtmail commented May 23, 2024

There are currently about 500 interpolations without parent (of about 3million in total)

I fixed many, should be less than 150 now.

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

Successfully merging this pull request may close these issues.

Interpolated address doesn't return city, state
2 participants