Inland water check: list the tiles outside bed and banks, and tell edge slivers from full tiles #425

Manually merged
github merged 2 commits from github-bot/gh-425 into gh-pr/425/base 2026-11-27 02:26:54 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-26 23:47 UTC · original
holdmysocks:six-inland-check → master · +31 −4 · 2 files · 2 commits · merged 2026-11-27 02:14 UTC

Explains the 81 inland water tiles that fell outside bed and banks in the height-map check from PR 383.

  • The check now lists each tile outside under check_against_height_map.outside. Each entry gives the surface height, the lowest and highest ground, which side the tile misses on and by how much, the tile's size and vertex count, the share of samples above the water, the ground under its vertices, and the cell's source (its own tile or the fallback).
  • The summary also counts slivers, meaning tiles under 6 m across or with fewer than 30 vertices. In these the 64 m tile grid cuts a channel at its edge, so the samples fall on the bank. It also reports metres_per_texel.
  • Results on the real install:
    • All 81 tiles lie below the lowest ground, and 61 of them are slivers.
    • With --height-px 512 (1 m instead of 4 m per texel), 69 tiles fall outside. 54 of those are slivers, and 8 more miss by 0.65 m or less, mostly river mouths at sea level.
    • 7 remain: six river tiles and one reservoir tile, where the height map puts ground 1.2 to 6 m above the water. Their cause isn't known.
  • The README replaces the earlier "isn't checked" note and the culvert guess for the drains. At 1 m only one drain falls outside, and it is a sliver.

Tests: cargo check --workspace --all-targets and cargo test -p sixng-core -p sixng-gui --release pass.

**@⁠holdmysocks** on GitHub · 2026-11-26 23:47 UTC · [original](https://github.com/holdmysocks/SixNG/pull/425) `holdmysocks:six-inland-check` → `master` · +31 −4 · 2 files · 2 commits · merged 2026-11-27 02:14 UTC Explains the 81 inland water tiles that fell outside bed and banks in the height-map check from PR 383. - The check now lists each tile outside under `check_against_height_map.outside`. Each entry gives the surface height, the lowest and highest ground, which side the tile misses on and by how much, the tile's size and vertex count, the share of samples above the water, the ground under its vertices, and the cell's source (its own tile or the fallback). - The summary also counts slivers, meaning tiles under 6 m across or with fewer than 30 vertices. In these the 64 m tile grid cuts a channel at its edge, so the samples fall on the bank. It also reports `metres_per_texel`. - Results on the real install: - All 81 tiles lie below the lowest ground, and 61 of them are slivers. - With `--height-px 512` (1 m instead of 4 m per texel), 69 tiles fall outside. 54 of those are slivers, and 8 more miss by 0.65 m or less, mostly river mouths at sea level. - 7 remain: six river tiles and one reservoir tile, where the height map puts ground 1.2 to 6 m above the water. Their cause isn't known. - The README replaces the earlier "isn't checked" note and the culvert guess for the drains. At 1 m only one drain falls outside, and it is a sliver. Tests: `cargo check --workspace --all-targets` and `cargo test -p sixng-core -p sixng-gui --release` pass.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:39:46 +00:00
github-bot changed target branch from master to gh-pr/425/base 2026-11-27 02:26:53 +00:00
github manually merged commit 75417bd504 into gh-pr/425/base 2026-11-27 02:26:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.