-
Notifications
You must be signed in to change notification settings - Fork 6
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
Abstract Test 13 clarification #187
Comments
Thank you for reporting. The code leading to this bounding box is found here: Lines 40 to 60 in cf0ebe3
The pre-defined bounding boxes are not required by the standard anymore but were part of an earlier version of the standard (pre-version). I also agree that your referenced bounding box looks strange. However, I propose to remove all predefined bound boxes from the test suite as they are not required anymore. |
A bounding box
|
@cportele Thank you for clarification. Thus, there is no actual need to remove the pre-defined bounding boxes. |
Thanks for the clarification, makes sense. pygeoapi has been updated as a result and now passes this test. Thank you CITE! |
Describe the bug
Abstract Test 13 is possibly sending an items query with an erroneous
bbox
parameter,To Reproduce
Steps to reproduce the behavior:
java.lang.AssertionError: 1 expectation failed. Expected status code <200> but was <400>
Expected behavior
The ETS should send a valid bbox to the OAFeat server, or if it is sending an invalid
bbox
by design, allow for a 400 response.Screenshots
![image](https://user-images.githubusercontent.com/910430/147426741-27f24ae2-4599-4d70-9cdc-5e3c99cf7751.png)
https://demo.pygeoapi.io/cite/collections/canada-hydat-daily-mean-02hc003/items?bbox=177.0000000%2C65.0000000%2C-177.0000000%2C70.0000000
Additional context
Request params: bbox=177.0000000,65.0000000,-177.0000000,70.0000000
(looks like minx > maxx?)The text was updated successfully, but these errors were encountered: