mapme-initiative / mapme.biodiversity

Efficient analysis of spatial biodiversity datasets for global portfolios
https://mapme-initiative.github.io/mapme.biodiversity/
GNU General Public License v3.0
24 stars 7 forks source link

setting snap to out to crop rasters by default #212

Closed goergen95 closed 7 months ago

goergen95 commented 7 months ago

This PR sets snap="out" in the backend when raster resources are cropped to the extent of an asset. With this we ensure that the outer grid cells of an asset are returned.

karpfen commented 7 months ago

After our discussion, this seems like the best way to go, so no objections from my side!

goergen95 commented 7 months ago

Thanks! I'll adjust the tests so that CI passes, then.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (640f93d) 74.60% compared to head (eb4fc7a) 74.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #212 +/- ## ======================================= Coverage 74.60% 74.60% ======================================= Files 43 43 Lines 1827 1827 ======================================= Hits 1363 1363 Misses 464 464 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.