Karel Dieussaert

Geo-ICT solution architect at GeoSquare Belgium


Session

10-06
14:30
30min
Pushing the boundaries: Automated Geometry Alignment with 'brdr' and ‘brdrQ’
Karel Dieussaert

Maintaining spatial consistency between different thematic geographic datasets and reference layers (such as cadastral parcels or base maps) is a persistent challenge in GIS workflows. Manually snapping boundaries to match updated reference data is not only time-consuming and prone to human error but also difficult to reproduce. To address this, Athumi (The Flemish Data Utility Company) & Flanders Heritage Agency developed brdr, an open-source Python library, and its companion QGIS plugin, brdrQ, designed to automate and streamline the alignment of geometries to reference borders.

By decoupling the alignment logic (brdr) from the user interface (brdrQ), the project offers flexibility for both developers and GIS analysts. Developers can integrate the alignment engine into automated data pipelines, while analysts can leverage the QGIS plugin for visual validation and manual fine-tuning. Both ways of working ensure a significant reduction in workload to obtain higher-quality data.

In this presentation, we will demonstrate the underlying algorithm, showcase the QGIS integration, and discuss real-world use cases where these tools have improved the efficiency of spatial data management at the Flanders Heritage Agency.

Python library: brdr

At its core, brdr is a Python library built to detect and resolve geometric discrepancies through a series of deterministic spatial calculations. Unlike simple snapping tools, the brdr-algorithm evaluates candidate reference geometries by calculating relevant intersections and differences. It uses these metrics to generate alignment predictions: the library calculates the most likely intended geometry based on geometric stability. This predictive approach allows for a high degree of confidence in automated workflows, as ‘brdr’ can distinguish between a deliberate gap and a registration error, maintaining the overall structural integrity of the original dataset.

QGIS plugin: brdrQ

brdrQ integrates the 'brdr'-library into a user-friendly QGIS-plugin, making the 'brdr' logic more accessible through visual GIS-workflows. brdrQ offers several tools, including:

  • Feature Aligner: An interactive tool for record-by-record inspection, allowing users to compare "predictions" (suggested alignments) with a correctness score before committing changes.
  • AutoCorrectBorders: A processing algorithm for bulk alignment of datasets.
Plugins & Development
Bridge 2