[Photon] Can Photon filter to only return things in certain countries?

Christoph Lingg christoph at lingg.eu
Tue Dec 8 14:08:07 UTC 2015


Hi Rory,

> Am 03.12.2015 um 15:20 schrieb Rory McCann <rory at technomancy.org>:
> 
> Hi all,
> 
> Nominatim has the ability to filter the results by country[1], i.e. you
> can do a search but only return things that are in a specified
> country(/ies).
> 
> Is there any such functionality in Photon?
No there isn’t yet.

> If not, would it be hard to implement?
Probably not.

> I see there were mailing list postings[2] about adding filters. Is that advice still relevant?
Filters were already added but only for key/value pairs. For instance you can only show results that are restaurants, see https://github.com/komoot/photon#filter-results-by-tags-and-values

> 
> Thanks,
> 
> Rory
> 
> [1] http://wiki.openstreetmap.org/wiki/Nominatim#Parameters
> [2]
> https://lists.openstreetmap.org/pipermail/photon/2015-January/000041.html
> 
> _______________________________________________
> Photon mailing list
> Photon at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/photon




More information about the Photon mailing list