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

Fall back to using the OSM grid country table when no countries are found in the OSM data #3608

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Dec 12, 2024

Reverse now falls back to returning country data from the default country_name and country_osm_grid tables when it cannot find the country polygon in placex. This is similar to what is search is doing when looking up countries that are not imported.

Fixes #3595.

@lonvia lonvia merged commit 0862671 into osm-search:master Dec 12, 2024
8 checks passed
@lonvia lonvia deleted the reverse-fallback-country branch December 12, 2024 17:51
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.

Reverse geocoding fails when no admin_level=2 boundary
1 participant