Skip to content

Fix point bounding box query bug (occurring for non-trivial transformations within non-matching 3D axes) - #1187

Merged
LucaMarconato merged 20 commits into
mainfrom
fix/bounding-box-query-axes-dependent-results
Aug 27, 2026
Merged

Fix point bounding box query bug (occurring for non-trivial transformations within non-matching 3D axes)#1187
LucaMarconato merged 20 commits into
mainfrom
fix/bounding-box-query-axes-dependent-results

bench: up to 100M points for bounding box queries

3b05663
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 27, 2026 in 0s

91.85% (target 1.00%)

View this Pull Request on Codecov

91.85% (target 1.00%)

Details

Codecov Report

❌ Patch coverage is 94.69027% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.85%. Comparing base (7944486) to head (3b05663).

Files with missing lines Patch % Lines
src/spatialdata/_core/query/spatial_query.py 89.13% 5 Missing ⚠️
src/spatialdata/transformations/transformations.py 97.95% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1187      +/-   ##
==========================================
- Coverage   92.40%   91.85%   -0.56%     
==========================================
  Files          52       53       +1     
  Lines        7872     7928      +56     
==========================================
+ Hits         7274     7282       +8     
- Misses        598      646      +48     
Files with missing lines Coverage Δ
src/spatialdata/_core/operations/rasterize.py 90.60% <100.00%> (ø)
src/spatialdata/_core/query/_utils.py 93.26% <100.00%> (ø)
src/spatialdata/_types.py 100.00% <100.00%> (ø)
src/spatialdata/_utils.py 85.43% <100.00%> (-0.10%) ⬇️
src/spatialdata/utils/points.py 100.00% <100.00%> (ø)
src/spatialdata/transformations/transformations.py 84.12% <97.95%> (-6.68%) ⬇️
src/spatialdata/_core/query/spatial_query.py 94.72% <89.13%> (-0.81%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.