# OS MasterMap Highways Network Downloads

{% hint style="info" %}

### Product download

This page provides downloadable files to support the product in use. To download the product itself, please visit the [OS Data Hub](https://osdatahub.os.uk/data).
{% endhint %}

## XML code lists

XML versions of the OS MasterMap Highways Network code lists are available below:

* [AccessPointValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/AccessPointValue.xml)
* [ChangeTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/ChangeTypeValue.xml)
* [CycleFacilityType.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/CycleFacilityType.xml)
* [DedicationValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/DedicationValue.xml)
* [FormOfWayTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/FormOfWayTypeValue.xml)
* [HazardTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/HazardTypeValue.xml)
* [JunctionTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/JunctionTypeValue.xml)
* [LoadTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/LoadTypeValue.xml)
* [MatchStatusValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/MatchStatusValue.xml)
* [NamedDate.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/NamedDate.xml)
* [NamedDay.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/NamedDay.xml)
* [NamedPeriod.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/NamedPeriod.xml)
* [NamedTime.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/NamedTime.xml)
* [OperationalStateValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/OperationalStateValue.xml)
* [ProvenanceSourceValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/ProvenanceSourceValue.xml)
* [ReinstatementTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/ReinstatementTypeValue.xml)
* [RoadClassificationValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/RoadClassificationValue.xml)
* [RoadFunctionValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/RoadFunctionValue.xml)
* [RoadNodeClassificationValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/RoadNodeClassificationValue.xml)
* [RoadStructureValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/RoadStructureValue.xml)
* [RoadWidthConfidenceValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/RoadWidthConfidenceLevelValue.xml)
* [SpecialDesignationTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/SpecialDesignationTypeValue.xml)
* [StreetTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/StreetTypeValue.xml)
* [StructureTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/StructureTypeValue.xml)
* [SurfaceTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/SurfaceTypeValue.xml)
* [TurnRestrictionValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/TurnRestrictionValue.xml)
* [UseTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/UseTypeValue.xml)
* [VehicleTypeValue.xml](https://www.ordnancesurvey.co.uk/xml/codelists/highways/VehicleTypeValue.xml)

Code lists provide a controlled list and formal definition for values used in certain attributes of the product.

## Schema files <a href="#bookmark8" id="bookmark8"></a>

Schema files are used to interpret the Geography Markup Language (GML) files and translate it into a suitable data format by your chosen software; however, we are aware that some firewalls will block access to these. In these instances, it is suggested that you download the schemas from the [OS MasterMap Highways Network GitHub repository](https://github.com/OrdnanceSurvey/OS-MasterMap-Highways-Network-ALL-Schemas).

### OS MasterMap Highways Network schema

The OS MasterMap Highways Network schema is available to download from the [XML file resources page on the Ordnance Survey website](https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/index.html) – containing this version of the schema alongside previously published versions. The most recent version is included below:

#### XML Schema

* [LinearHighwayNetwork.xsd](https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/2.0/LinearHighwayNetwork.xsd)
* [RoutingAndAssetManagement.xsd](https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/2.1/RoutingAndAssetManagement.xsd)
* [HighwaysDedication.xsd](https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/1.0/HighwayDedication.xsd)
* [HighwaysWaterTransportNetwork.xsd](https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/1.0/HighwaysWaterTransportNetwork.xsd)
* [OSProduct.xsd](https://www.ordnancesurvey.co.uk/xml/schema/product/1.0/OSProduct.xsd)

The general network schema is also relevant:

* [generalNetwork.xsd](https://www.ordnancesurvey.co.uk/xml/schema/network/2.0/generalNetwork.xsd)

{% hint style="info" %}
The XML File Repository License, covering the terms and conditions for the use of all Ordnance Survey XML schemas, is made available through the [Terms and Conditions page](/os-downloads/resources/site-resources/terms-and-conditions.md) in the Resources section.
{% endhint %}

## Stylesheets

Predefined stylesheets for OS MasterMap Highways Network are available for download from the [OS MasterMap Highways Network Stylesheets GitHub repository](https://github.com/OrdnanceSurvey/OS-MasterMap-Highways-Network-stylesheets). To download a ZIP containing all stylesheets, navigate to *Code*  > *Download ZIP*.


---

# Agent Instructions: 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:

```
GET https://docs.os.uk/os-downloads/products/transport-network-portfolio/os-mastermap-highways-network-fundamentals/os-mastermap-highways-network-downloads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
