Catchments from a Line¶
Hydrata can find the catchments that drain to a line you draw on the terrain, and make a model boundary from the ones you choose. The line is called a delineation line. Each place on it that water drains to becomes one catchment, named by its chainage along the line.
Use it to screen the catchments along a proposed route or an existing embankment, or to get a model boundary without drawing one by hand. It is a screening tool. Read the notices and the limits before you rely on a result, and check it against what you know of the site.
Where to find it¶
- Open Hydrology from the left toolbar and choose Catchments.
- Or, on the Inputs starter card, click Auto Delineate Catchment next to Draw your model boundary. It opens the same page and starts a new line.
You need a terrain in the project first.
The page¶
From top to bottom:
- Line: the list of saved lines. Beside it is the Line tools menu (the button marked ⋯): New line, Copy line, Edit line, Extend to negative CH and Adopt as a layer.
- Under it, short labels say what is shown: Fast screen · 10 m (terrain 5 m) or High resolution · 5 m, and Not confirmed or Confirmed with who and when.
- Notices: every warning and message about the line, in one block. See Notices.
- Catchments: the table of catchments.
- Diversions: High resolution only.
- Setup: the line's name, start chainage, length, terrain and who made it; Settings; Upstream side; Drainage corrections; and Layer.
- At the foot, one line with the estimate for the next run, and the buttons. A fast screen has Fast screen, High resolution, Confirm and Use as model boundary. A High resolution line has Profile, Run again, Confirm and Use as model boundary.
A Legend card floats on the map while the page is open. See The legend.
Draw the line¶
Draw the line on natural ground where the water arrives:
- along the upstream toe of an existing embankment,
- along a proposed route, or
- across a creek.
Keep it off the crest. A line drawn on the top of an embankment or a ridge reads the built ground, not the ground the water comes down, and gives different and wrong catchments. The tool warns when a long stretch of the line sits on a crest.
- Open the Line tools menu and click New line, then click the map to add points and double-click to finish. Click Cancel to stop without saving.
- Setup opens. Under Line, give the line a Name and, if you want the chainages to match a design, a Start chainage (it can be negative).
- Click Fast screen.
To change the line later, use Edit line (drag a point) or Extend to negative CH (draw further out from the start), both in the Line tools menu. Extending keeps the chainages the line already has, so the new start has a lower, often negative, chainage. Moving the line removes any diversions you ticked on it; the page tells you how many first and asks you to confirm.
The line's terrain¶
Each line is worked out on one terrain, and the Terrain field in Setup
shows which one, by its title and resolution (for example
Towradgi 1 m LiDAR · 1 m).
- A new line starts on the project's newest ready terrain. Choose another in the field before you run it; the estimate shown before the run is for the terrain you chose.
- To change a saved line's terrain, choose another in the field. The page asks first: Run again on (terrain)? Confirmation is cleared. The line runs again on the new terrain, at the line's own resolution (a fast screen stays a fast screen, a High resolution line runs High resolution). Click Run again, or Cancel to leave it as it is. The field cannot be changed while the line is running.
- If the line's terrain has been deleted, the field reads Terrain deleted: choose one.
Copy a line to compare¶
Copy line, in the Line tools menu, makes a second version of the selected line. It first asks for the Name of the copy, filled in with the line's own name: type over it, then click Copy (or press Enter), or Cancel (or press Escape). The name can be the same as another line's. Hydrata makes the copy and selects it. Catchments you have not renamed are named from the copy's name. The copy has the same line, start chainage, settings, terrain and catchments as the original, straight away and without a new run. Typed catchment names come with it.
The copy does not carry the diversions ticked on the original or its confirmation. Its catchments are grouped without those diversions, and the copy is reviewed and confirmed on its own. The original is not changed.
Use it to compare: copy a line, then change the copy's terrain or settings and look at the two side by side. A line that has not finished a run yet is copied with its line and settings only; run the copy to get its catchments.
Fast screen and High resolution¶
Fast screen is a first look at low resolution. It coarsens the terrain so the run finishes in seconds to minutes on the web server. It shows one whole catchment for each section of the line: all the ground that reaches that section from its upstream side, lumped together. Anything finer at low resolution is an artefact of the coarse grid, so a fast screen has:
- no smaller catchments, and no Minimum catchment area or Maximum diversion area settings;
- no diversions;
- no can-share-water marks, and no warnings about one catchment spilling into another or about water reaching the line twice;
- no buttons to flip the upstream side (the sections are listed, read only);
- no profile.
Each lumped catchment is named by the chainage of its drainage point, not by the ends of its section. The size of the coarse grid depends on the size of the terrain, not on the length of the line.
High resolution is the detailed result. It works at the terrain's own resolution and gives the separate catchments, drainage points, high points, diversions and can-share-water marks. Before it starts, the line above the buttons gives the estimate, for example High resolution: 318,080 cells at 5 m · 60 s to 18 min · Cloud compute. Once the terrain's drainage analysis is ready, a High resolution line on a terrain of up to 50 million cells (about 7 km by 7 km at 1 m) runs on the web server and takes seconds. A larger terrain runs on cloud compute. So does a run on a terrain whose drainage analysis is not ready yet, unless the terrain is small, and on a large 1 m terrain that can take hours. You do not need to wait: the run continues if you close the map, it is tracked in the Task Monitor, and the result is there when you come back.
While a run goes, its heading gives the progress and the time so far, for example Fast screen 8% processed. 1 s, with Cancel run beside it. Under the bar are the step, where it runs and the expected finish.
When you press High resolution on a line that shows a fast screen, Hydrata
makes a copy of the line named
A High resolution line has one run button, Run again. It runs the line at High resolution again and replaces the result on that line. Hold the pointer on the button for the expected time.
The two can give different results from the same line. Low points depend on the terrain resolution: on one 10 km test line, a 1 ha minimum gave 49 catchments on a 5 m grid and 61 on a 3 m grid. Run High resolution before you rely on a result.
The terrain's drainage analysis¶
Hydrata works out where water goes on a terrain once and keeps it with the terrain: the ground made to drain (its hollows cut through or filled), the direction water flows from each cell, and how much ground drains through each cell. This is the terrain's drainage analysis. Hydrata starts working it out when the terrain is created, once for the fast screen and once for High resolution. A line reads it and does only its own work, so lines on the same terrain are quick.
A notice under Terrain and drainage says when the drainage analysis is not ready:
- Drainage analysis is being prepared. Runs wait for it.
- Drainage analysis is out of date. Next run takes longer. It goes out of date when the terrain file is replaced, when Hydrata's method changes, or when a drainage correction is added, changed or removed. The next run works it out again.
The job that works it out is listed in the Task Monitor as Drainage analysis:
A terrain made before drainage analyses existed has none. The first line run on it works the drainage analysis out and keeps it, so that run takes longer and the next one does not.
The terrain itself is never changed. The drainage analysis is used only to find catchments; a flood model runs on the terrain as you uploaded it.
The legend¶
One Legend card on the map lists everything the page draws on the map and on the profile. Click an entry to turn it off or on. One click takes it off the map and the profile together. hide folds the card away and show brings it back.
| Entry | What it is | Drawn on |
|---|---|---|
| Catchments | One tinted area per catchment, with a yellow outline. The three tints only tell neighbours apart | Map and profile |
| Line | The delineation line, in white | Map and profile |
| CH labels | Chainage labels along the line and on the profile's axis | Map and profile |
| Upstream side | A thin cyan strip along the top of the profile, labelled upstream side: left or upstream side: right for each section, with a tick where the side flips | Profile only |
| Drainage point | A red dot: the low point a catchment drains to | Map and profile |
| High point | A green ring: the high point between two catchments. On the profile, click it to divert one catchment to the other | Map and profile |
| Arrival point | A white diamond outline: where most of a catchment's water reaches the line, when that is more than 50 m from its drainage point. It is information, not a second drainage point | Map and profile |
| Diversion | Yellow: a run along the line on the map, an arrow on the profile, from a diverted catchment's drainage point to the one it drains to | Map and profile |
| Can share water | A magenta double-headed arrow across the boundary between two catchments that can share water | Map and profile |
| Barrier | A drainage barrier, a dark red line | Map only |
| Opening | A drainage opening, a blue dashed line | Map only |
| Excluded ground | Ground left out of the drainage analysis, and ground the import check marked as extrapolated | Map only |
| Cut | A red line where the drainage analysis cut through ground, drawn down the flow | Map only |
| Fill | A green area where the drainage analysis filled a hollow | Map only |
An entry the result does not have is greyed and marked High res only. On a fast screen those are Upstream side, Drainage point, High point, Arrival point, Diversion and Can share water.
CH labels sit at round chainages counted from the line's Start
chainage, and are re-spaced as you zoom: the step is the smallest of 10, 20,
50, 100, 200 and 500 m and 1, 2 and 5 km that puts at most 12 labels on the
part of the line in view and keeps them at least 80 pixels apart. The profile's
horizontal axis is Chainage, by the same rule, with ticks written 7+600.
There are no upstream-side marks on the map. Catchments lie only on the upstream side, so the catchments themselves show it.
Read the result¶
Catchments. One row per catchment, with its name, area and level. Names are
the line name and the chainage where each catchment drains, for example
Rail CH 5+081. Type over a name to rename it; clear it to get the chainage
name back. Click a row, or the magnifier beside the name, to zoom the map to
that catchment. Two words can appear with an area, and a line under the table
says what they mean:
- at least: the terrain ends inside the catchment, so its true area is larger than the figure shown. Add terrain past the edge to get the whole catchment.
- uncertain: the catchment can share water with a neighbour (High resolution only). The water is not split between them; both areas are as the terrain routed them. The row names the neighbours: Shares water with ...
Can share water. 0.5 m is the limit: two neighbouring catchments are marked when the higher one ponds less than 0.5 m at the high point between them on the line before it spills, or when a pass between them upstream of the line is less than 0.5 m above the watercourse beside it, counting only watercourses that drain at least 10 ha. The mark is a magenta double-headed arrow drawn across the boundary the two catchments share, on the line or upstream of it. Put the pointer on a catchment row and that catchment and the ones it shares water with are ringed together. A result worked out before the arrow existed shows a magenta diamond at the same place; run the line again to get the arrow. On the profile, a two-headed arrow sits above each high point on the line that can spill.
Profile. Click Profile (High resolution only) for the ground along the line against chainage, with one coloured band per catchment and the marks listed in the legend. Move the pointer along it and the strip under the chart reads the chainage and what is there, and a white dot follows on the map. Click a high point to divert one catchment to the other.
Diversions (High resolution only). A diversion carries a small catchment's water along the line to a lower neighbouring drainage point, in practice by a toe drain. The list shows suggestions for catchments up to the Maximum diversion area, shallowest drain first, with the drain depth (measured against a drain falling at 0.5 %) and its length. Suggestions with a drain deeper than 2 m are folded away. Nothing is diverted until you tick it. Both catchments keep their own area and name; the receiving one shows the area that then arrives there in all.
Notices¶
Every warning, message and error about the line is in the one Notices block, with the count in its title. It opens by itself when it holds a warning. The notices sit under four headings:
- Line: the line is on a ridge, ends on falling ground, has no terrain under part of it, or has a section whose two sides bring in about the same ground.
- Terrain and drainage: catchments cut by the terrain edge, a catchment that stops at excluded ground, extrapolated ground on the terrain, places where the drainage analysis cut or filled ground, drainage corrections that changed since the run, and the state of the drainage analysis.
- Result: neighbours that can share water, water that reaches the line twice, ground left out on the downstream side, diversions to check, a new result, a boundary made, a layer adopted.
- Agent: a line or a layer made by an agent, and an agent's proposed drainage corrections, each with Accept and Reject.
Each warning starts with the chainage it applies to, and what to do about it follows in a few words, for example CH 7+540: terrain ends inside this catchment. Area is at least 305.0 ha. Add terrain past the edge.
- Zoom to. Every warning has a Zoom to button that takes the map to its place.
- Folded rows. Two or more warnings of one kind fold into one row with a count, for example 4 catchments cut by the terrain edge. Areas are minimums. Click Show each to open it; each item inside has its own Zoom to. Cuts and fills fold when there are more than three.
- Fix buttons. A cut or fill warning has Draw barrier or Draw opening (see Drainage Corrections). A warning that the two sides of a section are close has Flip.
- Cuts and fills on the map. Put the pointer on a cut or fill warning and its cut or fill is drawn heavier on the map, and its catchment is ringed.
On a fast screen the warnings between catchments (can share water, water reaching the line twice) are not shown: a fast screen has one whole catchment per section, so they have nothing to point at.
The upstream side and sections¶
Water reaches a line from one side or the other. The upstream side is the side the line's catchments lie on. Ground that reaches the line from the other side, the downstream side, never becomes a catchment, and a dip in the line that takes water only from the downstream side is not a drainage point. Left and right are read looking along the line from its start to its end.
Hydrata chooses the side for you: the side most ground arrives from. A line through hills can cross into ground that falls the other way, so a line can have more than one section, each a run of the line with its own upstream side. A flip from one section to the next is made only where it is big and real: it must bring in at least five times the line's Minimum catchment area (5 ha at the 1 ha default) more than it gives up. A flip always falls at a high point on the line.
Setup lists the sections under Upstream side:
- one row per section, for example
CH 0+000 to CH 1+742,left,3,778.1 ha in,1.8 ha out, with Flip; - between two sections, Flip at CH (chainage), with Remove flip.
The ground on the downstream side is one notice under Result, for example 1.8 ha below the line drains back across it. Left out.
On the profile, the cyan strip along the top names the upstream side of each section. The map has no upstream-side marks.
To change the sides (High resolution only):
- Flip puts a section on its other side.
- Remove flip, shown between two sections, joins them. The joined section takes the side most of its ground arrives from.
- Flip at chainage (m) and Add flip start a new section on the other side from the high point nearest that chainage.
- Once you change a side, the page says Sides set by hand. Automatic gives the choice back to Hydrata.
A change of side regroups the result straight away, without running the terrain again. As with a change of Minimum catchment area, ticked diversions are applied again and marked Check again, and a confirmed line goes back to unconfirmed. Sides set by hand are kept by chainage, so they move with the Start chainage, come with Copy line and High resolution copies, and are cleared when you move the line.
If about as much ground arrives from both sides of a section (the smaller side brings in at least two thirds of the larger), Hydrata still takes the larger and a warning asks you to check the side of that section. It never stops a run.
A line worked out before lines had an upstream side says No upstream-side sections yet. Run it again to see its sections. When a High resolution line is run again and some of its catchments are not in the new result, the notice about the new result lists them under Show (n) not kept.
Change the settings¶
Settings, in Setup, holds Minimum catchment area (1 ha to start with: smaller ones join a neighbour) and Maximum diversion area (10 ha to start with: larger catchments get no diversion suggestion). A fast screen has no settings; they apply to a High resolution result.
Changing Minimum catchment area regroups the catchments straight away, without running the terrain again. It also changes what a flip of the upstream side must bring in, so the sections Hydrata chooses can change with it. Any diversion you ticked is applied again where it still can be and marked Check again: look at it and press Checked before you confirm. A diversion that cannot apply any more is kept under Remembered diversions and comes back when its catchments do.
Changing only Maximum diversion area changes which diversions are suggested. Your ticks and your confirmation stay.
Catchments keep their identity by the place on the ground they drain to, so a renamed catchment keeps its name when you regroup and come back.
Confirm and use as the model boundary¶
When you have looked at the catchments and notices, click Confirm (a project editor can). A later change to the minimum area, a diversion or the line lapses the confirmation.
Then tick the catchments to use in the Catchments table and click Use as
model boundary. Hydrata makes a new boundary input, Boundary from
While Use as model boundary is held, hold the pointer on it and it says why: Wait for the run to finish., Confirm the line first. or Tick catchments first. Nothing is ticked for you.
The boundary is Reflective (closed) everywhere except a short Transmissive opening at each ticked catchment's drainage point, where the water leaves the catchment. The whole delineation line is not left open, because a long Transmissive edge can draw water into the model when the flow reverses. See Boundaries for what each type does.
A notice under Result says the boundary was made. Show more under it may carry two notes:
- Ground inside the boundary that is not ticked. The boundary follows the outer edge of the ticked catchments, so ground they surround but do not include (an unticked catchment in the middle, for example) is inside the boundary. The note gives its area.
- A diverted catchment keeps its opening. The toe drain is not modelled, so a catchment you diverted still gets an opening at its own drainage point.
To use the boundary, choose it in a scenario (see Define Boundaries). You can also make a boundary from a fast screen, but its edge follows the coarse grid and it is one whole catchment per section.
Adopt the catchments as a layer¶
A confirmed line's catchments can be published as a layer of the project, to style and share like any other layer: open the Line tools menu and click Adopt as a layer. The layer is a snapshot and does not follow later changes to the line. See Adopted Catchments.
Agents¶
An AI agent connected through the Hydrata MCP server can draw
a line, run it, read the result and make a boundary, with the tools
delineate_catchments, get_delineation and use_catchments_as_boundary. It
can pass the line's upstream side (left, right or automatic), and every
reply names the side used for each section. What an agent makes is marked as
not confirmed until a person confirms it. An agent cannot tick a diversion,
confirm a delineation, or change a delineation a person made or confirmed.
An agent can also propose a drainage correction with
propose_drainage_correction (a person accepts it on the map, see
Drainage Corrections) and adopt a confirmed
line's catchments with adopt_catchments. See the
tool reference.
Limits¶
The catchments come from the terrain alone. Look at the result with these in mind before it goes into a model:
- Pipes and culverts the terrain does not show are invisible. Water that goes into a pipe is routed over the ground as if the pipe were not there, so a piped area can drain to the wrong low point. Where you know water gets through, draw a drainage opening.
- Hollows are cut through. To let water out of a hollow, the drainage analysis cuts a way through the ground by the cheapest route, however far it has to go, and fills only what it cannot cut. The cut can go through a real dam or embankment, or the wrong way out of a valley. A deep or long cut near a catchment is warned about and drawn on the map in red; where water cannot pass, draw a drainage barrier. On flat ground the direction of flow is the method's guess.
- Water goes one way. Each cell drains to one neighbour, so flow that splits on a fan or a floodplain is sent all one way. The uncertain mark flags some of these places, not all: it is kept for passes beside a watercourse of 10 ha or more.
- The terrain edge. A catchment cut by the edge of the terrain is a lower bound (at least).
- Resolution. A fast screen is one whole catchment per section. It can miss small dips and narrow banks, and its warnings are coarser than they read. A 30 m terrain source has not been tested on real ground.
- Natural ground only. A line on a crest gives the wrong catchments. Where the ground falls away on both sides of a crest, the line gets no catchments at all, and the crest warning says to redraw the line at the toe or in the channel.
- Ground that is not ground. A terrain padded out to its edges with triangles extrapolated from a survey gives catchments over ground that does not exist. The import check warns about it: see Extrapolated ground.
- It is not design advice. The tool suggests diversions and never applies one. It does not size a drain or a culvert.
The whole terrain is worked out once, in its drainage analysis, not only the ground near the line. A larger terrain takes longer to prepare and gives a coarser fast screen.