Filter by country #677
Unanswered
HenrikZabel
asked this question in
Q&A
Replies: 2 comments
-
There is no function for filtering by country. You can only add the country to the search term (which isn't the same but hopefully still improves the result). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I implemented this by first querying for the country itself to gets its coordinates, then biassing a second search towards the country's coordinates and finally filtering out non-matching results. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://photon.komoot.io/api?q=Berlin&limit=3&osm_tag=country:germany
I don't know a way to filter by country. My example does not work obviously ;/
Maybe someone can help me? :)
Beta Was this translation helpful? Give feedback.
All reactions