Skip to content

Feed Overture heights into OSM data - #1271

Merged
louis-e merged 2 commits into
mainfrom
overture-heights
Aug 16, 2026
Merged

louis-e merged 2 commits into
mainfrom
overture-heights

Conversation

@louis-e

@louis-e louis-e commented Aug 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 16, 2026 17:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Overture Buildings integration to enrich OSM-derived building footprints with Overture’s conflated height / floor-count attributes (when OSM lacks both tags), while still using Overture for additional non-OSM footprints and updating attribution text accordingly.

Changes:

  • Add OSM back-reference parsing (sources[].record_id) and an OvertureHints mechanism to apply height / building:levels additively to OSM buildings.
  • Change the Overture fetch API to return both new footprints and OSM attribute hints, and apply hints during CLI/GUI generation before merging footprints.
  • Update the 3D preview fetch path and add license attribution text for the Overture Buildings integration.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/preview_3d.rs Adjusts preview path to the new Overture collection return type and keeps full OSM-sourced coverage for preview.
src/overture.rs Introduces OSM back-reference parsing, hint collection, and additive application of heights/levels; updates fetch APIs and adds tests.
src/main.rs Updates CLI generation to use the new OvertureData return type and apply Overture hints to OSM buildings.
src/gui/js/license.js Adds Overture Buildings attribution text to the GUI license modal.
src/gui.rs Updates GUI generation flow to use OvertureData and apply Overture hints before merging footprints.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/overture.rs
Comment thread src/main.rs
Comment thread src/gui/js/license.js
@github-actions

github-actions Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 47s
🏗️ Generation time: 21s (excl. data fetching)
🧠 Peak memory usage: 1076 MB (↘ 7% less)

📈 Compared against baseline: 18s time, 1160 MB memory
🧮 Delta: 29s time, -84 MB memory
🔢 Commit: cebdd0b

🟢 Generation time is unchanged.
🌱 This PR reduces peak memory.

📅 Last benchmark: 2026-08-16 17:35:59 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

@louis-e
louis-e merged commit a5ab131 into main Aug 16, 2026
3 checks passed
@louis-e
louis-e deleted the overture-heights branch August 16, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants