GIScience/openpoiservice

`"limit":1` returns all POIs in buffer

koebi opened this issue · 0 comments

koebi commented

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.