komoot / photon

an open source geocoder for openstreetmap data
Apache License 2.0
1.83k stars 278 forks source link

layer=other ? #819

Closed yohanboniface closed 3 days ago

yohanboniface commented 3 days ago

Hi there :)

The README seems to indicate a layer=other value:

image

But this call to the API says nope:

https://photon.komoot.io/api?q=parc%20&layer=other

{"message":"Invalid layer 'other'. Allowed layers are: house,street,locality,district,city,county,state,country"}

Who to believe ? :)

My use case was to allow to search for natural parcs (in addition to city andcounty`).

Thanks!

Yohan