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

geo-engine / geoengine / 44479862681
89%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 08:05AM UTC
Jobs 1
Files 484
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

19 Nov 2026 06:56AM UTC coverage: 88.72% (+0.05%) from 88.671%
44479862681

push

github

web-flow
feat(backend): read coarser STAC assets for overview levels (#1475)

* feat(backend): read coarser STAC assets for overview levels

STAC dataset bands can list coarser assets with the same band, e.g. the
20 m and 60 m files of a 10 m Sentinel-2 band. When the source reads an
overview level, the STAC provider returns the coarsest of these files
that is not coarser than the level, instead of the native file.

JPEG 2000 files store all resolution levels of a tile in one tile-part,
so GDAL transfers almost the whole 10 m file even for small overviews.
Reading the 60 m files instead makes an overview of Germany about 16
times faster.

- add `coarserAssets` to STAC dataset bands, with migration 0040
- pass the target resolution of the source to its loading info
- read a coarser file in the dataset's pixels and round the read window
  to the file's pixels, letting GDAL resample it

* build(api-client): regenerate clients for STAC coarser assets

* refactor(backend): tell metadata the overview level instead of an optional resolution

`MultiBandGdalLoadingInfoQueryRectangle::resolution` is now a
`LoadingInfoResolution`: `Native` or `OverviewLevel(level)`. The GDAL source
sets the level it reads, so metadata no longer gets the tiling resolution of
a native read as if it were an overview.

* feat(backend): describe coarser STAC assets by an integer factor

A coarser asset now has a `factor` (`NonZeroU32`, at least 2, finest first)
instead of a resolution, since the reader only supports the same integer
multiple of the native resolution in both axes. Validation rejects factor 1
and unsorted or repeated factors.

Assets match a factor if their pixel size is within a relative 1e-6 of the
multiple, the same rule as the reader (`SpatialResolution::integer_multiple_of`).
Their pixel size is snapped to the exact multiple, so grid comparisons that
are stricter than the metadata check agree with it.

* fix(backend): choose the resolution of STAC files per item and band

... (continued)

865 of 882 new or added lines in 10 files covered. (98.07%)

4 existing lines in 3 files now uncovered.

146605 of 165245 relevant lines covered (88.72%)

438962.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
95.12
0.63% geoengine/services/src/datasets/external/stac/loading_info.rs
4
96.66
0.09% geoengine/operators/src/source/multi_band_gdal_source/mod.rs
4
93.84
0.55% geoengine/services/src/datasets/external/stac/mod.rs

Coverage Regressions

Lines Coverage ∆ File
2
89.3
-0.27% geoengine/operators/src/cache/shared_cache.rs
1
96.79
-0.02% geoengine/services/src/contexts/postgres.rs
1
95.12
0.63% geoengine/services/src/datasets/external/stac/loading_info.rs
Jobs
ID Job ID Ran Files Coverage
1 44479862681.1 19 Nov 2026 08:05AM UTC 484
88.72
GitHub Action Run
Source Files on build 44479862681
  • Tree
  • List 484
  • Changed 12
  • Source Changed 9
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44479862681
  • 9ec5b5c2 on github
  • Prev Build on gh-readonly-queue/main/pr-1473-68156f4845c4a486651c2024ccc2251a79744c8c (#44274204941)
  • Next Build on main (#44563424415)
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