You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you start a request and ignore some sources (eg: sources=-gn) and some layers (eg. layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue) the negated layers are ignored every time.
Expected behavior
That the two parameters are combinded an return a result which suits the parameters. Or throws an error/warning that this combination isn't allowed.
Environment (please complete the following information):
OS: Debian/Ubuntu
Docker Version: 24.0.1
Docker compose version: 1.29.2/2.18.1 (with support for docker compose v2 docker#316)
Since this error occurs on the offical geocode instance I don't think that it is OS dependent.
References
Didn't found any. Sorry, if I created a duplicate 🙈
The text was updated successfully, but these errors were encountered:
Describe the bug
If you start a request and ignore some sources (eg:
sources=-gn
) and some layers (eg.layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue
) the negated layers are ignored every time.Steps to Reproduce
Create a query where some layers and sources are ignored. (eg. https://pelias.github.io/compare/#/v1/search?sources=-gn&layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue&text=M%C3%BCnchen+Hbf&debug=1).
As you can see in the results that venues are not ignored. If the query just ignores some layers (eg. https://pelias.github.io/compare/#/v1/search?layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue&text=M%C3%BCnchen+Hbf&debug=1) everything looks good.
Expected behavior
That the two parameters are combinded an return a result which suits the parameters. Or throws an error/warning that this combination isn't allowed.
Environment (please complete the following information):
Since this error occurs on the offical geocode instance I don't think that it is OS dependent.
References
Didn't found any. Sorry, if I created a duplicate 🙈
The text was updated successfully, but these errors were encountered: