Skip to content

Smallest area check for landuse, leisure and natural#985

Open
eengnr wants to merge 7 commits into
louis-e:mainfrom
eengnr:smallest-area-check
Open

Smallest area check for landuse, leisure and natural#985
eengnr wants to merge 7 commits into
louis-e:mainfrom
eengnr:smallest-area-check

Conversation

@eengnr

@eengnr eengnr commented Apr 26, 2026

Copy link
Copy Markdown

With this PR, landuse and leisure ways and relations are checked for their area size and only the smallest one is considered for a position. This avoids overwriting of tags.
Additionally the random tree generation is slightly modified to generate less trees and skip certain areas.

Fixes #440
Fixes #853

@eengnr eengnr changed the title Smallest area check for landuse and leisure Smallest area check for landuse, leisure and natural Apr 27, 2026
@eengnr eengnr force-pushed the smallest-area-check branch from 52a92c9 to 7ae3292 Compare May 7, 2026 11:52
@louis-e

louis-e commented May 14, 2026

Copy link
Copy Markdown
Owner

retrigger-benchmark

@github-actions

Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 58s
🏗️ Generation time: 28s (excl. data fetching)
🧠 Peak memory usage: 880 MB (↘ 5% less)

📈 Compared against baseline: 27s time, 935 MB memory
🧮 Delta: 31s time, -55 MB memory
🔢 Commit: d57ad2c

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

📅 Last benchmark: 2026-05-14 14:12:29 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

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.

Park generation should respect the given surface type [BUG] Nested landuse can lead to wrong blocks

2 participants