> For the complete documentation index, see [llms.txt](https://docs.os.uk/os-downloads/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.os.uk/os-downloads/products/water-portfolio/os-open-rivers/os-open-rivers-technical-specification/code-lists/linkdirectionvalue.md).

# LinkDirectionValue

The [WatercourseLink](/os-downloads/products/water-portfolio/os-open-rivers/os-open-rivers-technical-specification/feature-types/watercourselink.md) feature is attributed with a *flowDirection* with a data type of *LinkDirectionValue*. The following table lists the codes which are used to populate this field and gives a description for each code.

{% hint style="info" %}
This code list is inherited from INSPIRE and is not extendable.
{% endhint %}

## **Code list: LinkDirectionValue**

List of values for directions relative to a link <http://inspire.ec.europa.eu/codelist/LinkDirectionValue/>

| Code                  | Description                            |
| --------------------- | -------------------------------------- |
| both directions       | In both directions.                    |
| in direction          | In the direction of the link.          |
| in opposite direction | In the opposite direction of the link. |

Where the flow direction has not been determined, this attribute is set to null and a *nilReason* is given:

* Where the value of *nilReason* is set to *unknown*, then the flow direction is not known to Ordnance Survey. A correct value may exist, but the methods employed by Ordnance Survey to date have not facilitated capture.
* Where the value of *nilReason* is set to *missing*, then the flow can be considered indiscernible. Ordnance Survey has attempted to identify the flow on the ground, but no flow has been determined.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.os.uk/os-downloads/products/water-portfolio/os-open-rivers/os-open-rivers-technical-specification/code-lists/linkdirectionvalue.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
