FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Smallest area check for landuse, leisure and natural by eengnr · Pull Request #985 · louis-e/arnis · GitHub

/ arnis Public

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 commented Apr 26, 2026
edited
Loading

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 changed the title Smallest area check for landuse and leisure Smallest area check for landuse, leisure and natural Apr 27, 2026
eengnr force-pushed the smallest-area-check branch from 52a92c9 to 7ae3292 Compare May 7, 2026 11:52

louis-e commented May 14, 2026

Copy link
Copy Markdown
Owner

retrigger-benchmark

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.

Comment thread src/data_processing.rs
// Fill every merged ring as one way
for ring in outers {
let way = ProcessedWay {
id: rel.id,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Reinstantiate the variable before calling it in the var_func

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

3 participants


Back | FazBrowse Home | New Git URL