Consider tolerance for geospatial bounds #1121
Unanswered
tanyamarton
asked this question in
Q&A
Replies: 1 comment
-
@tanyamarton can you share which version of titiler/rio-tiler you're using and where the error message comes from. we've added some change in rio-tiler 7.1.0 which should take care of this cogeotiff/rio-tiler#755 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've encountered a validation and tiling issue with a NetCDF dataset with the following bounds:
ds.rio.bounds()
(-180.0, -90.0, 180.00000000000003, 90.00000000000001)
This fails the requirement that the bounds be strictly within [-180, 180] for longitude and [-90, 90] for latitude.
The bounds just barely exceed the requirement, and their failure could be due to floating point precision, when they should arguably be treated as valid.
Would it be possible for titiler to apply a small tolerance when validating bounds?
Beta Was this translation helpful? Give feedback.
All reactions