openSenseMap-API icon indicating copy to clipboard operation
openSenseMap-API copied to clipboard

bbox parameter returns also boxes that are outside of the bbox

Open jsten07 opened this issue 2 years ago • 0 comments

Requesting senseboxes via the API with the bbox filter set also returns some boxes that are not within the bbox.

For example: https://api.opensensemap.org/boxes?bbox=7.7,51.7,8.0,52.0 also returns a box (id: 5e43c56019585f001b6f722a) with the coordinates [9.957272,48.413565].

Enlarging the bbox also leads to more boxes outside of the bbox, e.g.: Request: https://api.opensensemap.org/boxes?bbox=7,51,8,52 Examples for boxes out of bbox: 5a48f9abdf5df2001a5cca3b 5ad3888f223bd80019096678 5b47538c5dc1ec001b57801e 5ba0ecc1c9abbd001b4c62bd 5be04ae455d0ad001adebb3f 5beec33998981f0019b7bbbb 5e43c56019585f001b6f722a (same as in previous request)

jsten07 avatar Jan 31 '23 11:01 jsten07