Networks

Basin rim

Samples concentric horizontal rings of a height field at each selected point. Stores the highest ring minimum and its radius, choosing the smaller radius on ties. Water below that level is contained up to the ring sampling resolution. Radius 8 to 1024, rings 1 to 16, samples per ring 8 to 256.

network.point_basin_rim

Basin rimLevel value namelake_levelRadius value namelake_radiusMaximum radius192.0Rings4Samples per ring64Which pointsOutputField

What it does

Find a possible lake level around a point in a hollow. The action checks rings around that point, finds the lowest place on each ring, and keeps the ring with the highest spill level.

Connect a height field to Field and choose basin centres with Which points. The action writes the chosen level and radius under Level value name and Radius value name; use distinct names so you can read both afterwards. Run the action in Pass, then use the values to fill the hollow.

Start with a modest Maximum radius around a clear depression. The radius bounds the search rather than drawing a circular shoreline: the terrain decides the lake’s outline. Gaps between the checked positions can still let water escape.

Inputs and outputs

NameTypeDefaultWhat it changes
Inputs
Which pointsPoint selectorThe basin centres whose level and radius will be written.
FieldDensityThe height field read around each point, at that point’s Y.
Settings
Level value nameTextlake_levelThe name used to store the chosen spill level on each point.
Radius value nameTextlake_radiusThe distinct name used to store the chosen ring radius.
Maximum radiusReal192.0 · 8–1024Higher values search for containing rims further from the point.
RingsInteger4 · 1–16Higher values check more radii within the search area.
Samples per ringInteger64 · 8–256Higher values check each ring more finely and can detect narrower low gaps.
Output
OutputPoint actionThe basin-measuring action to run in a Pass.

Good to know

Inspect narrow outlets

Raise Samples per ring when a lake appears to leak through a small gap. More checks reduce missed gaps, but take longer with a complex height field.

See also