> 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/transport-network-portfolio/os-mastermap-highways-network-fundamentals/os-mastermap-highways-network-code-lists/roadfunctionvalue.md).

# RoadFunctionValue

This code list is present in OS MasterMap Highways Network – Roads. The RoadLink Feature Type is attributed with a 'routeHierarchy' with a data type of 'RoadFunctionValue'. The table below describes the codes used to populate this field and the description for each code. In addition, INSPIRE provides an 'Functional Road Class' attribute which identifies the importance of the role that the road performs in the road network; therefore, these values have been mapped to the INSPIRE values.

## **Code List: RoadFunctionValue**

{% embed url="<https://www.ordnancesurvey.co.uk/xml/codelists/RoadFunctionValue.xml>" %}

| Code                             | Description                                                                                                                                                                                    | Functional Road Class |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| Motorway                         | A multi-carriageway public road connecting important cities.                                                                                                                                   | mainRoad              |
| A Road Primary                   | A major road intended to provide the principal link between the most significant destinations in the country, as defined by the DfT, and that is currently classified by the DfT as an A Road. | firstClass            |
| A Road                           | A major road intended to provide large-scale transport links within or between areas.                                                                                                          | secondClass           |
| B Road Primary                   | A major road intended to provide the principal link between the most significant destinations in the country, as defined by the DfT, and that is currently classified by the DfT as a B Road.  | firstClass            |
| B Road                           | A road intended to connect different areas, and to feed traffic between A roads and smaller roads on the network.                                                                              | thirdClass            |
| Minor Road                       | A public road that provides interconnectivity to higher classified roads or leads to a point of interest.                                                                                      | fourthClass           |
| Local Road                       | A public road that provides access to land and/or houses, usually named with addresses. Generally, not intended for through traffic.                                                           | fifthClass            |
| Local Access Road                | A road intended for the start or end of a journey, not intended for through traffic but will be openly accessible.                                                                             | sixthClass            |
| Restricted Local Access Road     | A road intended for the start or end of a journey, not intended for through traffic and will have a restriction on who can use it.                                                             | seventhClass          |
| Secondary Access Road            | A road that provides alternate/secondary access to property or land not intended for through traffic.                                                                                          | ninthClass            |
| Restricted Secondary Access Road | A road that provides alternate/secondary access to property or land, not intended for through traffic and will have a restriction on who can use it.                                           | ninthClass            |


---

# 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/transport-network-portfolio/os-mastermap-highways-network-fundamentals/os-mastermap-highways-network-code-lists/roadfunctionvalue.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.
