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

Take _place_name* keys into consideration on import #694

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

lonvia
Copy link
Collaborator

@lonvia lonvia commented Oct 5, 2022

In osm-search/Nominatim#2637 Nominatim changed its behaviour how it handles names from linked place nodes. They no longer overwrite the name of a boundary they are linked to. Instead the names are added with the additional prefix _place_.

This PR adapts the import process to also look for these new _place_* name keys. As before, the name from a place node is preferred.

Nominatim has changed its behaviour and does not overwrite names
anymore when linking boundaries and place nodes. Names from places
are now found in artificial '_place_*' tags.

Search both name variants when building names and addresses.
@lonvia lonvia merged commit e0e1928 into komoot:master Oct 5, 2022
@lonvia lonvia deleted the add-place-name branch October 5, 2022 09:20
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.

1 participant