Skip to main content

Module conflation

Module conflation 

Source
Expand description

GERS-based conflation for deduplicating OSM and Overture features.

Overture Maps maintains a Global Entity Reference System (GERS) that links Overture features to their source OSM elements via bridge files. This module reads those bridge files and uses them to deduplicate features that appear in both OSM and Overture datasets.

§Architecture

  • bridge::BridgeIndex — in-memory index loaded from a GERS bridge Parquet file, mapping OSM element IDs to GERS UUIDs.
  • dedup::GersDedup — thread-safe deduplication filter that checks OSM features against the bridge index and tracks statistics.
  • changelog::read_changelog — reads Overture changelog Parquet files to identify changed GERS IDs for incremental processing.
  • spatial::SpatialDedup — R-tree/H3 spatial dedup fallback for themes without GERS bridge files (places, POIs, landcover, water).

Modules§

bridge
Overture GERS bridge file Parquet reader.
changelog
Overture changelog Parquet reader for incremental processing.
dedup
GERS deduplication join — skip OSM features that have Overture bridge matches.
spatial
Spatial deduplication fallback for Overture themes without GERS bridge files.

Structs§

BridgeIndex
In-memory index mapping OSM IDs to GERS UUIDs.
ChangelogEntry
A single entry from an Overture changelog file.
GersDedup
GERS-based deduplication filter for OSM features.
OsmRecordId
Parsed OSM record ID from a bridge file row.
SpatialCandidate
A candidate feature for spatial deduplication.
SpatialDedupConfig
Configuration for spatial deduplication thresholds.

Enums§

ChangeType
Type of change in an Overture changelog entry.
OsmElementType
OSM element type from bridge file record_id.

Functions§

haversine_distance_m
Haversine distance in meters between two WGS84 lon/lat points.
read_changelog
Read an Overture changelog Parquet file and return the set of changed GERS IDs.