stratified_packager.processing

The plugin’s QGIS Processing framework integration.

Houses StratifiedPackagerProvider and the single StratifiedPackagerAlgorithm it registers, together with the algorithm’s supporting modules: parameter resolution, strata, matching, staging, worker threads, project building, bundling and reporting. Algorithm behavior is normatively specified in SPEC.md at the repository root.

Modules

algorithm

The Stratified Packager Processing algorithm: orchestration of Phases A/B/C (SPEC §8).

building

Stratum GeoPackage assembly on the algorithm thread (SPEC §8.3).

bundling

Auxiliary file bundling: data/ payloads and resources/ style assets (SPEC §14).

dedup

Deduplication of packaged layers sharing one normalized data source (SPEC §12).

matching

The matching engine: method resolution, relation-chain keys, spatial fid sets (SPEC §4/§7).

material

Phase-A → Phase-B/C hand-off records and their shared helpers (SPEC §8).

params

Parameter declarations, typed contracts and the shared default resolver (SPEC §3/§5).

project_builder

Embedded per-stratum project construction (SPEC §13).

provider

The plugin's Processing provider and its GUI-only default-refresh hookups (SPEC §5).

report

CSV reporting: the run-level report and the per-zip reports (SPEC §9).

reporting

QGIS-side assembly of the §9 report rows (run-level and per-zip).

staging

Per-layer staging decisions (SPEC §8.2).

strata

Strata resolution: snapshot, strict naming, gpkg/zip path evaluation, bundling (SPEC §6).

virtual

Virtual-layer routing: materialize into the stratum gpkg vs. keep live (SPEC §4/§13).

workers

Background zip publishing: the only work that leaves the algorithm thread (SPEC §8.4/§10).