diff --git a/CHANGELOG.md b/CHANGELOG.md index ec414e2..09e1f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,38 +7,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.5.1] - 2026-10-01 + +The PICC and UrbIS source plugins move to 0.2.0 and now declare +`gispulse>=2.5.1`: their road-crossings builders ship in this core. The +plugins still live in the repository, not in the wheel; install them from the +release tag, e.g. +`pip install "gispulse-src-picc @ git+https://github.com/imagodata/gispulse@v2.5.1#subdirectory=plugins/gispulse-src-picc"`. +The GRB plugin code is unchanged: its new behaviour comes from the core. + ### Added -- **Road-crossings level evidence for Wallonia and Brussels.** - - **Wallonia:** `export_picc` now also publishes `road_crossings*.geoparquet` - (`build_picc_road_crossings`). +- **Road-crossings level evidence for Wallonia and Brussels (#502).** Same + files and columns as the GRB artifact of 2.5.0 (`road_crossings`, + `road_crossings_coverage`, `road_crossings_exclusions`, EPSG:31370). + - **Wallonia:** `python -m gispulse_src_picc.export --write` now also + publishes `road_crossings*.geoparquet` (`build_picc_road_crossings`). - `Ouvrage d'art` surfaces at `NIVEAU` ≥ 1 (bridge decks) are `grade_separated`; the level is stated by the source. - - `NIVEAU` 0 surfaces are `ground`, and so are `Tronçon`/`Carrefour` - surfaces with an empty `NIVEAU`, by a closed-world reading of the - continuous inventory. An unreadable `NIVEAU` is never read as empty. + - `Ouvrage d'art` surfaces at `NIVEAU` 0 are `ground`, and so are + `Tronçon`, `Carrefour` and `Aire de repos` surfaces at `NIVEAU` 0 or + with an empty `NIVEAU`, by a closed-world reading of the continuous + inventory. An unreadable `NIVEAU` is never read as empty. - Tunnels (`NIVEAU` ≤ −1) are `unknown` and leave coverage: PICC axes carry no level, so a tunnel's axis cannot be told from a street above it. - Decks and tunnels both take priority over the ground surfaces they cover. - - **Brussels:** new `gispulse_src_urbis.prepare` command - (`build_urbis_road_crossings`). + - **Brussels:** new `python -m gispulse_src_urbis.prepare` command + (dry-run by default, `--write` to fetch; `build_urbis_road_crossings`). - Road bridges (`ROB`) are `grade_separated`, and so are road tunnels (`ROT`) with the axes below `LVL` 0 inside them. - Carriageway surfaces at `LVL` 0 are `ground`, with their `LVL` 0 axes. - A level that no structure explains leaves coverage. + - Both commands take `--crossing-exclusion-buffer-m` (default 15 m). If the + build fails with a `PICC_CROSSINGS_*` / `URBIS_CROSSINGS_*` error, the + report says `road_crossings.status = "failed"` and the raw layers are + still published; any other error fails the whole command. The PICC + `report.json` gains `crossing_exclusion_buffer_m`, `road_crossings`, and + derived entries in `layers` (`derived: true`, without source or count + keys). + - **Differences from GRB, for consumers:** `morf_codes` holds the source's + road-class labels (PICC `NATUR_DESC`, UrbIS `TYPE`/`HIERARCHY`), not + integer `MORF` codes; `grade_separated` rests on the level the source + states (PICC `NIVEAU`, UrbIS `ROB`/`ROT`), not on GRB's node-less crossing + test; bridges and tunnels are grouped separately, so a bridge over a + tunnel yields two rows whose footprints overlap. + - **Known limitation (all three regions):** the coverage polygon does not + clip to the source's territory, so the part of an extent outside Flanders, + Wallonia or Brussels is declared covered although the source has no data + there. - All three regions now share `road_crossings_common` (axis clipping, - fragment merging, coverage accounting, output contract). -- **GRB road crossings: `MORF` 120 dienstweg is a carriageway, 125 aardeweg - is not** (explicit costing decision, reported under `axis_classes`). - In 2.5.0 both were unresolved and left out of coverage. + fragment merging, coverage accounting, output contract). The builders are + plain functions, not registered capabilities. + +### Changed + +- **GRB road crossings: an in-service (`STATUS` 4) `MORF` 120 dienstweg is a + carriageway, `MORF` 125 aardeweg is not (#502).** This is an explicit + costing decision, reported under the new `road_crossings.axis_classes` + report key. In 2.5.0 both were unresolved and left out of coverage. As a + result, dienstwegen now yield `ground` rows; WBN and KNW elements carrying + only aardewegen enter coverage without a row; and a dienstweg ending inside + a KNW structure now makes it `unknown` (it was `grade_separated`, though out + of coverage). An out-of-service 120 stays unresolved. ### Fixed -- **PICC export no longer fails on real extents.** The source now requests - XY-only geometry (`returnZ=false`). Projected server-side to WGS84 with Z, - some surfaces came back self-intersecting, and `export_picc` raised - `PICC_LAYER_INVALID` (measured on a 6 × 6 km tile at Liège). +- **PICC export no longer fails on real extents (#502).** The source now + requests XY-only geometry (`returnZ=false`), so raw PICC layers are 2D. + Projected server-side to WGS84 with Z, some surfaces came back + self-intersecting, and `export_picc` raised `PICC_LAYER_INVALID` (measured + on a 6 × 6 km tile at Liège). ## [2.5.0] - 2026-10-01 @@ -1089,7 +1128,8 @@ Hotfix release that unblocks the v1.3.0 distribution: `pipx install gispulse` no - Structured logging with sanitized outputs - Input validation and type safety across portal node system -[Unreleased]: https://github.com/imagodata/gispulse/compare/v2.5.0...HEAD +[Unreleased]: https://github.com/imagodata/gispulse/compare/v2.5.1...HEAD +[2.5.1]: https://github.com/imagodata/gispulse/compare/v2.5.0...v2.5.1 [2.5.0]: https://github.com/imagodata/gispulse/compare/v2.4.0...v2.5.0 [2.4.0]: https://github.com/imagodata/gispulse/compare/v2.3.0...v2.4.0 [2.3.0]: https://github.com/imagodata/gispulse/compare/v1.0.0...v2.3.0 diff --git a/docs-site/changelog.md b/docs-site/changelog.md index f0f8d84..53ddead 100644 --- a/docs-site/changelog.md +++ b/docs-site/changelog.md @@ -13,6 +13,37 @@ La source de vérité de ce fichier est [`CHANGELOG.md`](https://github.com/imag --- +## [2.5.1] — 2026-10-01 + +Les plugins source PICC et UrbIS passent en 0.2.0 et déclarent désormais `gispulse>=2.5.1` : leurs constructeurs de traversées sont livrés dans ce core. Les plugins vivent toujours dans le dépôt, pas dans le wheel ; installez-les depuis le tag de la release, par exemple `pip install "gispulse-src-picc @ git+https://github.com/imagodata/gispulse@v2.5.1#subdirectory=plugins/gispulse-src-picc"`. Le code du plugin GRB est inchangé : son nouveau comportement vient du core. + +### Ajouté + +- **Preuve de niveau des traversées de voirie pour la Wallonie et Bruxelles (#502).** Mêmes fichiers et mêmes colonnes que l'artefact GRB de 2.5.0 (`road_crossings`, `road_crossings_coverage`, `road_crossings_exclusions`, EPSG:31370). + - **Wallonie :** `python -m gispulse_src_picc.export --write` publie aussi `road_crossings*.geoparquet` (`build_picc_road_crossings`). + - Les surfaces `Ouvrage d'art` à `NIVEAU` ≥ 1 (tabliers de pont) sont `grade_separated` ; le niveau est donné par la source. + - Les surfaces `Ouvrage d'art` à `NIVEAU` 0 sont `ground`, de même que les surfaces `Tronçon`, `Carrefour` et `Aire de repos` à `NIVEAU` 0 ou vide, par une lecture en monde clos de l'inventaire continu. Un `NIVEAU` illisible n'est jamais lu comme vide. + - Les tunnels (`NIVEAU` ≤ −1) sont `unknown` et sortent de la couverture : les axes PICC ne portent pas de niveau, on ne peut donc pas distinguer l'axe d'un tunnel d'une rue au-dessus. + - Tabliers et tunnels priment tous deux sur les surfaces au sol qu'ils recouvrent. + - **Bruxelles :** nouvelle commande `python -m gispulse_src_urbis.prepare` (à blanc par défaut, `--write` pour télécharger ; `build_urbis_road_crossings`). + - Les ponts routiers (`ROB`) sont `grade_separated`, de même que les tunnels routiers (`ROT`) avec les axes sous `LVL` 0 qu'ils contiennent. + - Les surfaces de chaussée à `LVL` 0 sont `ground`, avec leurs axes à `LVL` 0. + - Un niveau qu'aucun ouvrage n'explique sort de la couverture. + - Les deux commandes acceptent `--crossing-exclusion-buffer-m` (15 m par défaut). Si la construction échoue sur une erreur `PICC_CROSSINGS_*` / `URBIS_CROSSINGS_*`, le rapport indique `road_crossings.status = "failed"` et les couches brutes restent publiées ; toute autre erreur fait échouer la commande entière. Le `report.json` PICC gagne `crossing_exclusion_buffer_m`, `road_crossings` et des entrées dérivées dans `layers` (`derived: true`, sans clés de source ni de comptage). + - **Différences avec GRB, pour les consommateurs :** `morf_codes` contient les libellés de classe de route de la source (PICC `NATUR_DESC`, UrbIS `TYPE`/`HIERARCHY`), pas des codes `MORF` entiers ; `grade_separated` repose sur le niveau donné par la source (PICC `NIVEAU`, UrbIS `ROB`/`ROT`), pas sur le test GRB de croisement sans nœud ; ponts et tunnels sont groupés séparément, si bien qu'un pont au-dessus d'un tunnel donne deux lignes dont les emprises se recouvrent. + - **Limite connue (les trois régions) :** le polygone de couverture n'est pas découpé au territoire de la source ; la partie d'une emprise hors de la Flandre, de la Wallonie ou de Bruxelles est donc déclarée couverte alors que la source n'y a pas de données. + - Les trois régions partagent désormais `road_crossings_common` (découpe des axes, fusion des fragments, comptabilité de la couverture, contrat de sortie). Les constructeurs sont de simples fonctions, pas des capabilities enregistrées. + +### Modifié + +- **Traversées GRB : un dienstweg `MORF` 120 en service (`STATUS` 4) est une chaussée, un aardeweg `MORF` 125 n'en est pas une (#502).** C'est une décision de chiffrage explicite, rapportée sous la nouvelle clé `road_crossings.axis_classes` du rapport. En 2.5.0, les deux étaient non résolus et sortaient de la couverture. En conséquence, les dienstwegen produisent désormais des lignes `ground` ; les éléments WBN et KNW qui ne portent que des aardewegen entrent dans la couverture sans ligne ; et un dienstweg qui se termine dans un ouvrage KNW le rend désormais `unknown` (il était `grade_separated`, mais hors couverture). Un 120 hors service reste non résolu. + +### Corrigé + +- **L'export PICC n'échoue plus sur des emprises réelles (#502).** La source demande désormais une géométrie XY seule (`returnZ=false`) : les couches PICC brutes sont donc en 2D. Projetées côté serveur en WGS84 avec Z, certaines surfaces revenaient auto-intersectées et `export_picc` levait `PICC_LAYER_INVALID` (mesuré sur une tuile de 6 × 6 km à Liège). + +--- + ## [2.5.0] — 2026-10-01 Les plugins source ci-dessous (PICC, UrbIS, GRB, et OSM pour le correctif) vivent dans le dépôt (`plugins/`), pas dans le wheel `gispulse`. Installez-les depuis le tag de la release, par exemple `pip install "gispulse-src-grb @ git+https://github.com/imagodata/gispulse@v2.5.0#subdirectory=plugins/gispulse-src-grb"`. PICC, UrbIS et GRB déclarent désormais `gispulse>=2.5.0`, dont ils ont besoin. diff --git a/docs-site/en/changelog.md b/docs-site/en/changelog.md index ad8828b..3f6e02a 100644 --- a/docs-site/en/changelog.md +++ b/docs-site/en/changelog.md @@ -13,6 +13,37 @@ The authoritative version of this file lives at [`CHANGELOG.md`](https://github. --- +## [2.5.1] — 2026-10-01 + +The PICC and UrbIS source plugins move to 0.2.0 and now declare `gispulse>=2.5.1`: their road-crossings builders ship in this core. The plugins still live in the repository, not in the wheel; install them from the release tag, e.g. `pip install "gispulse-src-picc @ git+https://github.com/imagodata/gispulse@v2.5.1#subdirectory=plugins/gispulse-src-picc"`. The GRB plugin code is unchanged: its new behaviour comes from the core. + +### Added + +- **Road-crossings level evidence for Wallonia and Brussels (#502).** Same files and columns as the GRB artifact of 2.5.0 (`road_crossings`, `road_crossings_coverage`, `road_crossings_exclusions`, EPSG:31370). + - **Wallonia:** `python -m gispulse_src_picc.export --write` now also publishes `road_crossings*.geoparquet` (`build_picc_road_crossings`). + - `Ouvrage d'art` surfaces at `NIVEAU` ≥ 1 (bridge decks) are `grade_separated`; the level is stated by the source. + - `Ouvrage d'art` surfaces at `NIVEAU` 0 are `ground`, and so are `Tronçon`, `Carrefour` and `Aire de repos` surfaces at `NIVEAU` 0 or with an empty `NIVEAU`, by a closed-world reading of the continuous inventory. An unreadable `NIVEAU` is never read as empty. + - Tunnels (`NIVEAU` ≤ −1) are `unknown` and leave coverage: PICC axes carry no level, so a tunnel's axis cannot be told from a street above it. + - Decks and tunnels both take priority over the ground surfaces they cover. + - **Brussels:** new `python -m gispulse_src_urbis.prepare` command (dry-run by default, `--write` to fetch; `build_urbis_road_crossings`). + - Road bridges (`ROB`) are `grade_separated`, and so are road tunnels (`ROT`) with the axes below `LVL` 0 inside them. + - Carriageway surfaces at `LVL` 0 are `ground`, with their `LVL` 0 axes. + - A level that no structure explains leaves coverage. + - Both commands take `--crossing-exclusion-buffer-m` (default 15 m). If the build fails with a `PICC_CROSSINGS_*` / `URBIS_CROSSINGS_*` error, the report says `road_crossings.status = "failed"` and the raw layers are still published; any other error fails the whole command. The PICC `report.json` gains `crossing_exclusion_buffer_m`, `road_crossings`, and derived entries in `layers` (`derived: true`, without source or count keys). + - **Differences from GRB, for consumers:** `morf_codes` holds the source's road-class labels (PICC `NATUR_DESC`, UrbIS `TYPE`/`HIERARCHY`), not integer `MORF` codes; `grade_separated` rests on the level the source states (PICC `NIVEAU`, UrbIS `ROB`/`ROT`), not on GRB's node-less crossing test; bridges and tunnels are grouped separately, so a bridge over a tunnel yields two rows whose footprints overlap. + - **Known limitation (all three regions):** the coverage polygon does not clip to the source's territory, so the part of an extent outside Flanders, Wallonia or Brussels is declared covered although the source has no data there. + - All three regions now share `road_crossings_common` (axis clipping, fragment merging, coverage accounting, output contract). The builders are plain functions, not registered capabilities. + +### Changed + +- **GRB road crossings: an in-service (`STATUS` 4) `MORF` 120 dienstweg is a carriageway, `MORF` 125 aardeweg is not (#502).** This is an explicit costing decision, reported under the new `road_crossings.axis_classes` report key. In 2.5.0 both were unresolved and left out of coverage. As a result, dienstwegen now yield `ground` rows; WBN and KNW elements carrying only aardewegen enter coverage without a row; and a dienstweg ending inside a KNW structure now makes it `unknown` (it was `grade_separated`, though out of coverage). An out-of-service 120 stays unresolved. + +### Fixed + +- **PICC export no longer fails on real extents (#502).** The source now requests XY-only geometry (`returnZ=false`), so raw PICC layers are 2D. Projected server-side to WGS84 with Z, some surfaces came back self-intersecting, and `export_picc` raised `PICC_LAYER_INVALID` (measured on a 6 × 6 km tile at Liège). + +--- + ## [2.5.0] — 2026-10-01 The source plugins below (PICC, UrbIS, GRB, and OSM for the fix) live in the repository (`plugins/`), not in the `gispulse` wheel. Install them from the release tag, e.g. `pip install "gispulse-src-grb @ git+https://github.com/imagodata/gispulse@v2.5.0#subdirectory=plugins/gispulse-src-grb"`. PICC, UrbIS and GRB now declare `gispulse>=2.5.0`, which they need. diff --git a/plugins/gispulse-src-picc/README.md b/plugins/gispulse-src-picc/README.md index e1fc881..dc8e97a 100644 --- a/plugins/gispulse-src-picc/README.md +++ b/plugins/gispulse-src-picc/README.md @@ -1,8 +1,8 @@ # PICC Wallonia vector source Provides raw road footprints (`picc-road-surfaces-wa`, layer 24) and axes -(`picc-road-axes-wa`, layer 21). Requires gispulse >= 2.5.0 (counted pagination -core); older cores fail before HTTP access. +(`picc-road-axes-wa`, layer 21). Requires gispulse >= 2.5.1 (counted pagination +core, PICC road crossings); older cores fail before HTTP access. Official services: - https://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC_VDIFF/MapServer/24 diff --git a/plugins/gispulse-src-picc/pyproject.toml b/plugins/gispulse-src-picc/pyproject.toml index d1c63e4..955bfb7 100644 --- a/plugins/gispulse-src-picc/pyproject.toml +++ b/plugins/gispulse-src-picc/pyproject.toml @@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta" [project] name = "gispulse-src-picc" -version = "0.1.0" +version = "0.2.0" description = "PICC Wallonia road footprints and axes via counted REST pagination" requires-python = ">=3.12" license = "AGPL-3.0-or-later" -dependencies = ["gispulse>=2.5.0,<3.0.0"] +dependencies = ["gispulse>=2.5.1,<3.0.0"] [project.entry-points."gispulse.data_sources"] picc = "gispulse_src_picc:register" diff --git a/plugins/gispulse-src-urbis/README.md b/plugins/gispulse-src-urbis/README.md index 44b4198..e972e87 100644 --- a/plugins/gispulse-src-urbis/README.md +++ b/plugins/gispulse-src-urbis/README.md @@ -6,9 +6,9 @@ Four raw layers from the official WFS: Endpoint: https://geoservices-vector.irisnet.be/geoserver/urbisvector/wfs -The plugin requires gispulse >= 2.5.0 (counted WFS core). The request extent and output -are **EPSG:31370**, unlike PICC's WGS84 request extent. A missing or invalid bbox -fails before HTTP. Counts (`numberMatched`) are checked before/after collection; +The plugin requires gispulse >= 2.5.1 (counted WFS core, UrbIS road crossings). The request +extent and output are **EPSG:31370**, unlike PICC's WGS84 request extent. A missing +or invalid bbox fails before HTTP. Counts (`numberMatched`) are checked before/after collection; IDs (`INSPIRE_ID`) must be unique and pagination is sorted by that field. Each layer defaults to page size 2000, max pages 1000 and max features 1000000. A count query requests one feature because this service's WFS `resultType=hits` response diff --git a/plugins/gispulse-src-urbis/pyproject.toml b/plugins/gispulse-src-urbis/pyproject.toml index be7edf7..6f8e4f7 100644 --- a/plugins/gispulse-src-urbis/pyproject.toml +++ b/plugins/gispulse-src-urbis/pyproject.toml @@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta" [project] name = "gispulse-src-urbis" -version = "0.1.0" +version = "0.2.0" description = "UrbIS Brussels road surfaces, axes and structures via counted WFS" requires-python = ">=3.12" license = "AGPL-3.0-or-later" -dependencies = ["gispulse>=2.5.0,<3.0.0"] +dependencies = ["gispulse>=2.5.1,<3.0.0"] [project.entry-points."gispulse.data_sources"] urbis = "gispulse_src_urbis:register" diff --git a/pyproject.toml b/pyproject.toml index 9ac2628..ba2d0f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "gispulse" -version = "2.5.0" +version = "2.5.1" description = "Modular geospatial engine with business rules, triggers, and dual operating modes (DuckDB/PostGIS)" license = "AGPL-3.0-or-later" requires-python = ">=3.12" diff --git a/qgis_plugin/metadata.txt b/qgis_plugin/metadata.txt index 8293c84..62d3004 100644 --- a/qgis_plugin/metadata.txt +++ b/qgis_plugin/metadata.txt @@ -4,7 +4,7 @@ qgisMinimumVersion=3.28 qgisMaximumVersion=3.99 description=Trigger-driven spatial CDC for QGIS — attach gispulse rules to any layer. about=GISPulse turns QGIS layers into reactive datasets. Save a tracked GeoPackage and gispulse fires the rules attached to it: webhooks, downstream layer refresh, validation. The plugin is a thin bridge — it shells out to the gispulse Python CLI (pip install gispulse) and streams its logs into a dock widget. Requires gispulse >= 1.3.0 on the PATH visible to QGIS. -version=2.5.0 +version=2.5.1 author=Imagodata email=hello@gispulse.dev homepage=https://gispulse.dev diff --git a/uv.lock b/uv.lock index c8f7f5a..1b07de5 100644 --- a/uv.lock +++ b/uv.lock @@ -807,7 +807,7 @@ wheels = [ [[package]] name = "gispulse" -version = "2.5.0" +version = "2.5.1" source = { editable = "." } dependencies = [ { name = "duckdb" },