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

evaluate extratags->linked_place from placex table #490

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

lonvia
Copy link
Collaborator

@lonvia lonvia commented Sep 13, 2020

In recent versions of Nominatim the type of a linked place
has been moved from extratags->place to extratags->linked_place
so that it does not overwrite values set by mappers.

Change Photon to look at both fields. Keep a preference to the
'place' value as this would be whatever the mapper has chosen.

This change is backward compatible in the sense that Photon works
with older and newer versions of Nominatim.

Fixes #489.

In recent versions of Nominatim the type of a linked place
has been moved from extratags->place to extratags->linked_place
so that it does not overwrite values set by mappers.

Change Photon to look at both fields. Keep a preference to the
'place' value as this would be whatever the mapper has chosen.

This change is backward compatible in the sense that Photon works
with older and newer versions of Nominatim.

Fixes komoot#489.
@lonvia lonvia merged commit c87f7a8 into komoot:master Sep 13, 2020
@lonvia lonvia deleted the use-linked-place-from-extratags branch December 5, 2020 16:13
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.

Local instance returns different results compared the public API
1 participant