Skip to content

Editing Sub-catchments

Once sub-catchments are created you can change them by hand in step 3 of the Catchments pane: add a point, divide, merge, move a node, drag a boundary, and make a link where two sub-catchments can share water. Every edit is kept, in order, and can be taken back.

A project contributor or editor can edit. Only an editor can make the terrain agree with a dragged boundary. Edits change the draft. An edit on confirmed sub-catchments starts a new draft based on them; the confirmed version stays as it was (see Versions).

What an edit keeps

  • Everything it does not touch. An edit never looks for a new stream threshold. Every sub-catchment it does not touch keeps its shape, its number and its facts; the ones it changes are measured again (see Sub-catchment Facts).
  • Nodes keep their identity. A node is known by where it is and by the stream each of its sub-catchments arrives on, so its name and its sub-catchments' numbers survive edits elsewhere.
  • Other nodes stay. An edit that would take another node away is refused with a sentence, for example Refused: that would take another node away. Pick a place further from it.

The tools

Under Check them on the map. are four tools:

Tool What it does
Add a forced point Divide a sub-catchment
Drag a boundary Move ground between two
Merge Join two into one
Move a node Slide it along the stream

One tool at a time: a tool's card takes over the step until it is done or you click Cancel. The step's buttons are hidden meanwhile. A card that places something on the map closes once the edit is made, with the new node selected. If the server refuses an edit, the card says why, in a sentence, and stays open.

The tools are off while the step shows The line has run again since these were created.: create them again first.

Add a forced point

Click Add a forced point, choose where the point goes, then click the map:

  • Exactly where I click puts a forced point there, on a stream or not. It is a node, and it is never merged away.
  • On the stream nearest my click (divide): click a drawn stream (the Streams on the map are exactly the streams a divide goes on). It divides the sub-catchment under your click: a new node goes on its stream, at the stream cell nearest your click. The piece below keeps its node and number; the new node takes its own sub-catchments, one per stream arriving at it. A sub-catchment with no stream drawn has none to divide on: the card says No stream here: add a forced point instead. A place too close to the node below to leave it any ground is refused too.

A forced point wins over the Minimum catchment area. If the ground above it is under the minimum, it takes in the smallest node above it, and the next, until it reaches the minimum or there are none left. One still under the minimum stays, and is one of the things to look at: A forced point has very little ground above it, with Keep it and Remove the point.

Merge

Click Merge, then the first sub-catchment, then the one to join it to (Pick again starts over). Two can be merged when they are:

  • two sub-catchments of one node: they become one, and its facts come from the two parts; or
  • a sub-catchment and the one its water runs into at the node below: the upper node goes, and all of its sub-catchments join the one below, which keeps its number; or
  • a sub-catchment of a diverted point and the sub-catchment that holds the drainage point it is diverted to: the diverted point goes, every sub-catchment of the diverted point joins, and the merged sub-catchment belongs to the receiving catchment. When your first pick drains to a diverted point, the card says so before the second click, for example Sub-catchment 15 drains to a diverted point. Merged with the sub-catchment its water goes on to, the point goes: 15, 16 and that sub-catchment become one.

After a merge, a line above the step says which sub-catchments became one, by the numbers you saw, and its number now, for example The diverted point goes: sub-catchments 15, 16 and 19 become one, now sub-catchment 15. The numbers change after each edit.

Any other pair is refused: Refused: merge two sub-catchments of one node, or a sub-catchment with the one its water runs into at the node below.

Move a node

Click Move a node, then the node, then its new place. The node goes where you put it and is held there; its sub-catchments are measured again.

  • A node stays in its own catchment.
  • A drainage point stays where its catchment meets the line.
  • A culvert's node goes where the culvert is: move or delete the culvert on the map instead.

Undo last and History

After the first edit, a line under the tools gives the count of edits, with Undo last and History.

  • Undo last takes back the latest edit.
  • History lists every edit made by hand since the sub-catchments were created, oldest first, each with Undo. A dragged boundary is listed with what it moved, from which sub-catchment to which, and its state, for example Drag · 4.59 ha moved from 12 to 14 · kept as drawn. This includes a drag between the two sides of one drainage point's direct ground.

The sub-catchments are made again without the edit you take back, a drag in the terrain included.

Creating again drops the edits made by hand, and asks first (see Change the number).

Drag a boundary

Engineers draw the boundary they know: a kerb, a road crown, a fence line, a piped drain the terrain does not show. Drag a boundary keeps that gesture.

  1. Click Drag a boundary.
  2. Draw the new boundary on the map. Start and end it on the boundary between two sub-catchments, and double-click to finish.

The ground between the old boundary and your line changes sides at once. The areas move by exactly the dragged ground, with no gap and no overlap; the new boundary follows the cell edges, within about a cell of your line, and is drawn smoothed, as every outline is (Smoothed outlines).

A line Hydrata cannot place is said, and the drawing starts again. The server refuses, with a sentence:

  • a line that crosses itself, or ends off the boundary between the two;
  • a line that takes in a node (move the node instead);
  • a line that takes the stream between two nodes into another sub-catchment (divide the sub-catchment or move a node instead);
  • a line that would leave a sub-catchment in more parts than before, or with no ground, or that moves no ground.

Waiting, kept as drawn, or in the terrain

After the drag, its card says what moved, for example 4.59 ha moved from 14 to 12, and asks How should the new boundary be held? Each drag is in one of three states:

State What it means How it gets there
waiting You have not decided yet. The drag is applied, but the sub-catchments cannot be confirmed Every drag starts here. Decide later leaves it waiting
kept as drawn The boundary stays where you drew it, as piped drainage would, whatever the terrain says Keep as drawn
in the terrain The two sub-catchments take the ground the terrain gives them with a drainage barrier along your line Make the terrain agree, then Put it in the terrain

While a drag waits, a row above the step says 1 drag is waiting for a decision., with Decide, and Confirm sub-catchments is held. Undo the drag takes it back.

Choosing Keep as drawn closes the card. To change a drag kept as drawn, undo it from History and draw it again. A drag in the terrain is changed the same way: its card says Undo the drag to change it.

Make the terrain agree

Make the terrain agree previews a drainage barrier on your line. Only the two sub-catchments either side of your drag are worked out again, with a few cells round them, so it takes seconds on the web server whatever the size of the terrain. Water outside the two runs as it did. Nothing is stored yet. The card reads Preview · nothing stored, With a barrier on your line, and gives:

  • Differs by: the area, in hectares, that the terrain with the barrier puts elsewhere than your drag did;
  • Furthest from your line: how far that ground lies from your line;
  • Ground that agrees: the share of the dragged ground that drains as drawn.

On the map, the barrier on your line and where it differs are drawn. The Compare fold sets out what your drag moved, what the terrain puts elsewhere, and how much other sub-catchments changed.

The barrier stops 2 cells short of every node. A barrier that runs into a node closes its way out and sends the water to the wrong node. So a drag that ends within about 2 cells of a node offers no terrain option, and says why: No terrain option here: the drag ends 3.0 m from a node, and a barrier there would block its outlet. Where nothing of the barrier is left, the card says so: keep the drag as drawn, or undo it.

When the terrain moves more ground than your drag did, the card says so: With the barrier, the terrain moves more ground than the drag did. Undo the drag, or keep it as drawn.

When the barrier would send water from the two sub-catchments into another one, not out at their own outlets, nothing is changed and the card names where the water goes, for example With a barrier on this line, water from 0.12 ha of sub-catchments 11 and 12 runs into sub-catchment 9 instead of out at their own outlets. Nothing was changed. Keep it as drawn.

Then:

  • Put it in the terrain asks first. The two sub-catchments take the ground the terrain gives them with the barrier, at once, and their areas and facts change. Only these two change: the barrier stays with the drag, not with the terrain, so the terrain's drainage corrections, the line and every other line on the terrain stay as they are. The drag can still be undone.
  • Keep as drawn keeps your boundary as you drew it.
  • Back leaves the drag as it was.

The web server works out up to 250,000 cells (as Hydrata is set by default) for the two sub-catchments and the few cells round them. The card says so before you click: Works the drainage out again on the web server, on the two sub-catchments either side of the drag and a few cells round them (up to 250,000 cells). Two sub-catchments larger than that are refused on the click; keep such a drag as drawn.

Things to look at

One row under the step counts what needs you, for example 3 things to look at., with Review. Review opens them one at a time as a card, To look at · 1 of 3, with Next › and Back. When there is nothing, there is no row.

Card What it says Its buttons
Sub-catchments 12 and 14 can share water Rise 0.31 m at the pass. A link carries that rise, so a model can pass water between them. Show on map, Make this a link, Leave it
A forced point has very little ground above it How many forced points are under the Minimum catchment area; the point wins over the minimum, so its sub-catchment is small Keep it, Remove the point
Culvert (name) and how it stands Its area across the inlet and its flags (see Culverts) Show on map, Offer an opening (where one is offered), Leave it
An agent proposes a link between sub-catchments 12 and 14 Rise 0.31 m at the pass. and the agent's reason Show on map, Accept, Reject
(Edit) could not be made again Why: an edit that taking the diversions in could not make again (see When the line or the culverts change). It stays in the edit list, and Undo last or History takes it back Leave it

Leave it and Keep it dismiss the warning, and Dismiss all on the row dismisses every warning it lists in one click (an agent's proposal stays: you accept or reject it). The button says how many warnings it dismisses, for example Dismiss all 2 warnings. A dismissal is kept: it holds after you reload the map, and every engineer on the project sees it. The warning comes back only when it changes, for example a different rise at the pass. No warning holds Confirm sub-catchments. Dismissed (N) under the row lists the warnings dismissed, each with Bring back, which lists it again.

Show on map on a pass marks it with a white ring for as long as its card is open, also a pass on the line, which the map otherwise leaves off.

A can share water note comes from the line's own marks (see Catchments from a Line), between two sub-catchments. A note whose rise is within the terrain's accuracy is a minor note: it is not counted, and it is drawn on the map only when Minor notes is turned on in the Legend.

A pass between two sub-catchments whose water already ends up in one place is not listed either: a diversion takes one catchment's water to the other's drainage point, or a link already joins them. A link there would add nothing, or send the water back to where it started.

A link joins two sub-catchments that can share water and carries the rise at the pass between them, so a hydrologic model can pass water between them later. It changes no ground: the sub-catchments keep their shapes and facts. It is an edit like the others, listed in History and taken back with Undo.

A note within the terrain's accuracy cannot be made a link: the terrain cannot tell that pass from none.

Agents

An AI agent connected through the Hydrata MCP server can divide, merge, move a node, add a forced point, undo its edits and take the culverts or the diversions in on the draft, with edit_sub_catchments. Taking the diversions in previews first and names the edits made again and any that cannot be, as the screen's Take the diversions in? does. What overrules the terrain waits for you:

  • A dragged boundary from an agent (propose_sub_catchment_boundary) is filed waiting, with the agent's reason. It shows as a drag waiting for a decision: open it with Decide. The card says who drew it and why, for example An agent proposes this boundary: A farm track runs along this line and holds the water on its uphill side., and Keep as drawn reads The boundary stays where it was drawn. Then keep it as drawn, make the terrain agree, or undo it. An agent can never keep a drag as drawn or put it in the terrain.
  • Make this a link from an agent is a proposal. It shows in the things to look at as An agent proposes a link between sub-catchments 12 and 14, with the rise, the agent's reason, Show on map, Accept and Reject, and changes nothing until you accept it. Accepting makes the link as your own edit. Only a person in the browser accepts or rejects it, and each is one entry in Project History. A link that would make a loop, or one between sub-catchments whose water already ends up in one place, is refused when the agent asks, so it never waits for you.
  • An undo of your edit from an agent is a proposal too. It shows in the things to look at as An agent proposes: Undo an edit a person made, with It undoes: Add a forced point. and the agent's reason, and changes nothing until you accept it. Accepting makes the undo as your own edit. An agent undoes its own edits at once.
  • An edit an agent made (a divide, a merge, a moved node, a forced point) is made at once and waits for your Accept by Confirm sub-catchments, which it holds until you accept it.

See Agents and the tool reference.