overture-stac generates, validates, and reconciles the STAC catalog for public Overture Maps releases. It ships as a Rust CLI.
docs/architecture.md— how the production catalog gets built and published.
cargo build --releaseFive subcommands (overture-stac --help for full listings):
build— walk the data bucket and write a full STAC catalog to disk. Defaults to all current releases.--generate-latest-ddbalso writes and linkslatest.ddb(needs the DuckDB CLI); PR staging previews use it.list-releases— print release IDs the data bucket currently exposes, newest first.reconcile— compare the live catalog against the data bucket and report drift.--applywrites the fix; add--generate-latest-ddbto also publishlatest.ddb(needs the DuckDB CLI).refresh-root— recompute derived root state (thelatestflag). With--generate-latest-ddb, also republishlatest.ddb, its root link and the rootduckdbSQL whenlatestchanges; this needs the DuckDB CLI onPATH(orDUCKDB_BIN) and is checked up front. Without the flag, a changedlatestremoves thelatest.ddblink and theduckdbSQL.validate— run JSON-schema + link-integrity + Overture-specific checks against a built catalog (local dir, remote URL, or object-store URI).
Typical single-release build:
cargo run --release -- build \
--release-version 2026-07-22.0 \
--schema-version 1.18.0 \
--output ./public_releases \
--concurrency 6Pass --debug for a fast run (a few fragments per type). The build subcommand reads from the Overture public bucket over object_store, which supports s3://, gs://, az://, and http(s):// URIs. The CLI defaults to Overture's S3 location, but the underlying core is cloud-agnostic.
Each non-empty release catalog advertises its existing collections.parquet through a rel: "index" link:
{
"rel": "index",
"href": "https://stac.overturemaps.org/2026-10-21.0/collections.parquet",
"type": "application/vnd.apache.parquet",
"title": "STAC Item index (GeoParquet)"
}The index contains one row per STAC Item, not per Overture feature. Clients can discover it by its relation and media type, then query fragment bounds and asset URLs without fetching every Item JSON. Existing child and Item links remain unchanged. Empty releases do not advertise an index; debug builds index only their sampled Items.
For example, find candidate building files around San Francisco with DuckDB. Replace the URL with the index href from the chosen release:
SELECT assets.aws.href AS data_href
FROM read_parquet(
'https://stac.overturemaps.org/2026-10-21.0/collections.parquet'
)
WHERE collection = 'building'
AND bbox.xmin <= -122.35 AND bbox.xmax >= -122.55
AND bbox.ymin <= 37.85 AND bbox.ymax >= 37.70;Read the returned data files and apply feature-level filters to obtain the actual buildings. The index only identifies files whose bounds overlap the requested area.
The root catalog.json links to latest.ddb, a DuckDB database with one view per feature type over the latest release, and embeds the SQL that built it in its duckdb field. Either attach the prebuilt file or recreate the views locally:
curl -s https://stac.overturemaps.org/catalog.json | jq -r .duckdb | duckdb overture.db
duckdb overture.db -c "LOAD spatial; SELECT count(*) FROM place"just duckdb runs the first command for you.
Migrating from 1.4.0
overture-stac 2.x replaced the pure-Python 1.4.0 release with a Rust core plus thin Python bindings; those bindings have since been retired in favor of the Rust CLI/crate only. The 1.4.0 API is not preserved. The old entry points map as follows:
gen-stacis replaced by theoverture-stacCLI, distributed through the Rust crate:cargo install overture-stac.- The
OvertureReleaseclass is replaced by the CLI'sbuild,validate, andlist-releasessubcommands.
A justfile collects the common commands. Install just with brew install just and run just to see recipes. just check runs cargo fmt --check, cargo clippy, and cargo test, the same checks CI would run.