Skip to content

bbox parameter returns also boxes that are outside of the bbox #715

Open
@jsten07

Description

@jsten07

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions