-
Notifications
You must be signed in to change notification settings - Fork 1
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
SOS stations REST API bbox filter doesn't work/gives status 400 #1
Comments
Hi David, |
Hey @opeeters , Any updates on this issue? Kind regards, |
Sorry @Ventis, |
@Ventis, |
That seems to work idd, although the CRS param doesn't seem to work (not needed by me, just pointing it out). There's another issue I found with the data itself but I'll create a separate issue for it. |
Hi,
I'm trying to use bounding boxes to filter the stations retrieved by doing a GET request to https://geo.irceline.be/sos/api/v1/stations
The docs mention you can use a BBOX to filter the retrieved stations:
However, no matter how I structure the request I only get 400 statusses with a description "The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing)."
The request I'm trying pertains to a BBOX around Bruges:
No docs also mention all parameters need to be URI encoded and of course for a query param that requires a JSON object I did that too.
The request failing: https://geo.irceline.be/sos/api/v1/stations?bbox=%7B%0A%20%20%20%22ll%22%3A%7B%0A%20%20%20%20%20%20%22type%22%3A%22Point%22%2C%0A%20%20%20%20%20%20%22coordinates%22%3A%5B%0A%20%20%20%20%20%20%20%20%203.044164%2C%0A%20%20%20%20%20%20%20%20%2051.169179%0A%20%20%20%20%20%20%5D%0A%20%20%20%7D%2C%0A%20%20%20%22ur%22%3A%7B%0A%20%20%20%20%20%20%22type%22%3A%22Point%22%2C%0A%20%20%20%20%20%20%22coordinates%22%3A%5B%0A%20%20%20%20%20%20%20%20%203.285440%2C%0A%20%20%20%20%20%20%20%20%2051.324772%0A%20%20%20%20%20%20%5D%0A%20%20%20%7D%0A%7D
Can anybody help me out, or is this functionality just broken on the irceline SOS REST API?
The text was updated successfully, but these errors were encountered: