• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geo-engine / geoengine / 44245022136
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1452-e65b9d1ae9ea8a39bed582a77aef54eb6893956c
DEFAULT BRANCH: main
Ran 18 Nov 2026 06:31AM UTC
Jobs 1
Files 482
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2026 05:32AM UTC coverage: 88.552% (+0.08%) from 88.474%
44245022136

push

github

web-flow
feat(backend): average, mode, min, max and bilinear resampling for Warp (#1469)

* feat(backend): average, mode, min, max and bilinear resampling for Warp

Warp gets `downsampling` (nearest, average, mode, min, max) and `upsampling` (nearest, bilinear) with the semantics of `gdalwarp -r`, and `outputDataType`. They replace the unreleased `method` parameter; the defaults are left out when serialized, so existing processing graphs keep their ids. `downsampling` applies to outputs that are coarser than the input in at least one axis, `upsampling` to outputs that are finer in both axes. Methods other than nearest require the same spatial reference for now.

The kernels follow GDAL's warp kernel: coverage-weighted footprints, mode ties to the value that reaches the maximum first, bilinear with renormalised weights and no data where the pixel under the center has none, integers rounded half up. Tests compare against GDAL 3.12 results in test_data/raster/warp.

* fix(backend): treat NaN as no data in all Warp kernels

An unmasked NaN made the whole output pixel no data with average and
bilinear, was skipped by min and max, and counted as a new value in
mode. Skip it once when a pixel is added, like a no-data pixel.

* fix(backend): keep fractions when Warp converts integers to floats

With an output type that cannot hold every input value, e.g. I32 to F32,
the kernel computed in the input type and rounded the average there.
Compute in F64 for float outputs instead and convert at the end.

* fix(backend): scale the Warp footprint tolerance with the pixel index

Footprint edges were compared with a fixed tolerance of 1e-10 on global
pixel indices. On fine grids these indices are large, e.g. 10^7 at
0.0001 degrees, and their rounding error exceeds that tolerance, so a
pixel that only touches the edge was counted. Scale the tolerance with
the magnitude of the index and cap edge weights at 1.

* fix(backend): bound the memory of Warp mode and reject it for floats... (continued)

1465 of 1516 new or added lines in 11 files covered. (96.64%)

3 existing lines in 1 file now uncovered.

144308 of 162964 relevant lines covered (88.55%)

535733.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
97.51
geoengine/operators/src/processing/warp/kernels.rs
9
98.14
0.86% geoengine/operators/src/processing/warp/mod.rs
8
88.28
-0.39% geoengine/services/src/api/model/processing_graphs/processing.rs
7
63.22
0.22% geoengine/operators/src/engine/execution_context.rs
5
83.16
-0.57% geoengine/services/src/api/model/processing_graphs/back_conversion/raster.rs
4
39.18
14.94% geoengine/datatypes/src/raster/data_type.rs
2
96.83
-0.05% geoengine/services/src/contexts/postgres.rs

Coverage Regressions

Lines Coverage ∆ File
3
96.43
-0.29% geoengine/operators/src/processing/reprojection.rs
Jobs
ID Job ID Ran Files Coverage
1 44245022136.1 18 Nov 2026 06:31AM UTC 482
88.55
GitHub Action Run
Source Files on build 44245022136
  • Tree
  • List 482
  • Changed 17
  • Source Changed 16
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44245022136
  • 8ed07481 on github
  • Prev Build on gh-readonly-queue/main/pr-1456-325455abdd56b44a2190310f9c2209808b93794b (#44245020317)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc