Adopted Catchments¶
A delineation line's catchments live on the line, in the Catchments page. To put them on a shared map or use them like any other layer, adopt them: Hydrata publishes them as a layer of the project, which you style and share like any other layer. This is an adopted layer. It looks as the catchments did on the Catchments page, and the delineation line is on it.
An adopted layer is a snapshot of the catchments at one moment. It does not follow later changes to the line, so a figure you have quoted does not change underneath you. When the line changes, the line's page says so, and the layer is brought up to date only when you adopt again.
Adopt a line's catchments¶
Only a confirmed line can be adopted, so nothing unreviewed is published. A project editor can adopt.
- Open the line in Hydrology, Catchments, and look over its catchments and notices.
- Click Confirm.
- Open the Line tools menu (the button marked ⋯ beside the line list) and click Adopt as a layer. Until the line is confirmed the item is held, and says Confirm the line first. when you hold the pointer on it.
Hydrata makes the layer, adds it to the project's map in the group Adopted
catchments and says, under Notices, Layer "Catchments of
The layer is named Catchments of
What the layer holds¶
One shape per catchment and the delineation line, in one layer that you turn on and off as one. Each has these attributes:
| Attribute | What it is |
|---|---|
name |
The catchment's name, as on the line (for example Rail CH 5+081, or the name you typed) |
chainage |
The chainage of its drainage point, written CH 5+081 |
chainage_m |
The same chainage, in metres |
area_ha |
Its area in hectares, as the line gives it |
drains_to |
Where its water goes: the line at its drainage point, or, for a diversion you ticked, the neighbour it is diverted to |
line |
The line's name |
kind |
catchment, or line for the delineation line |
label |
What the map writes on it: the chainage, and the name if you typed one. For the line, its name |
fill, fill_opacity |
The catchment's colour on the Catchments page, kept so the layer is drawn the same |
The line's own row has its name in name, line and label; its chainage,
area and drains_to are empty.
The shapes are simplified from the grid's cell edges, and neighbours still meet without gaps or overlaps. The area is the catchment's own, not the area of the simplified shape.
The layer is drawn as the Catchments page drew the catchments: the same colour for each catchment, lighter for one you diverted, a yellow outline, and the white delineation line over them with its name along it. Each catchment is labelled with its chainage, and its name if you typed one. On the project's map it is drawn over the terrain, the inputs and the results. Change the style as for any layer.
The layer has the project's permissions and is part of the project.
When the line changes¶
If the line changes after you adopt it, a notice says Line changed since adopted on (date)., with an Adopt again button. Until you adopt again the layer stays as it was.
Any change to what the layer would hold counts: a renamed catchment, a new Minimum catchment area, a diversion ticked or unticked, a flipped side, or a new run that gives different shapes. A run that gives exactly the same shapes does not.
To bring the layer up to date:
- Confirm the line again (a change lapses the confirmation).
- Click Adopt again, on the notice or in the Line tools menu.
- Hydrata asks first: Replace the contents of "(layer)"? Maps showing it will change. Click Replace, or Cancel.
Adopting again keeps the same layer and replaces what it holds, so every map that shows it is up to date at once.
- If the layer was deleted, a notice says so, and Adopt as a layer makes it again.
- If the line is deleted, the layer stays as it was.
Agents¶
An AI agent connected through the Hydrata MCP server can
adopt with adopt_catchments, but only a line a person has confirmed. If
the line already has an adopted layer, the agent is refused and is told to ask
you; it replaces the layer only if you say yes.
A layer an agent adopted is marked as made by an agent and not yet reviewed, in the layer's description and in a notice on the line's page: Layer adopted by an agent. Adopt again to review it.
See also¶
- Catchments from a Line: drawing, running and confirming the line.
- Drainage Corrections: correcting where water goes before you adopt.