2026-09-01 –, Dahlia1
Update on the FOSS Discrete Global Grid Abstraction Library (DGGAL), focusing on support for new Discrete Global Grid Reference Systems (DGGRSs), use of the library in the OGC AI-DGGS Pilot for Disaster Management, and new high-level DGGAL "High Vibes" tools https://dggal.org https://github.com/ecere/dggal
This session will provide an update on latest developments related to the Discrete Global Grid Abstraction Library (DGGAL), focusing on:
- Support for new Discrete Global Grid Reference Systems (DGGRSs),
- Use of DGGAL as a foundational library for the OGC AI-DGGS Pilot for Disaster Management (https://aidggs-pilot.hartis.org/) by organizations participating in that project,
- DGGAL "High Vibes", a set of high-level vibe-coded Python tools to import/export data into DGGS-quantized data stores and serve it through OGC API - DGGS
DGGAL presents a common interface to perform operations on DGGRSs, facilitating the implementation of Discrete Global Grid Systems (DGGS), including implementing Web APIs based on the OGC API - DGGS Standard (https://docs.ogc.org/is/21-038r1/21-038r1.html).
DGGAL for Python can be installed with pip install dggal (https://pypi.org/project/dggal/), and High Vibes tools with pip install dgg-vibes.
DGGAL supports all nine DGGRS from OGC API - DGGS Annex B (https://docs.ogc.org/is/21-038r1/21-038r1.html#annex-dggrs-def), plus additional DGGRSs.
The library is written in the eC programming language (https://ec-lang.org) for optimal native performance, with object-oriented bindings for C, C++ Python, Rust, Java and JavaScript available (example bindings usage: https://github.com/ecere/dggal/tree/main/bindings_examples).
The dgg command-line tool allows performing various operations including generating grids at different refinement levels, querying a particular zone identifier, identifying the zone at geospatial coordinates, listing zones within a bounding box, resolving sub-zone indices and converting DGGS-JSON to GeoJSON.
The DGGAL "High Vibes" tools for working with UBJSON DGGS Data Stores include:
dgg-import: Import from a raster (e.g., GeoTIFF) or vector (GeoJSON), quantizing to a specific DGGRS (e.g.,dgg-import gebco.tiff --dggrs IVEA4R --fields Elevation)dgg-fetch: Fetch (acting as a client) from an OGC API - DGGS deployment (e.g.,dgg-fetch https://example.com/collections/gebco/dggs/IVEA4R)dgg-export: Export a GeoTIFF or GeoJSON (e.g.,dgg-export data out.tif --collection gebco --level 10)dgg-serve: Deploy a server implementing OGC API - DGGS to provide access to DGGS-quantized collections (e.g.,python dgg-serve.py --data-root data --port 8080)dgg-fg: Utility implementing support for DGGS-JSON-FG (an extension of OGC Features and Geometry JSON, itself an extension of GeoJSON, quantizing points of vector geometry to a DGGRS without rasterizing) including tiling to DGGS-JSON-FG and converting one file or a set of tiles to GeoJSON (generalization of vector tiles to arbitrary shapes, such as "HexVecTiles")
The implementation of a Vision Transformer (ViT) / Masked Auto Encoder (MAE) model trained on a DGGAL High Vibes DGGS-UBJSON Data Store will also be presented.
Acknowledgement
Financial support provided by GeoConnections, a national collaborative initiative led by Natural Resources Canada. GeoConnections supports the modernization of the Canadian Geospatial Data Infrastructure (CGDI). The CGDI is the collection of geospatial data, standards, policies, applications, and governance that facilitate its access, use, integration, and preservation.
DGGAL
I make my conference contribution available under the CC BY 4.0 license. The conference contribution comprises the abstract, the text contribution for the conference proceedings, the presentation materials as well as the video recording and live transmission of the presentation:Jérôme St-Louis is founder and CTO of Ecere, initiated the FOSS Ecere Cross-Platform SDK project (1996), designed the eC programming language (2004) and the GNOSIS geospatial software suite (2014). Jérôme is now releasing a number of GNOSIS components as open-source projects, including DGGAL, libCartoSym, libCQL2 and libDE9IM. Jérôme is co-chair of multiple OGC Standard Working Groups and co-editors of multiple OGC Standards, as well as an OSGeo charter member and active contributor to the open-source geospatial community.