opendatacube / odc-geo

GeoBox and geometry utilities extracted from datacube-core
https://odc-geo.readthedocs.io/en/latest/
Apache License 2.0
83 stars 15 forks source link

Handle GeoBoxes and Geometries that do not project cleanly #61

Closed Kirill888 closed 2 years ago

Kirill888 commented 2 years ago

Example

Displaying geobox that goes off to infinity that used to raise an error previously:

Screen Shot 2022-08-11 at 4 09 27 pm

Related to

https://github.com/opendatacube/odc-stac/issues/85

github-actions[bot] commented 2 years ago

🚀 Deployed on https://62f49f1e94327f7af12142a2--odc-geo-docs.netlify.app

codecov[bot] commented 2 years ago

Codecov Report

Merging #61 (ba06428) into develop (7f11c26) will decrease coverage by 0.06%. The diff coverage is 93.02%.

@@             Coverage Diff             @@
##           develop      #61      +/-   ##
===========================================
- Coverage    97.48%   97.42%   -0.07%     
===========================================
  Files           22       22              
  Lines         3146     3179      +33     
===========================================
+ Hits          3067     3097      +30     
- Misses          79       82       +3     
Impacted Files Coverage Δ
odc/geo/roi.py 97.97% <62.50%> (-1.50%) :arrow_down:
odc/geo/_version.py 100.00% <100.00%> (ø)
odc/geo/geobox.py 97.87% <100.00%> (ø)
odc/geo/geom.py 100.00% <100.00%> (ø)
odc/geo/math.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.