Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"limit":1 returns all POIs in buffer #125

Open
koebi opened this issue Jun 30, 2022 · 0 comments
Open

"limit":1 returns all POIs in buffer #125

koebi opened this issue Jun 30, 2022 · 0 comments

Comments

@koebi
Copy link

koebi commented Jun 30, 2022

Given this request:

{"request":"pois","geometry":{"buffer":100,"geojson":{"type":"Point","coordinates":[9.17736992239952,48.78049061818563]}},"limit":1,"sortby":"distance"}

all POIs within the buffer are returned, as if the limit is not respected.

I believe this line:

to be the culprit - probably the 2 should be a 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant