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

adybbroe / activefires-pp / 40192776655
75%
main: 75%

Build:
Build:
LAST BUILD BRANCH: v0.3.0
DEFAULT BRANCH: main
Ran 25 Oct 2026 12:22PM UTC
Jobs 1
Files 12
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

25 Oct 2026 12:21PM UTC coverage: 75.092% (-12.2%) from 87.303%
40192776655

Pull #36

github

Adam.Dybbroe
Handle polygon holes and boundaries correctly in fire filtering

Replace the previous exterior-ring-only point-in-polygon handling with
Shapely geometry predicates so spatial filtering respects full polygon
geometry.

Use `covers()` for point inclusion checks, which gives the intended
operational behaviour:

- points inside a polygon are included
- points inside polygon holes are excluded
- points on polygon boundaries are included
- the same semantics apply to both Polygon and MultiPolygon geometries

This fixes the previous behaviour where interior rings were ignored and
points inside holes could incorrectly be classified as inside the
polygon.

Add regression tests for polygon interiors, holes, exterior boundaries,
vertices, and points outside the geometry.

The boundary policy is intentionally simple and deterministic. Given
the native VIIRS spatial resolution, treating points on polygon
boundaries as inside avoids introducing sub-pixel distinctions that are
not physically meaningful.

Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Pull Request #36: Handle polygon holes and boundaries correctly in fire filtering - Refactor/05 spatial geometry

211 of 348 branches covered (60.63%)

1019 of 1357 relevant lines covered (75.09%)

2.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
32
85.88
5.02% spatiotemporal_alarm_filtering.py
21
89.26
6.48% post_processing.py
Jobs
ID Job ID Ran Files Coverage
1 run- - 40192776655.1 25 Oct 2026 12:22PM UTC 12
75.09
GitHub Action Run
Source Files on build 40192776655
  • Tree
  • List 12
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40192776655
  • Pull Request #36
  • PR Base - main (#39934649636)
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