-
Notifications
You must be signed in to change notification settings - Fork 11
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
BBOX tests can fail due to precision issues #106
Milestone
Comments
Thank you for reporting. We will do further investigation. |
I already have a fix, I'm writing tests for it |
aaime
added a commit
to aaime/ets-wfs20
that referenced
this issue
Apr 19, 2018
Tentative fix here: #107 (works for me) |
dstenger
added a commit
that referenced
this issue
May 7, 2018
#106, BBOX tests can fail due to precision issues
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a dataset with just two EPSG 4326 points having the following coordinates:
The BBOX tests sample those points, get the overall bbox, and then use geomatrics-tgeotk Extends.evenlopeAsGML method to turn that into a BBOX usable for a filter. Unfortunately the method formats with just 2 decimal digits (definitely not enough for geographic coordinates) and ends up building a request as follows:
The first point is not captured by the request as it sits slightly north of the bounds, while the second sits slightly west of the bounds. No features get captured, and the test end up failing.
Unfortunately the method does not allow customizing the precision, I guess the only approach would be to expand the extends a bit before formatting them. I'll follow up with a pull request.
The text was updated successfully, but these errors were encountered: