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). |
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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? :)
All reactions