All episodes
exported Authored

Watershed renderer audit.

Smoke test: HUC4/HUC6/HUC8/HUC10/HUC12 polygon highlight rendering.

Full Script

Narration + Stagehand commands

Commands like [map.highlight] are Stagehand directives — they control the map renderer and pass through schema validation before any visual effect reaches the public output.

[scene.title kind=intro title="Watershed renderer audit" subtitle="HUC4 / HUC6 / HUC8 polygon highlight smoke test"]

[map.view lat=44.5 lon=-114 zoom=4.5]
First the Middle Snake basin — HUC4 1704. The whole drainage in one polygon.

[map.highlight entity="watershed:huc4_1704" color="#38bdf8" opacity=0.45]
Pacific Northwest Region watershed.

[map.clear]
[map.view lat=38.0 lon=-121 zoom=5.5]
Now Sacramento — HUC4 1802. California's principal water basin.

[map.highlight entity="watershed:huc4_1802" color="#22d3ee" opacity=0.45]
The Sacramento drainage from the Sierra to the Delta.

[map.clear]
[map.view lat=44.2 lon=-116 zoom=6.5]
Down a level: HUC6 170401, Headwaters Snake. Tighter than the HUC4.

[map.highlight entity="watershed:huc6_170401" color="#06b6d4" opacity=0.45]
Snake headwaters basin.

[map.clear]
[map.view lat=43.5 lon=-116 zoom=7.5]
And HUC8 17040201 — Middle Snake-Boise. The basin level Stagehand bakes into the always-loaded source.

[map.highlight entity="watershed:huc8_17040201" color="#0ea5e9" opacity=0.5]
Boise's subbasin.

[map.clear]
[map.view lat=43.6 lon=-112.5 zoom=9]
Now HUC10 — Lyons Creek-Snake River. This level is too dense to bake; the renderer fetches it on demand.

[map.highlight entity="watershed:huc10_1704020101" color="#0284c7" opacity=0.55]
Watershed level. Transient source path.

[map.clear]
[map.view lat=43.65 lon=-112.4 zoom=10.5]
And HUC12 — Lyons Creek. The deepest standard USGS level. One of 103,068 subwatersheds in the country.

[map.highlight entity="watershed:huc12_170402010101" color="#0369a1" opacity=0.6]
Subwatershed level. Same path as HUC10 — pushed into the transient source per-highlight.

[map.clear]
[scene.title kind=outro title="Audit complete." subtitle="All five HUC levels painted. The water layer renderer is wired."]