photon icon indicating copy to clipboard operation
photon copied to clipboard

Filtering by multiple filters does not always work

Open autumnus opened this issue 6 years ago • 1 comments

The search API says:

Note: not all tags on link in the title are supported. Please see nominatim source for an accurate list. If one or many query parameters named osm_tag are present, photon will attempt to filter results by those tags. In general, here is the expected format (syntax) for the value of osm_tag request parameters.

In general that works: http://photon.komoot.de/api/?q=kyoto&lang=de&osm_tag=place:city&limit=100 http://photon.komoot.de/api/?q=kyoto&lang=de&osm_tag=place:town&limit=100 http://photon.komoot.de/api/?q=kyoto&lang=de&osm_tag=place:village&limit=100

But combining does not always work: http://photon.komoot.de/api/?q=kyoto&lang=de&osm_tag=place:city&osm_tag=place:town&limit=100 (works) http://photon.komoot.de/api/?q=kyoto&lang=de&osm_tag=place:city&osm_tag=place:village&limit=100 (does NOT work)

(That way I tried to work around my issue #322)

Best regards, Autumnus

autumnus avatar Apr 17 '18 11:04 autumnus

Could you please describe why you think that the last query does not work? It returns results with place:city and place:village. What behavior do you expect?

hbruch avatar Oct 12 '18 19:10 hbruch