All pages
Powered by GitBook
2 of 47

OS MasterMap Water Network Layer

LogoOS MasterMap Networks - Water Layer | Data Products | OSOrdnance Survey

OS MasterMap Water Network Layer is a three-dimensional digital representation of Great Britain's watercourses. The product includes rivers, streams, lakes, lochs and canals as a series of watercourse network lines. The network lines (links) are attributed to provide a range of information about the section of watercourse they depict. OS MasterMap Water Network Layer will significantly enhance systems used to manage waterways and rivers and the flood risk they pose.

This product is updated quarterly in January, April, July and October.

OS MasterMap Networks - Water layer map showing river networks over land
OS MasterMap Water Network Layer map.

Content and context

With this water network data, you can look up the height of any watercourse, along with its flow direction, gradient, length and width anywhere along its length.

Precise watercourses details

As an island, water defines Great Britain. No other visualisation of our nation’s watercourses details the heights of watercourses in relation to sea level with this level of precision.

Complete picture in 2D and 3D

For planners, for surveyors, for engineers – this layer offers the potential to model in 2D and 3D like never before, thanks to the clarity of river flow, gradient and river widths.

Answers on tap

From aqueducts to tunnels, with annotations of flow direction, OS MasterMap Water Network Layer provides useful detailed mapping that includes underground watercourses (inferred from entry and exits).

Detailed centre line

OS MasterMap Water Network Layer provides a detailed centre line following the curve of the waterway precisely. It includes the coordinates of watercourse sources and where they meet, exactly.

  • Access: Download

  • Category: Networks

  • Data theme: Water

  • Data structure: Vector – Topologically structured link and node network

  • Coverage: Great Britain

  • Scale: 1:1 250 to 1:10 000

  • Format: GML 3.2.1, GeoPackage, vector tiles

  • Ordering area: All of Great Britain or customisable areas (5km² tiles)

  • Publication months: January, April, July, October

  • OS Data Hub plan: Energy & Infrastructure Plan, Premium Plan, Public Sector Plan

How to get this product

Access to this product is free for Public Sector Geospatial Agreement (PSGA) Members. Find out if you are a PSGA Member or download a sample of OS MasterMap Water Network Layer data by accessing the product page on the OS website, which has links to all of the relevant resources. Alternatively, you can try out the full product by applying for a Data Exploration license.

Visualise OS MasterMap Water Network Layer data online

This product is available to try out online using one of our three sets of sample data (Exeter, Newport and Inverness) through the OS MasterMap Product Viewer:

Cover

OS MasterMap Product Viewer

Interactive demonstrator of OS MasterMap Generation data

# Other ways to access this data

MasterMap Water Network Layer data is available from our OS Features API, providing location-based insights combining topography data with buildings, transport, and water layer data to create finely detailed datasets with a high degree of accuracy. Find out more about our OS API platform here to unlock access to rich geospatial data and integrate OS data and services into your applications.

Access to MasterMap Water Network Layer data is also available through the OS NGD Water Theme, providing a three-dimensional structured link and note network of watercourses for Great Britain. Users may find that NGD Water Theme data is more accessible, contains greater attribution, and is easier to use with databases and GIS software. Find out more about NGD data here to discover how to access OS NGD and what's available to users.

What's next?

To access additional documentation and resources relating to this product, please refer to the following:

Cover

Overview

The overview introduces OS MasterMap Water Network Layer and gives context for all users – highlighting key features, providing examples of uses, and listing details such as file sizes, etc.

Cover

Getting Started Guide

The getting started guide provides instructions for using OS MasterMap Water Network Layer in different applications. Users with limited technical knowledge will be able to follow this guide.

Cover

Technical Specification

The technical specification provides detailed technical information about OS MasterMap Water Network Layer. It is targeted at technical users and software developers.

New users should start with the Overview to gain high-level insight into the product. The Getting Started Guide will help you to begin using product data in different software systems. The Technical Specification contains detailed technical insights.

Release notes

Release notes for the OS MasterMap Water Network Layer product.

OS MasterMap Water Network Layer – January 2025 release note

This release note provides information about the January 2025 release of OS MasterMap Water Network Layer.

OS MasterMap Water Network Layer – October 2024 release note

This release note provides information about the October 2024 release of OS MasterMap Water Network Layer.

OS MasterMap Water Network Layer – April 2024 release note

This release note provides information about the April 2024 release of OS MasterMap Water Network Layer.

OS MasterMap Water Network Layer – January 2024 release note

This release note provides information about the January 2024 release of OS MasterMap Water Network Layer.

January 2025

This release note provides information about the January 2025 release of OS MasterMap Water Network Layer.

Feature counts

Feature Type
Count

WatercourseLink

4 717 167

HydroNode

4 741 284

Errors

Error Type
Count

Links with spikes

0

Single link loops

40

Multi-link circular flow loops that include River links

3

Multi-link circular flow loops on Drains

19

Product improvements

Tiles containing no data are no longer published.

Next release

The next release of OS MasterMap Water Network Layer is scheduled for April 2025.

October 2024

This release note provides information about the October 2024 release of OS MasterMap Water Network Layer.

Feature counts

Feature Type
Count

WatercourseLink

4 715 341

HydroNode

4 742 291

Errors

Error Type
Count

Links with spikes

0

Single link loops

50

Multi-link circular flow loops that include River links

1

Multi-link circular flow loops on Drains

21

Product improvements

Tiles containing no data are no longer published.

Next release

The next release of OS MasterMap Water Network Layer is scheduled for January 2025.

April 2024

This release note provides information about the April 2024 release of OS MasterMap Water Network Layer.

Feature counts

Feature type
Count

WatercourseLink

4 680 359

HydroNode

4 653 542

Errors

Error Type
Count

Links with spikes

0

Single link loops

50

Multi-link circular flow loops that include River links

1

Multi-link circular flow loops on Drains

20

Product improvements

Tiles containing no data are no longer published.

Next release

The next release of OS MasterMap Water Network Layer is scheduled for July 2024.

January 2024

This release note provides information about the January 2024 release of OS MasterMap Water Network Layer.

Feature counts

Feature type
Count

WatercourseLink

4 457 867

HydroNode

4 483 710

Errors

Error Type
Count

Links with spikes

0

Single link loops

51

Multi-link circular flow loops that include River links

1

Multi-link circular flow loops on Drains

20

Product improvements

Tiles containing no data are no longer published.

Next release

The next release of OS MasterMap Water Network Layer is scheduled for April 2024.

OS MasterMap Water Network Layer Overview

This overview introduces OS MasterMap Water Network Layer and gives context for all users – highlighting key features, providing examples of uses, and listing details such as file sizes, etc.

OS MasterMap Water Network Layer is a three-dimensional digital representation of Great Britain's watercourses. The product includes rivers, streams, lakes, lochs and canals as a series of watercourse network lines. The network lines (links) are attributed to provide a range of information about the section of watercourse they depict. OS MasterMap Water Network Layer will significantly enhance systems used to manage waterways and rivers and the flood risk they pose.

Example extract from OS MasterMap Water Network Layer showing one big river and several tributaries/smaller rivers running into it. The WatercourseLink (blue solid lines) features and HydroNode features (small white circle with a blue solid outline) are shown on top of every watercourse.
Example extract from OS MasterMap Water Network Layer showing WatercourseLink and HydroNode features.

Watercourses that are underground or below structures are included where Ordnance Survey capture processes or accepted sources can infer the connection.

Polygons and lines representing the water area and its banks are not supplied in this product but will continue to be maintained and supplied as part of the OS MasterMap Topography Layer product.

OS MasterMap Water Network Layer is provided with three-dimensional coordinates.

Key features of the product

The OS MasterMap Water Network Layer product includes the following key features:

  • Flow and connectivity.

  • Three-dimensional geometry.

  • Catchment information including name.

  • The names of watercourses, including language alternatives.

  • Vertical relationships where water courses pass over or under one other.

  • Average widths.

  • Additional information provided by national authorities.

Product applications

OS MasterMap Water Network Layer supports a wide range of customer applications that use geographic information. The product can be used alone or in combination with other Ordnance Survey products, such as OS MasterMap Topography Layer, OS MasterMap Imagery Layer and OS Terrain 5.

The OS MasterMap Water Network Layer product could be used for applications such as:

  • Understanding flood risk

  • Flood risk mitigation planning

  • Flood response planning and execution

  • Detailed flood modelling for insurance and land and property

  • Environmental impact analysis

  • Tracking water flows and any contamination

  • Asset management and protection

  • The management of statutory directives relating to watercourses

  • Ecology studies, for example, species migration

  • Analytics and visual interpretation, particularly when used in combination with other Ordnance Survey products, for example, OS Terrain 5

Index

This overview includes the following sections:

  • Feature types in the product

  • Standards and CRS

  • Product supply

Feature types in the product

OS MasterMap Water Network Layer features are classified into feature types. Each feature type has associated attribution, and further detail can be found in the OS MasterMap Water Network Layer Technical Specification.

The product has two core feature types: WatercourseLink and HydroNode.

WatercourseLink Feature Type

A WatercourseLink feature represents the alignment of a watercourse; the majority have been derived from Ordnance Survey's detailed topographic data, made available to customers as the

OS MasterMap Topography Layer product.

WatercourseLink features are split in the following circumstances:

  • Where two or more watercourses meet

  • Where the real-world-based attribution of a watercourse changes

  • Where the name of a watercourse changes or ceases to apply

WatercourseLink features are not split where they pass under or over one another at different levels. They may be split where they pass into a culvert or tunnel or onto an aqueduct.

Height has been added to each vertex coordinate using the raw data used to create the OS Terrain height products.

An example map showing the WatercourseLink feature which  represents the alignment of watercourses. All watercourses on the map extract have a blue solid line on top of them to show their alignment - theWatercourseLink feature.
The WatercourseLink feature represents the alignment of watercourses.

HydroNode Feature Type

A HydroNode feature explicitly represents the source, sink or junction of a watercourse. In addition, they record the location where any real-world-related attribution changes.

A HydroNode feature may only exist at the end point of a WatercourseLink feature. Height has been added to the coordinate for the HydroNode using the raw data used to create the OS Terrain height products.

An example map showing the HydroNode feature which explicitly represents the source, sink or junction of a watercourse. All watercourses on the map extract have white circles with a solid blue outline on them at various points to represent the HydroNode feature.
The HydroNode feature explicitly represents a watercourse's source and sink, and locations where junctions of watercourses exist.

Standards and CRS

Standards

OS MasterMap Water Network Layer is based on the INSPIRE Data Specification on Hydrography, which itself is based on the ISO TC211 family of open standards.

Coordinate reference system (CRS)

OS MasterMap Water Network Layer uses the British National Grid (BNG) spatial reference system. BNG uses the OSGB36 geodetic datum and a single Transverse Mercator projection for the whole of Great Britain. Positions on this projection are described using easting and northing coordinates in units of metres. The BNG is a horizontal spatial reference system only; it does not specify a vertical (height) reference system.

This water network product, unlike other OS MasterMap layers, contains height values for the geometry vertices. Several orthometric height datums are used in OS MasterMap data to define vertical spatial reference systems; the most common of these is Ordnance Datum Newlyn (ODN), which is used throughout mainland Britain. Height values on the features do not specify which vertical reference system is used, although information on the extents of additional datums can be provided.

OS MasterMap Water Network Layer is projected in the ESPG 7405 OSGB36 / British National Grid + ODN. This projection is used as it specifies the Z value as ODN.

In the Geography Markup Language (GML) data, this is represented by reference to its entry in the EPSG registry.

The GeoPackage product format is in the BNG projection (BNG: 27700).

The vector tiles product format is in the Web Mercator projection (EPSG:3857). This projection is a global coordinate reference system.

Please see A Guide to Coordinate Systems in Great Britain on our More than Maps platform for more information on CRSs.

Product supply

Available formats for the product

OS MasterMap Water Network Layer is available in three formats:

  • Geography Markup Language (GML) 3.2.1, zipped using gzip

  • GeoPackage file, zipped using gzip

  • Vector tiles (MBTiles) file, zipped using gzip

Product supply mechanism

OS MasterMap Water Network Layer incorporates a web-based ordering system that allows customers to order their initial data supply and any updates, obtain price estimates and view details of their holdings on demand. The product is supplied as an online download. You can download data in various formats from the OS Data Hub.

Coverage and file size

For GML, OS MasterMap Water Network Layer is a national dataset and is maintained and supplied as 5km by 5km tiles of data. File size estimates can vary from about 1 Kb compressed to about 780 Kb (compressed). A full national supply will be approximately 1.25Gb compressed. Compression rates vary and are dependent on the size and content of a tile.

For GeoPackage and vector tiles, the coverage will be Great Britain (GB) only. The file size is 1.8Gb zipped for GeoPackage and 1.5Gb zipped for vector tiles.

Geographic chunking

To make the management of large areas easier, data is split into chunks, each of which covers a nominal square area or part of such a square or a nominated size. Chunk boundaries are imposed purely for the purpose of dividing large supply areas into pieces of a manageable size in a geographically meaningful way. Both full supply and updates are chunked.

The following steps describe how data is chunked into geographic areas:

  1. The customer submits an area of interest (AOI).

  2. The online system creates a grid covering the entire area based on specified size; any 5km by 5km chunk that intersects the AOI will be included in the order.

  3. Each square grid forms a chunk file.

  4. Each feature that intersects that square goes into the chunk file.

  5. OS MasterMap Water Network Layer is supplied in 5km by 5km chunks.

Example map of Clitheroe, England, showing how product data is chunked into geographic areas. In this example, twelve chunks (the green squares) have been created - one for every tile that has been intersected by the area of interest (the blue polygon).
Twelve chunks are created, one for every tile that is intersected by the area of interest (AOI).

Where WatercourseLink features go over tile edges they are supplied in every chunk they intersect. Therefore, these features will be duplicated. Systems reading OS MasterMap data must identify and provide the option to remove these duplicate features.

Empty chunks are not supplied; that is, if a chunk contains no information relating to a customer’s selected themes, then it would be an empty file and it would not be supplied.

Change-only update (COU)

OS MasterMap Water Network Layer changes are supplied on a chunk basis. When a feature is changed, all chunks that contain that feature are flagged as containing an update. Within an updated chunk, all features are supplied whether changed or not. Inspection of the individual metadata attributes can highlight whether any individual feature has been updated.

Currency

OS MasterMap Water Network Layer is supplied to customers quarterly in January, April, July and October, incorporating any updates made by the revision programme.

OS MasterMap Water Network Layer Getting Started Guide

This getting started guide provides instructions for using OS MasterMap Water Network Layer in different applications. Users with limited technical knowledge will be able to follow this guide.

OS MasterMap Water Network Layer is a digital representation of the watercourses in Great Britain as a series of connected features. The data represents the approximate central alignment of watercourses and is attributed to provide a range of information about the section of watercourses they represent.

The product has two core feature types:

  • WatercourseLink: A WatercourseLink feature represents the alignment of a watercourse. The majority have been derived from Ordnance Survey detailed topographic data, made available to customers as the OS MasterMap Topography Layer product.

  • HydroNode: A HydroNode feature explicitly represents the start, junctions and end of each watercourse, as well as places where there's a change in the real-world-related attribution.

Example extract from OS MasterMap Water Network Layer showing one large river and several tributaries/smaller rivers running into it. The WatercourseLink (blue solid lines) features and HydroNode features (small white circle with a blue solid outline) are shown on top of every watercourse.
Example extract from OS MasterMap Water Network Layer showing WatercourseLink and HydroNode features.

This Getting Started Guide focuses solely on using the product in Geography Markup Language (GML) format.

For guidance on using the product in GeoPackage or vector tiles formats, please see either the Getting Started with GeoPackage guide or the Getting Started with Vector Tiles guide.

Index

This guide includes the following sections:

  • Requirements for using the data

  • Structure of the supplied data

  • Loading GML data into a GIS

  • Creating a water network using ESRI software

Requirements for using the data

System requirements

OS MasterMap Water Network Layer is designed for use in a geographic information system (GIS). For details of Ordnance Survey’s Licensed Partners who can assist you with incorporating the product in their systems, please see the 'GIS software' page on the Ordnance Survey website.

Ordnance Survey does not recommend specific suppliers or software products, as the most appropriate system will depend on many factors, for example, the amount of data being taken, resources available within the organisation, the existing and planned information technology infrastructure, and, ultimately, the applications that the data will be used for. However, as a minimum, the following elements will be required in any system:

  • A means of reading the data, either in its native format, or by translating it into a file format or for storage in a database.

  • A means of storing and distributing the data, perhaps in a database or through a web-based service.

  • A way of visualising and / or querying the data, typically a GIS.

Backup provision of the product

You are advised to copy the supplied data to a backup medium before following the steps outlined in this getting started guide.

Typical data volumes

For reading purposes, it is recommended that users store the data on a single hard disc. This will speed up the ability of your computer to read the data. Compressed file sizes for the full supply of England, Scotland and Wales are as follows:

  • Geography Markup Language (GML): The compressed file size for Great Britain is approximately 1.25Gb.

  • GeoPackage: The compressed file size for Great Britain is approximately 1.8Gb.

  • Vector tiles: The compressed file size for Great Britain is approximately 1.5Gb.

Structure of the supplied data

OS MasterMap Water Network Layer is supplied in three formats: Geography Markup Language (GML 3.2.1), GeoPackage and vector tiles. All formats are compressed into a regular zip file (.ZIP).

Before loading the data, you will need to unzip it by using any of the regular zip programs available or via the facility within the Windows 10 operating system.

Area of interest order type

The tiled dataset will be provided in 5km x 5km square tiles and will contain all features present in the tile(s) ordered.

The data is supplied as 'hairy tiles', in that no feature is broken at the tile edge but is included across the tile boundary if it extends into an adjacent tile. As such, a data holding comprising more than one 5km² tile will contain duplicate features which may need to be removed depending upon the user requirement.

The GeoPackage and vector tiles formats will be available for Great Britain coverage only. The file naming convention will be as follows:

  • GML: 5km² tile ID. gz, for example: HP4500.gz

  • GeoPackage: MMNWGB.gpkg

  • Vector tiles: MMNWGB.mbtiles

Data ordering and download

  • Direct customers and Partners, please contact your Account Manager or Business Enquiries.

  • For Public Sector Geospatial Agreement (PSGA) customers, the product is available to you through the PSGA Contract.

The data is available as an online download via the OS Data Hub.

Download contents

The data is supplied in a .zip archive, which contains a parent folder with two sub-folders entitled DATA and DOC, and an additional readme file.

Loading GML data into a GIS

Geography Markup Language (GML) is an XML dialect, which can be used to model geographic features. It was designed by the Open Geospatial Consortium (OGC) as a means for people to share information regardless of the particular applications or technology that they use. In the first instance, GML was used to overcome the differences between different geographic information system (GIS) applications by providing a neutral file format as an alternative to proprietary formats.

The data can be loaded into several GIS. This page describes how to translate the GML and load it into some commonly used GIS. For more information about other GIS that OS MasterMap Water Network Layer is compatible with, please speak to your Relationship Manager.

The common software covered in this section are as follows:

  • QGIS

  • FME

  • ERSI ArcMap

  • MapInfo Professional

  • Cadcorp Map Modeller

QGIS

The following step-by-step instructions outline how to load OS MasterMap Water Network Layer into QGIS using the GML file(s) you have received. They have been prepared using version 3.16.7 of QGIS Desktop – an open-source GIS in which you can create, edit and visualise and publish geographic information. You can download QGIS for free from the 'Download QGIS for your platform' page of the QGIS website.

Loading OS MasterMap Water Network Layer GML into QGIS

  1. Launch QGIS.

  2. OS MasterMap Water Network Layer data can be loaded into QGIS either zipped or unzipped. To load the data, click on Add Vector Layer button from the left-hand toolbar.

    QGIS  Add Vector Layer button shown as the first icon in the left-hand toolbar
    QGIS Add Vector Layer button
  1. The Data Source Manager dialog box will open. In the Source section, click on the […] button to the right of the Vector Dataset(s) field and navigate to the GZ or GML file you wish to import.

    The Data Source Manager dialog box
  1. When you've selected the file you wish to import, click Add.

    Data source manager dialog box showing the source file added
    Data source manager dialog box showing the source file added

Alternatively, you can load the file by dragging and dropping the GZ or GML file into a blank canvas.

  1. This will open a Select Vector Layers to Add… dialog box in which you can select the layer(s) you wish to add to the GIS. If you wish to add both water layers (i.e. HydroNode and WatercourseLink), click Select All. Confirm your choice by clicking OK:

    Select Vector Layers to add dialog
  1. The HydroNode and WatercourseLink layers will be added to the canvas in the main map window.

    HydroNode and WatercourseLink layers shown on the canvas map
    HydroNode and WatercourseLink layers shown in the main map window
  1. You can add additional layers of OS MasterMap (for example, OS MasterMap Topography Layer) to give context to OS MasterMap Water Network Layer data.

Exporting OS MasterMap Water Network Layer to different GIS formats using QGIS

You can also use QGIS to export OS MasterMap Water Network Layer data into many different common GIS formats. This will allow you to open the files in many other GIS applications.

  1. Right-click on the layer you want to translate, then select Export and Save Feature As…

Note: If you are trying to save layers for more tiles or a national dataset, you will have to save them separately as there is no option for grouping layers.

  1. In the Save Vector Layer as… dialog box that opens, use the dropdown arrow in the Format field to select your chosen format for further analysis, for example, MapInfo TAB or ESRI Shapefile.

  2. Click on the Browse button to save your file to a location of your choice.

  3. Click OK to save the data in your chosen format.

    Save Vector Layer as dialog box
FME

The following section details how to load OS MasterMap Water Network Layer into FME using the GML file you have received. Doing so will allow you to view the data and then translate it into the most appropriate format for your software. The step-by-step instructions have been prepared using FME 2019.1.

Viewing and translating data in FME

  1. Open FME Workbench and select New in the Getting Started box.

  2. Click the Add Reader button from the main toolbar to add a Reader.

    Screenshot of the FME window showing the main toolbar.
  1. In the Add Reader dialog box that opens, select GML (Geography Markup Language) from the dropdown list for Format.

  2. Use the Browse […] button next to the Dataset field to navigate to your files and select them.

  3. Leave the Parameters… as default and the Workflow Options as Individual Feature Types.

  4. Select OK to add the Reader.

    Add reader dialog box showing a GML file added as an Individual Feature Type
    Add reader dialog box
  1. Once the Reader has been added successfully, the log window will display the text 'Mapping File Generation was SUCCESSFUL' and the Select Feature Types dialog box will open.

Note:

If FME cannot find the appropriate schema file for use in translation, the OS MasterMap Water Network Layer XML schema v1 file can be downloaded from the schema repository on the OS website.

  1. In the Select Feature Types dialog box, select the feature types that you wish to translate from the list or use the Select All option to add all objects.

Note: OS MasterMap Water Network Layer currently only contains the feature types of WatercourseLink and HydroNode. FME will give you additional feature type options inherited from INSPIRE.

  1. Click OK.

    Select feature node dialog box showing Hydronode and WatercourseLink layer
    Select feature node dialog box
  1. OS MasterMap Water Network Layer objects will have been added to the canvas.

    OS MasterMap Water Network Layer objects shown on the canvas
    OS MasterMap Water Network Layer objects shown on the canvas

Viewing the data using FME Data Inspector before translation

Before translating the data, FME allows you to view the data. The viewing process is faster than translation and allows you to quickly interrogate the data before you start translating it.

  1. Highlight all of the feature types you wish to view by either selecting them individually or drawing a box around them.

  2. Right-click on one of the feature types and select Connect Inspectors.

    Feature types context menu showing Connect Inspectors selected
    Feature types context menu
  1. Run the workspace (click the Run button on the main toolbar) with the Inspectors connected in order to view the data in FME Data Inspector.

    Screenshot of the main FME window showing the HydroNode and WatercourseLink feature types added to the mainn canvas.
  1. When finished, the two layers of OS MasterMap Water Network Layer will be viewable in the Visual Preview window. You can open this window in a separate FME Data Inspector window by clicking the FME Data Inspector button.

    Screenshot of the main FME windo

Translating GML in FME

You can use FME to translate the files from GML to any other format supported by FME (for example, TAB, SHP, GPKG or a spatial database).

  1. In the main FME window, remove the Inspectors you have connected if you have chosen to use FME Data Inspector to view and interrogate the data. You can do this by clicking and deleting each Inspector separately or by selecting all of them and deleting them together.

  2. Click on the Add Writer button from the main toolbar.

    Add writer button in the centre of the top toolbar highlighted with a red circle
    Add writer button highlighted in the toolbar
  1. In the Add Writer dialog box that opens, select the format you are translating into from the dropdown list for Format, for example, OGC GeoPackage or File GeoDatabase.

  2. Use the Browse […] button next to the Dataset field to navigate to the folder where you want to save the translated data.

  3. Leave the Parameters… set to default.

  4. Under the Add Feature Type(s) section, set Table Definition to Copy from Reader. This will enable the new Writer to inherit the schema of the Reader feature types.

  5. Click OK to add the Writer.

    Add Writer dialog
  1. A Select Feature Type dialog box will appear prompting you to select which existing feature type(s) to copy. Select both the WatercourseLink and HydroNode feature types, then click OK.

    Select feature type dialog box with WatercourseLink and HydroNode feature types checked
    Select feature type dialog box
  1. The Writer feature types will now be added to the canvas. The new Writer feature types will have inherited the schema of the Reader feature types.

    Screenshot of the main FME window showing the main toolbar and the Writer and Reader HydroNode and WatercourseLink feature added
  1. Connect the Readers to the Writers by dragging the triangle on the Reader and connecting it to the red triangle on the corresponding Writer.

    Screenshot of the main FME window showing the main toolbar and the unconnected Writer and Reader feature types for HydroNode and WatercourseLink. There is a red circular shape over the Run Translation button on the main toolbar. The Run Translation button is represented by a green triangle with a black outline.
    Connection nodes available on their corresponding Links and Nodes
  1. Once the workspace has been set up, run the translation by clicking the Run Translation button.

  • Note: This is a basic translation of the data, and within FME workbench you could manipulate the data further if needed. However, you can use the software just as a translator and open the data in other GIS software for analysis.

    Screenshot of the main FME window showing the main toolbar and the now connected Writer and Reader feature types for HydroNode and WatercourseLink. There is a red circular shape over the Run Translation button on the main toolbar. The Run Translation button is represented by a green triangle with a black outline.
    Screenshot of the main FME window showing the main toolbar and the now connected Writer and Reader feature types for HydroNode and WatercourseLink.
ESRI ArcMap

The following step-by-step instructions outline how to load OS MasterMap Water Network Layer GML data into ESRI ArcMap. The instructions were prepared using ESRI ArcMap version 10.6.1.

GML data can be now imported as zipped GML (GZ) directly into ESRI ArcMap using the Data Interoperability extension called Quick Import. The Data Interoperability extension is now available at no cost as a part of ArcMap from version 10.2. You will require Internet access when using the Quick Import tool so that the data can access the schema attached to the file.

Note:

If your version of ArcMap is older than 10.2 and you do not have a licence for Data Interoperability, you will have to use translation tools available in QGIS or FME to first translate the GML data into ESRI shapefiles, before you can load them in ArcMap.

You can find more information about Quick Import on the ArcGIS Data Interoperability page of the ESRI website.

Loading OS MasterMap Water Network Layer GML into ESRI ArcMap

  1. Launch ArcMap.

  2. Click on the ArcToolbox window button in the main toolbar.

    ArcToolbox window button shown in the toolbar with a red circle around an icon for a window with a red box in front of it.
    ArcToolbox window button shown in the toolbar
  1. In the ArcToolbox window that opens, click on the plus sign next to Data Interoperability Tools, then double-click on Quick Import.

    ArcToolbox window showing the Quick Import tool under the Data Interoperability Tools menu highlighted in two red rectangles
    ArcToolbox window showing the Quick Import tool under the Data Interoperability Tools menu
  1. In the Quick Import dialog box that opens, click on the […] button next to the Input Dataset field.

    Quick import dialog showing the [...] button next to the Input Dataset field
    Quick import dialog showing the [...] button next to the Input Dataset field
  1. In the Specify Data Source dialog box that opens, click on the dropdown arrow in the Format field and select More Formats.

    The Specify Data Source dialog box in ESRI ArcMap.
  1. In the FME Reader Gallery dialog box that opens, select GML SF-0 (Geography Markup Language Simple Features Level SF-0 Profile) from the list of options, then click OK.

    FME Reader Gallery dialog box shown GML SF-0 selected in the list of options
    FME Reader Gallery dialog box shown GML SF-0 selected in the list of options
  1. Back in the Specify Data Source dialog box, use the […] button next to the Dataset field to navigate to the folder where you saved your GZ file; select the folder and click Open. Make sure that extensions available to load are *.gz / *.gml.

  2. Leave the rest of the settings as default and click OK.

    Specify Data Source dialog showing GLM SF-0 format and SU2000.gz dataset loaded
    Specify Data Source dialog showing GLM SF-0 format and SU2000.gz dataset loaded
  1. Back in the Quick Import dialog box, click on the folder button to the right of the Output Staging Geodatabase field.

    Quick Import dialog showing the folder button to the right of the Output Staging Geodatabase field
    Quick Import dialog
  1. In the Output Staging Geodatabase dialog box that opens, navigate to the correct folder and select the output geodatabase for the feature classes to be stored in.

  2. Select Geodatabases from the dropdown options for Save as type.

  3. Click Save.

    Output Staging Geodatabase save dialog and file explorer showing file type set to Geodatabases
    Output Staging Geodatabase save file dialog
  1. Once you have made your selections for the Input Dataset and Output Staging Geodatabase fields, you can click OK at the bottom of the Quick Import dialog box.

    The Quick Import dialog box in ESRI ArcMap
  1. As soon as the import process has started, you will see a process running notification at the bottom of your screen. When the import process has successfully completed, the following popup window should appear in the bottom right-hand corner of your screen:

    Quick Import success notification showing a green tick to the left of a tool icon
    Quick Import success notification

Loading translated GML into ESRI ArcMap

If your version of ArcMap is older than version 10 or if you do not have access to the Quick Import (Data Interoperability) extension, you will have to use the translation tools available in QGIS or FME to translate the GML data into ESRI shapefiles first, before you can load them into ArcMap.

Note: The following instructions were prepared using ESRI ArcMap version 10.6.1.

  1. Launch ArcMap.

  2. To load a shapefile into ArcMap, click on the Add Data button in the main toolbar.

    Add Data button highlighted in the main toolbar in a red circle
    Add Data button in the main toolbar
  1. In the Add Data dialog box that opens, click the Connect To Folder button.

    Add Data dialog box showing the Connect To Folder button highlighted to the right in a red circle
    Add Data dialog box showing the Connect To Folder button highlighted to the right
  1. In the Connect To Folder dialog box, navigate to the folder where you saved your translated OS MasterMap Water Network Layer data, then click OK.

    Connect to folder dialog and file explorer
    Connect to folder dialog
  1. Back in the Add Data dialog box, select the WatercourseLink and HydroNode shapefiles that will now be in the list of options, then click Add.

    Add Data dialog box showing WatercourseLink and HydroNode shapefiles highlighted in the file explorer
    Add Data dialog box showing WatercourseLink and HydroNode shapefiles
  1. AThe two OS MasterMap Water Network Layer features should now have loaded into the map window of ArcMap.

MapInfo Professional

The following instructions outline how to load OS MasterMap Water Network Layer GML into MapInfo Professional. They have been prepared using version 12.5 of MapInfo. This new version of MapInfo allows you to convert GML data using a tool called Universal Translator.

Note: These instructions refer to the 64-bit version. The Universal Translator window is the same in the 32-bit version; however, the MapInfo menus are slightly different.

If your version of MapInfo is 12.0.2 or older, you will have to use translation tools available in FME or QGIS to translate the GML data into MapInfo TAB before you can load the data into MapInfo.

Translating GML into MapInfo Professional

  1. Open MapInfo Professional.

  2. On the main toolbar, select Tools > Universal Translator > Universal Translator.

    Universal Translator tools shown in the MapInfo toolbar
    Universal Translator tools shown in the MapInfo toolbar
  1. In the FME Quick Translator dialog box that opens, select File > Translate or click on the Translate data button.

     FME Quick Translator dialog box showing the Translate button under the Get Started subsection
    FME Quick Translator dialog box showing the Translate button under the Get Started subsection
  1. The Set Translation Parameters dialog box will open. In the Reader section, click on the dropdown button next to Format.

    Set Translation Parameters dialog box showing OGC GML Format
    Set Translation Parameters dialog box
  1. The Reader Gallery dialog box will open. Select GML (Geography Markup Language) from the list of options, then click OK.

    Reader Gallery dialog box
    Reader Gallery dialog box
  1. In the Reader section within the Set Translation Parameters dialog box, navigate to the folder where you saved your GML files under the Dataset option. A Select 'File' dialog box will appear. Once you've located the folder and selected it, click OK.

    Screenshot of the Select 'File' dialog box in MapInfo Professional.
  1. In the Writer section within the Set Translation Parameters dialog box, click on the dropdown button next to Format and select MapInfo TAB.

  2. Again in the Writer section, within the Dataset option, navigate to the folder where you want your TAB file to be saved.

  3. You can leave the rest of the settings as default.

  4. Click OK.

    Set Translation Parameters dialog box
    Set Translation Parameters dialog box
  1. The translation will start. You will notice commands appearing in the FME Quick Translator dialog box.

  2. When the translation has completed, you will see a line of text saying: ‘Translation was SUCCESSFUL’. Close the FME Quick Translator dialog box.

    The FME Quick Translator dialog box in MapInfo Professional
  1. The GML files will have been successfully translated into MapInfo TAB files.

Loading translated GML files into MapInfo Professional

  1. Open MapInfo Professional.

  2. To load translated files, select Home > Open on the main toolbar.

    Screenshot of the main map window in MapInfo Professional. There is a red rectangular box around the Open button.
  1. The Open dialog box will open. In the Look in option, navigate to the folder where you saved your TAB files.

  2. If you don’t see your files, select MapInfo (*.tab) from the Files of type dropdown menu.

  3. Select WatercourseLink and HydroNode, then click Open.

    Open file dialog box
    Open file dialog box
  1. The data will now load into MapInfo.

    Data loaded successfully into MapInfo
    Data loaded successfully into MapInfo
  1. To add the Layers window, right-click in the main window and select Layer Control. This will display the two OS MasterMap Water Network Layer objects that you have loaded: WatercourseLink and HydroNode.

    Layer control menu in the main window showing the relevant OS MasterMap Water Network Layer objects for WatercourseLink and HydroNode
    Layer control menu in the main window
Cadcorp SIS Map Modeller

The following instructions outline how to load OS MasterMap Water Network Layer GML into Cadcorp SIS Map Modeller. They have been prepared using Cadcorp SIS Map Modeller version 8.0 (x64).

Translating GML using Cadcorp SIS Map Modeller

  1. Launch Cadcorp SIS Map Modeller.

  2. Select the Home tab on main menu toolbar, then click the Add Overlay button.

    Add overlay button in the main menu toolbar
    Add overlay button in the main menu toolbar
  1. In the Overlay Types dialog box that opens, select Files > File > Next.

Screenshot of the main map window of Cadcorp SIS Map Modeller, with the Overlay Types dialog box at the forefront.

  1. This will open the File Browser dialog box. Navigate to the folder you have saved the GML data in.

    File Browser dialog showing sample File folder
    File Browser dialog showing sample File folder in the browser
  1. In the bottom right-hand corner of the File Browser dialog box, change the files from All files (*.*) to Ordnance Survey (GB) MasterMap layer (*.gml, *.gz).

    File browser dialog showing the OS MasterMap layer filter applied to files
    File browser dialog showing the OS MasterMap layer filter applied to files
  1. Back in the File Browser dialog box, select the file(s) and click Finish.

    Filebrowser dialog showing .gz files loaded
    Filebrowser dialog showing .gz files loaded
  1. OS MasterMap Water Network Layer features will have been added to the main map window.

    OS MasterMap Water Network Layer features added to the main map window

Creating a water network using ESRI software

OS MasterMap Water Network Layer data can be used in two types of networks.

Geometric network

Geometric networks offer a way to model common networks and infrastructures found in the real world. Water distribution and water flow in a stream are two examples of resource flows that can be modelled and analysed using a geometric network.

A geometric network can be set up easily, does not need an additional license and has some functionality (tracing up / downstream, for example) provided by the Utility Network Analyst Toolbar.

A geometric network cannot be published in ArcGIS server.

Network analyst

Network analyst is the mathematical processing of the geometry of a link / node layer, enabling the identification of all possible routes around that network, along with the distances and times involved. Put simply, this means that, using an accurate road data layer, the computer can identify possible routes between two locations and calculate the shortest route.

This requires a Network Analyst License. You can build simple networks, but more complicated networks will require you to have detailed knowledge of networks to set up attributes and elevators.

Note: This guide will only cover a geometric network.

Building a geometric network

A geometric network is built within a feature dataset in the geodatabase. The feature classes in the feature dataset are used as the data sources for network junctions and edges. The following step-by-step instructions will guide you through building a geometric network; they have been prepared using ArcMap version 10.6.1.

  1. Open ArcCatalog.

  2. Navigate to your geodatabase in your Folder Connections.

  3. Expand the geodatabase.

  4. Right-click on the geodatabase, select New from the list of options, then click Feature Dataset…

Screenshot of ArcCatalog showing the folder structure within Folder Connections and how to navigate to the create a new Feature Dataset option.
Screenshot of ArcCatalog showing the folder structure within Folder Connections and how to navigate to the create a new Feature Dataset option.
  1. Give your new Feature Dataset a name, then click Next.

ArcCatalog New Feature Dataset dialog box showing the text box where you can enter a name for your new feature dataset. The Next button is highlighted by a red rectangle shape.
ArcCatalog New Feature Dataset dialog box showing the text box where you can enter a name for your new feature dataset. The Next button is highlighted by a red rectangle shape.
  1. Set your coordinate system that will be used for the XY coordinates in the data (British National Grid EPSG:27700), then click Next.

ArcCatalog New Feature Dataset dialog box with the British National Grid option highlighted by a red rectangle shape in the XY coordinates dropdown menu.
ArcCatalog New Feature Dataset dialog box with the British National Grid option highlighted by a red rectangle shape in the XY coordinates dropdown menu.
  1. Set your coordinate system that will be used for the Z coordinates in the data (Newlyn). Ordnance Datum Newlyn (ODN) is our national coordinate system for heights above mean sea level (orthometric heights).

  2. Click Next.

ArcCatalog New Feature Dataset dialog box with the Newlyn option highlighted by a red rectangle shape in the Z coordinates dropdown menu.
ArcCatalog New Feature Dataset dialog box with the Newlyn option highlighted by a red rectangle shape in the Z coordinates dropdown menu.
  1. In the next panel, leave your XY tolerance as the default settings and click Finish. A new Feature Dataset will appear in the geodatabase.

ArcCatalog New Feature Dataset dialog box with the Finish button highlighted by a red rectangle shape.
ArcCatalog New Feature Dataset dialog box with the Finish button highlighted by a red rectangle shape.
  1. Copy the HydroNode and WatercourseLink feature classes into the new Feature Dataset by simply dragging them in.

  2. You may get an error message if the coordinate systems of the feature classes don’t match those of the new Feature Dataset. To resolve this, right-click on each feature class and select Properties. Check that the Z coordinate system is set to Newlyn and the XY coordinate system is set to British National Grid, then copy the feature classes into the new Feature Dataset.

ArcCatalog Paste Failed error message.
ArcCatalog Paste Failed error message.
  1. Right-click the Water feature dataset in the geodatabase, select New from the list of options, then click Geometric Network.

  1. Click Next in the New Geometric Network dialog box that opens.

ArcCatalog New Geometric Network dialog box, with the Next button highlighted by a red rectangle shape.
ArcCatalog New Geometric Network dialog box, with the Next button highlighted by a red rectangle shape.
  1. Type the name of your geometric network into the text box under the Enter a name for your geometric network section.

  2. Select Yes for the snap features within the specified tolerance option.

  3. Type 0.5 in the text box next to Meters.

  4. Click Next.

The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Enter a name for your geometric network text box, the Metres text box and the Next button. There's also a red rectangle shape around the section where you can choose Yes or No to Snap features within specified tolerance.
The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Enter a name for your geometric network text box, the Metres text box and the Next button. There's also a red rectangle shape around the section where you can choose Yes or No to Snap features within specified tolerance.
  1. In the next panel, you must select which feature classes in the feature dataset will participate in the geometric network. Click Select All. All the feature classes in the list will participate in the network.

  2. Click Next.

The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Select All and Next buttons.
The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Select All and Next buttons.
  1. The option to exclude features with certain attributes makes it easier to manage the network. In the next panel, you need to opt not to exclude features. Click No, so that all features will participate in the geometric network.

  2. Click Next.

The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Next button and the No option under the Use Z values to determine connectivity of features? option.
The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Next button and the No option under the Use Z values to determine connectivity of features? option.
  1. In the next dialog box, you must specify which line classes will become complex edge feature classes in the geometric network. Complex edge features are not split into two features by the connection of another feature along their length; thus, they are useful for modeling water mains, which may have multiple laterals connected to them. By default, all line feature classes are simple edge feature classes. In the same dialog box, you must specify which, if any, of the junction feature classes can act as sources and sinks in the network. Sources and sinks are used to determine the flow direction in the network.

  2. In the row for the HydroNode feature class, click Simple Junction under the Role column.

  3. In the row for the WatercourseLink feature class, choose Complex Edge from the list under the Role column.

  4. In the row for the HydroNode feature class, click the dropdown menu under the Sources & Sinks column, then click Yes.

  5. Click Next.

The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Next button and the Simple Junction, Complex Edge and Yes options which were indicated in the instructions in the Getting Started Guide.
The New Geometric Network dialog box within ArcCatalog. There are red rectangle shapes around the Next button and the Simple Junction, Complex Edge and Yes options which were indicated in the instructions in the Getting Started Guide.
  1. This geometric network does not require weights, which is the default, so click Next in the following panel:

The New Geometric Network dialog box within ArcCatalog. There is a red rectangle shape around the Next button.
The New Geometric Network dialog box within ArcCatalog. There is a red rectangle shape around the Next button.
  1. Clicking Next opens a summary page. Click Finish after you review the summary page.

  2. A progress indicator will appear displaying the progress for each stage of the network-building process. You will receive an error message indicating that the network has been built but contains some errors:

A Build Geometric Network error message in ArcCatalog indicating that the geometric network has been created but contains some errors.
A Build Geometric Network error message in ArcCatalog indicating that the geometric network has been created but contains some errors.
  1. Click OK to close the error message box.

  2. You can see what errors occurred while building the geometric network by previewing the WaterNet_BUILDERR table.

  3. Right-click the WaterNet_BUILDERR table in the Catalog and click Item Description. Then click the Preview tab to view the entries in this table.

  4. Features with invalid geometries are identified during the network build progress and recorded in the Network Build Errors Table. (This is user-managed; it does not get updated when the features listed within it are edited.)

  5. If you received more than two errors, delete the geometric network and repeat the steps to create it again.

  6. You can then proceed to load the data into ArcMap.

OS MasterMap Water Network Layer Technical Specification

This technical specification provides detailed technical information about OS MasterMap Water Network Layer. It is targeted at technical users and software developers.

OS MasterMap Water Network Layer provides a three-dimensional structured link and node network of Great Britain's watercourses. A link represents the approximate central alignment of a watercourse and includes inland rivers, streams, tidal water, lakes, lochs and canals; links are attributed with additional information, including flow direction and primary flow paths. Where watercourses are obscured or underground, connectivity is provided where Ordnance Survey capture processes or accepted sources can infer the connection.

The OS MasterMap Water Network Layer product is in geometric sympathy with the underlying topographic features that comprise OS MasterMap Topography Layer. Polygons and lines representing the water area and its banks are not supplied in this product but will continue to be maintained and supplied as part of the OS MasterMap Topography Layer product.

Example extract from OS MasterMap Water Network Layer showing one large river and several tributaries/smaller rivers running into it. The WatercourseLink (blue solid lines) features and HydroNode features (small white circle with a blue solid outline) are shown on top of every watercourse.
Example extract from OS MasterMap Water Network Layer showing WatercourseLink and HydroNode features.

Identifiers

Ordnance Survey provides persistent managed identifiers as TOIDs. TOIDs are strings of up to twenty characters, starting with ‘osgb’; the remaining characters are digits (0 to 9). In an INSPIRE encoded dataset such as this, each feature carries its identifier in three ways, as described below:

  • gml:id: Required by Geography Markup Language (GML). This matches the pattern in other OS MasterMap products.

  • gml:identifier: Recommended by INSPIRE and the UK INSPIRE project. This formats the TOID into a persistent URI, using http://data.os.uk/id/ as a namespace, instead of ‘osgb’. This does not mean that the water network features are available as linked data.

  • net:inspireId: The localId is set to the TOID (without ‘osgb’), and the namespace set as above. The

INSPIRE identifier model does not fit with SF0; it does fit with level 1.

An example of a feature in an INSPIRE encoded dataset carrying its identifier in three ways.
An example of a feature in an INSPIRE encoded dataset carrying its identifier in three ways.

The feature version is encoded as the versionId within the INSPIRE Identifier.

Available formats for the product

OS MasterMap Water Network Layer will be supplied in Geography Markup Language (GML) 3.2.1, GeoPackage and vector tiles formats.

Adherence to standards

OS MasterMap Water Network Layer is based on the INSPIRE Hydrography Data Specification, which itself is based on the ISO TC211 family of open standards.

Extending INSPIRE specification

OS MasterMap Water Network Layer extends the INSPIRE specification.

UML diagram and table conventions

The data structure is described below by means of unified modeling language (UML) class diagrams and accompanying tables containing text. The UML diagrams conform to the approach specified in ISO 19103 Conceptual schema language and ISO 19109 Rules for application schema, as adopted by INSPIRE.

Colour conventions have been used in the diagrams and tables to distinguish the INSPIRE specification from the additional properties that have been added in this specification. In the UML diagram, classes from the INSPIRE Data Specifications are coloured grey, whereas classes in the Ordnance Survey product specification are coloured orange. All code lists are coloured blue, enumerations are coloured green and data types are coloured purple, which can be seen in the figure below. The tables which follow in this Technical Specification use orange for a feature type, blue for a code list, green for enumerations and purple for data types.

An example UML diagram using the colour conventions specified in this Technical Specification. Grey indicates an INSPIRE Feature Type; orange indicates an OS MasterMap Water Network Layer feature type; blue indicates a code list and green indicates an enumeration.
A UML diagram using the colour conventions specified in this Technical Specification.

Index

This technical specification includes the following sections:

  • Product notes

  • Product structure

  • Feature types

  • Structured data types

  • Code lists and enumerations

  • Feature types for future release

  • GML overview

  • GeoPackage overview

  • Vector tiles overview

  • Data provenance

  • Additional resources

Product notes

The following documents outline observations made from product testing and observations which are of note to users of the product:

Product Notes January 2022

January 2022 product notes

The following page outlines observations made from product testing and observations which are of note to users of the product. Ordnance Survey is working towards fixing these errors for the next release.

Language qualifiers

The xml:lang attributes are not populated in the product. They are planned for population in a future product release where a feature has more than one name.

Name continuity

The names of watercourses in the product are not all continuous throughout their extent.

HydroNode categories

There are a number of errors with HydroNode features with the hydroNodeCategory value 'Source' and 'Outlet', where the flowDirection of the connected WatercourseLink is in the wrong direction or is unknown.

Geometry issues

There are a number of WatercourseLink features which self-intersect. The vast majority are at the mm level and were created by rounding processes. These will be fixed in a future release.

There are a small number of WatercourseLink features which are shorter in length than 1m. There are a small number of WatercourseLink features which form a closed loop.

There are a number of double digitised WatercourseLink features across the product.

Product structure

OS MasterMap Water Network Layer is a topological network representing the watercourses within Great Britain.

The product is made up of five feature types:

  • WatercourseLink: Features that represent the approximate central alignment of a watercourse, including rivers, lakes and canals. They can represent part of a watercourse or a whole watercourse.

  • HydroNode: Features that represent a river’s source, end, a junction where three or more links meet, and places where the real-world related attribution changes, for example, the point where a watercourse becomes tidal.

  • WatercourseSeparatedCrossing: Features to indicate the relationships between watercourses that intersect at different levels.

  • WatercourseLinkSet: Features to represent sets of links, for example, named rivers or watercourses within a catchment area.

  • WatercourseInteraction: Features that represent events along the water network, for example, weirs and mooring points.

Only two feature types are supplied in the current release of the product: WatercourseLink and HydroNode. This technical specification will cover all five of the feature types which make up the product as all five feature types are referenced in the product schema, which is the controlling specification for the product.

All the feature instances, of whichever feature type, are provided as a single FeatureCollection.

OS MasterMap Water Network Layer has been built with the INSPIRE Hydro – Network Specification as a basis, which results in the product inheriting attribution from INSPIRE. An overview of the product structure can be found in the image below, which highlights the inherited INSPIRE feature types and attribution.

Properties of the INSPIRE specification which are voidable and are not being populated in the product have not been included in the class diagrams below or in the following feature type pages. For information on the INSPIRE properties which are not included in this product, please see the INSPIRE Data Specification on Hydrography – Network application schema.

UML Diagram showing the data structure of OS MasterMap Water Network Layer in the current release. Grey indicates an INSPIRE Feature Type; orange indicates the two OS MasterMap Water Network Layer feature types; blue indicates the six code lists and green indicates the enumeration. The feature types, code lists and enumeration are detailed in full in the following sub-sections of this Technical Specification.
UML diagram showing the data structure of OS MasterMap Water Network Layer in the current release.
UML diagram of OS MasterMap Water Network Layer product structure referenced by the schema. Grey indicates an INSPIRE Feature Type; orange indicates the five OS MasterMap Water Network Layer feature types; blue indicates the seven code lists and green indicates the enumeration. The feature types, code lists and enumeration are detailed in full in the following sub-sections of this Technical Specification.
UML diagram of OS MasterMap Water Network Layer product structure referenced by the schema.

Feature types

This section describes the feature types which make up OS MasterMap Water Network Layer. The attributes associated with the feature types are listed on the following two pages. The following information is given for each attribute.

Feature type attribute information

Name and Definition

The name of the attribute and what it is describing.

Data type

The nature of the attribute, for example, a numeric value or a code list value.

Multiplicity

Describes how many times this element is expected to be populated in the data. An attribute may be optional or mandatory within the product. These are denoted by:

  • ‘1’ – there must be a value.

  • ‘0..1’ – population is optional but a maximum of one attribute will be returned. These values may be used in combination.

WatercourseLink

WatercourseLink features represent the alignments of watercourses and have, in the most part, been derived from Ordnance Survey detailed topographic data.

Where the classification or name changes along a watercourse, the network will be split and a HydroNode classified as 'Pseudo' will be created.

WatercourseLink attributes

A segment that represents part of a watercourse.

  • Subtype of: WatercourseLink

centrelineGeometry

The three-dimensional geometry that represents the general alignment of the watercourse.

  • Attribute name: centrelineGeometry

  • Type: GM_Curve

  • Multiplicity: [1]

ficticious

Indicator that the centreline geometry of the link is a straight line with no intermediate control points – unless the straight line represents the geography in the resolution of the data set appropriately.

  • Attribute name: ficticious

  • Type: Boolean

  • Multiplicity: [1]

startNode

The HydroNode coincident with the first vertex for this WatercourseLink.

  • Attribute name: startNode

  • Multiplicity: [1]

endNode

The HydroNode coincident with the last vertex for this WatercourseLink. On very rare occasions, the end HydroNode may be the same instance as the start HydroNode.

  • Attribute name: endNode

  • Multiplicity: [1]

inspireId

External object identifier of the spatial object.

Note 1: The localId contains the Ordnance Survey TOID.

Note 2: An external object identifier is a unique object identifier published by the responsible body, which may be used by external applications to reference the spatial object. The identifier is an identifier of the spatial object, not an identifier of the real-world phenomenon.

  • Attribute name: inspireId

  • Type: Identifier

  • Multiplicity: [0..1]

versionId «lifeCycleInfo» «voidable»

The identifier of the particular version of the spatial object, with a maximum length of 25 characters. If the specification of a spatial object type with an external object identifier includes life-cycle information, the version identifier is used to distinguish between the different versions of a spatial object. Within the set of all versions of a spatial object, the version identifier is unique.

  • Attribute name: versionId

  • Type: CharacterString

  • Multiplicity: [0..1]

beginLifespanVersion «lifeCycleInfo»

Date and time at which this version of the spatial object was inserted or changed in the spatial data set.

This is equivalent to ‘versionDate’ in other MasterMap products; at present, the time part is always set to zero.

  • Attribute name: beginLifespanVersion

  • Type: DateTime

  • Multiplicity: [1]

reasonForChange

The cause of the creation of the current version of the feature.

  • Attribute name: reasonForChange

  • Type: ReasonForChangeValue

  • Multiplicity: [1]

form «voidable»

The nature of the watercourse being represented by the feature.

  • Attribute name: form

  • Type: WatercourseFormValue

  • Multiplicity: [1]

level «voidable»

A description of the relationship of the watercourse to ground level.

  • Attribute name: level

  • Type: VerticalPositionValue

  • Multiplicity: [1]

provenance

The origin of the centrelineGeometry property.

  • Attribute name: provenance

  • Type: WatercourseProvenanceValue

  • Multiplicity: [1]

flowDirection «voidable»

Direction of water flow in the segment relative to digitisation of segment geometry.

  • Attribute name: flowDirection

  • Type: LinkDirectionValue

  • Multiplicity: [1]

primacy

Value indicating the relative importance of the WatercourseLink within any larger watercourse it is part of.

Primary flow is indicated as 1; secondary (and all other levels of) flow is indicated as 2. Further levels are not currently indicated. The primary flow was originally calculated using a combination of attributes.

  • Attribute name: primacy

  • Type: Integer

  • Multiplicity: [1]

watercourseNumber

The code assigned by a responsible body that is used to identify the watercourse. The responsible bodies are Environment Agency for England, the Scottish Environmental Protection Agency for Scotland, and Natural Resources Wales for Wales. Not currently populated.

  • Attribute name: watercourseNumber

  • Type: CharacterString

  • Multiplicity: [0..1]

watercourseName

The name of the watercourse that the WatercourseLink is part of.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code (‘eng’, ‘cym’, ‘gla’). See also January 2022 Product Notes.

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the Welsh or Gaelic version.

  • Attribute name: watercourseName

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

watercourseNameAlternative

An alternative name of the watercourse that the WatercourseLink is part of.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code (‘eng’, ‘cym’, ‘gla’). See also January 2022 Product Notes.

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the English version.

  • Attribute name: watercourseNameAlternative

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

localName

A name that applies to part of a watercourse that is a sub-section of a larger named watercourse that the WatercourseLink is part of.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code (‘eng’, ‘cym’, ‘gla’). See also January 2022 Product Notes.

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the Welsh or Gaelic version.

  • Attribute name: localName

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

localNameAlternative

An alternative name that applies to part of a watercourse that is a sub-section of a larger named watercourse that the WatercourseLink is part of.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code (‘eng’, ‘cym’, ‘gla’). See also January 2022 Product Notes.

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the English version.

  • Attribute name: localNameAlternative

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

catchmentName

The name of the catchment area where the WatercourseLink falls, assigned by a responsible body. The responsible bodies are Environment Agency for England, the Scottish Environmental Protection Agency for Scotland, and Natural Resources Wales for Wales.

  • Attribute name: catchmentName

  • Type: CharacterString

  • Multiplicity: [0..1]

catchmentID

The code of the catchment area where the WatercourseLink falls, assigned by a responsible body. The responsible bodies are Environment Agency for England, the Scottish Environmental Protection Agency for Scotland, and Natural Resources Wales for Wales.

  • Attribute name: catchmentID

  • Type: CharacterString

  • Multiplicity: [0..1]

permanence

A logical indicator that describes if the watercourse contains water year-round (in normal conditions) or only contains water intermittently. For example, a flood relief channel would have this set to ‘False’.

  • Attribute name: permanence

  • Type: Boolean

  • Multiplicity: [1]

managedNavigation

A logical indicator that describes whether the watercourse is managed for inland navigation by a member of The Association of Inland Navigation Authorities (AINA). All values are currently set to false, future releases of the product may include values set to true.

  • Attribute name: managedNavigation

  • Type: Boolean

  • Multiplicity: [1]

length

Calculated two-dimensional length of network segment in metres. Value supplied to one decimal place.

  • Attribute name: length

  • Type: Length

  • Multiplicity: [1]

gradient «voidable»

A calculated percentage value that indicates the rate of descent of the surface of the water. See Gradient for derivation. Where the gradient does not correlate with the flow, this value is not supplied and a “nilReason” of ‘unknown’ is given.

  • Attribute name: gradient

  • Type: Real

  • Multiplicity: [1]

width «voidable»

The average width of the watercourse along the WatercourseLink expressed in metres. This value is void for WatercourseLink features derived from Ordnance Survey large-scales single line features. These values will be given a “nilReason” of ‘unknown’.

  • Attribute name: width

  • Type: Distance

  • Multiplicity: [1]

levelOfDetail

A calculated value indicating the relative cartographic importance of a WatercourseLink to aid selection and depiction when styling the data. See LevelOfDetail for derivation.

  • Attribute name: levelOfDetail

  • Type: LevelOfDetailValue

  • Multiplicity: [0..1]

HydroNode

HydroNode features explicitly represent the starts, ends and junctions of watercourses, and places where certain attribution changes. They only exist at the end points of the WatercourseLink features. HydroNode positions are provided in 3D. The vertical coordinate has been sourced from Ordnance Survey terrain data.

HydroNode attributes

HydroNode

Definition: A feature at the end of one or more WatercourseLink features that indicates the confluence of two or more watercourses and / or a change in attribution of the connected WatercourseLink features.

  • Subtype of: HydroNode

reasonForChange

The cause of the creation of the current version of the feature.

  • Attribute name: reasonForChange

  • Type: ReasonForChangeValue

  • Multiplicity: [1]

geometry

The location of the HydroNode.

  • Attribute name: geometry

  • Type: GM_Point

  • Multiplicity: [1]

inspireId

External object identifier of the spatial object.

Note 1: The localId contains the Ordnance Survey TOID.

Note 2: An external object identifier is a unique object identifier published by the responsible body, which may be used by external applications to reference the spatial object. The identifier is an identifier of the spatial object, not an identifier of the real-world phenomenon.

  • Attribute name: inspireId

versionId «lifeCycleInfo»

The identifier of the particular version of the spatial object, with a maximum length of 25 characters. If the specification of a spatial object type with an external object identifier includes life-cycle information, the version identifier is used to distinguish between the different versions of a spatial object. Within the set of all versions of a spatial object, the version identifier is unique.

  • Attribute name: versionId

  • Type: CharacterString

  • Multiplicity: [0..1]

beginLifespanVersion «lifeCycleInfo»

Date and time at which this version of the spatial object was inserted or changed in the spatial data set.

This is equivalent to ‘versionDate’ in other OS MasterMap products.

  • Attribute name: beginLifespanVersion

  • Type: DateTime

  • Multiplicity: [1]

hydroNodeCategory «voidable»

Nature of the HydroNode.

  • Attribute name: hydroNodeCategory

  • Type: HydroNodeCategoryValue

  • Multiplicity: [1]

Structured data types

This section describes the structured data types which make up OS MasterMap Water Network Layer. The attributes associated with the data types are listed on the following two pages. The following information is given for each attribute.

Structured data type attribute information

Name and Definition

The name of the attribute and what it is describing.

Data type

The nature of the attribute, for example, a numeric value or a code list value.

Multiplicity

Describes how many times this element is expected to be populated in the data. An attribute may be optional or mandatory within the product. These are denoted by:

  • ‘1’ – there must be a value.

  • ‘0..1’ – population is optional but a maximum of one attribute will be returned. These values may be used in combination.

LinearReference

Schema for linear referencing.
Schema for linear referencing.

The linearReference data type will be used where required to record interaction over a length of a WatercourseLink. For example, linear interactions could be used to record where the water network passes under the bridge for a distance at A, over a weir at B or has an associated fish pass at an offset at C.

Screenshot of OS MasterMap Water Network Layer showing three examples of watercourse interactions, labelled A, B and C in red text. Point A marks where the water network passes under a bridge for a distance; Point B marks where the water network passes over a weir for a distance, and Point C marks where the water network has an associated fish ladder at an offset for a distance.
Examples of watercourseInteractions which could be modelled through linear referencing.

Where a linear interaction applies to two or more links, then each part of the interaction is recorded by means of more than one networkReference property.

LinearReference attributes

Reference to a part of a WatercourseLink along which a specific property applies.

  • Subtype of: SimpleLinearReference

fromPositionGeometry

Point geometry to explicitly locate the start location from which the property applies.

  • Attribute name: fromPositionGeometry

  • Type: GM_Point

  • Multiplicity: [1]

toPositionGeometry

Point geometry to explicitly locate the end location to which the property applies.

  • Attribute name: toPositionGeometry

  • Type: GM_Point

  • Multiplicity: [1]

PointReference

The pointReference data types will be used to record interactions at points on the WatercourseLink (interactions with a length of less than 2 m). For example, point interactions could be used to record the presence and position of features such as sluices.

An example of a watercourseInteraction which could be modelled through point referencing.

PointReference attributes

Reference to specific point on a WatercourseLink at which a specific property applies.

  • Subtype of: SimplePointReference

atPositionGeometry

Point geometry to explicitly locate where on the WatercourseLink the property applies.

  • Attribute name: atPositionGeometry

  • Type: GM_Point

  • Multiplicity: [1]

Code lists and enumerations

A code list or enumeration is a controlled set of values which can be used to populate a specific column.

The following pages contain the code lists / enumerations used by OS MasterMap Water Network Layer:

LinkDirectionValue

Code list: LinkDirectionValue

List of values for flow relative to a WatercourseLink coordinate order http://inspire.ec.europa.eu/codelist/LinkDirectionValue/

Code
Description

bothDirections

Water flows in both directions along the watercourse.

inDirection

Water flows in the same direction as the order of the coordinate vertices.

inOppositeDirection

Water flows in the opposite direction to the order of the coordinate vertices.

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.

WatercourseFormValue

codeList: WatercourseFormValue

Classification value defining the type of WatercourseLink.

Code
Description

Canal

A manmade watercourse originally created for inland navigation.

Drain

A manmade watercourse whose primary purpose is the removal of excess water from a localised area.

This attribute is not fully populated in this release of the data; however, it will be added to in future data updates.

Foreshore

A watercourse that flows without a well-defined channel over the foreshore (the area between the high and low water marks).

inlandRiver

A river or stream that is not influenced by normal tidal action.

Lake

A large area of non-tidal water without an obvious flow that is enclosed by land.

lockOrFlightOfLocks

An enclosure in a canal or navigable river with a movable gate and sluices at either end. Designed to allow vessels to move between sections of canal or navigable river at different levels by filling or draining the enclosure.

This attribute is not fully populated in this release of the data; however, it will be added to in future data updates. Where watercourses flow through Locks, they are included but may be attributed with a more general term.

Marsh

An area of ground that is predominantly waterlogged by freshwater throughout the year with no identifiable specific alignment for the flow. For the water network, they are captured only where water flows into and out of the marsh and connects to other watercourses.

Reservoir

An area of non-tidal water used for storing water that may be used for irrigation, water supply, power generation or flood control. The area has been created artificially either fully or in part.

This attribute is not fully populated in this release of the data; however, it will be added to in future data updates. Where watercourses flow through Reservoirs they are included but may be attributed with a more general term.

Sea

Tidal water where the influence of inland watercourses is negligible, for example, a wide estuary or the open sea. They are usually included to provide connections for watercourses running into estuaries.

tidalRiver

Watercourses that are subject to the effect of normal tidal action. These exist between the Normal Tidal Limit and Point B (an intangible line where the level of a river meets the level of the sea).

Transfer

A manmade watercourse whose primary purpose is to move water from one location to another (using gravity and / or pumping) typically for water supply or power generation.

Where the WatercourseForm has not been determined, this attribute is set to 'null' and the value of nilReason is set to ‘unknown’.

A correct value will exist, but the methods employed by Ordnance Survey to date have not facilitated capture.

WatercourseProvenanceValue

codeList: WatercourseProvenanceValue

The source and/or technique used to create the WatercourseLink feature.

Code
Description

OS-line-Urban

The WatercourseLink is based upon Topographic line features representing watercourses within Ordnance Survey basic scale data, where the line feature was originally captured to an accuracy of 0.5 m RMSE.

See Topographic line and area features for more information.

OS-line-Rural

The WatercourseLink is based upon Topographic line features representing watercourses within Ordnance Survey basic scale data, where the line feature was originally captured to an accuracy of 1.1 m RMSE.

See Topographic Line and Area features for more information.

OS-line-Moorland

The WatercourseLink is based upon Topographic line features representing watercourses within Ordnance Survey basic scale data, where the line feature was originally captured to an accuracy of 4.1 m RMSE.

See Topographic Line and Area features for more information.

OS-area-Urban

The WatercourseLink is based upon Topographic area features representing watercourses within Ordnance Survey basic scale data, where the area feature was originally captured to an accuracy of 0.5 m RMSE.

See Topographic Line and Area features for more information.

OS-area-Rural

The WatercourseLink is based upon Topographic area features representing watercourses within Ordnance Survey basic scale data, where the area feature was originally captured to an accuracy of 1.1 m RMSE.

See Topographic Line and Area features for more information.

OS-area-Moorland

The WatercourseLink is based upon Topographic area features representing watercourses within Ordnance Survey basic scale data, where the area feature was originally captured to an accuracy of 4.1 m RMSE.

See Topographic Line and Area features for more information.

Inferred

A WatercourseLink where the alignment has been added by deduction from existing Ordnance Survey Topographic features or terrain data to provide an indicative connection between other WatercourseLink features.

localAuthorityInferred

A WatercourseLink provided by a local authority that has not been measured or otherwise confirmed on the ground, but which has been added to provide an indicative connection between other WatercourseLink features.

localAuthoritySurveyed

A WatercourseLink provided by a local authority that has been measured or otherwise confirmed on the ground.

nationalAuthorityInferred

A WatercourseLink provided by an accepted national authority that has not been measured or otherwise confirmed on the ground, but which has been added to provide an indicative connection between other WatercourseLink features.

nationalAuthoritySurveyed

A WatercourseLink provided by an accepted national authority that has been measured or otherwise confirmed on the ground.

A feature may have been obtained from more than one source; where this is the case, the following priority order is used to assign the provenance value:

  1. OS-line or OS-area

  2. localAuthoritySurveyed or nationalAuthoritySurveyed

  3. localAuthorityInferred or nationalAuthorityInferred

  4. inferred

LevelOfDetailValue

Code List: LevelOfDetailValue

This attribute is currently set to a single value of ‘Local’, pending future developments in creating an attribute set in sympathy with OS Open Rivers data.

A calculated value indicating the relative cartographic importance of a WatercourseLink to aid selection and depiction when styling the data.

Value
Description

Local

A watercourse which is important mainly at a local level, recommended for representation only at scales of 1:20 000 and larger.

District

Not in this release of the product.

A watercourse which is important at a local and district level, recommended for representation only at scales of 1:50 000 and larger.

Regional

Not in this release of the product.

A watercourse which is important at a local, district and regional level, recommended for representation at scales of 1:250 000 and larger.

National

Not in this release of the product.

A watercourse which is important at a national level, recommended for representation at all scales.

ReasonForChangeValue

Code list:ReasonForChangeValue

Code
Description

New

This is a new feature in the database.

Modified

The feature has been edited by an operator, i.e. the geometry of a feature is changed following real-world change.

Software

Feature has been adjusted by an automatic software process. Includes geometric adjustment, cleaning and reversing direction of digitising.

Reclassified

The classifying attributes of a feature have changed

Restructured

New feature(s) have been created from parts of existing feature(s). Applied to features where a feature is split into two or more features, or when two or more features are joined together.

Attributes

Applied to features that have attributes other than the classifying ones changed.

Position

Correction of position of feature, not related to real-world change.

VerticalPositionValue

The relative vertical position of a feature.

Code
Description

onGroundSurface

The feature is on ground level.

suspendedOrElevated

The feature is suspended or elevated.

Underground

The feature is underground.

Where the VerticalPosition has not been determined, this attribute is empty, with a nilReason explicitly stated as ‘unknown’. A correct value does exist, but the methods employed by Ordnance Survey to date have not facilitated capture.

HydroNodeCategoryValue

Code list: HydroNodeCategoryValue

Classification value defining the type of hydrographic node.

Code
Description

flowConstriction

A split in the network captured to indicate a hydrographic point of interest or facility, or a man-made object that affects the network flow. This attribute is not manifested in this release of the data; however, it will be utilised in future data updates.

flowRegulation

A split in the network captured to indicate a man-made object that is used to regulate the network flow. This value is not currently supplied.

junction

A split in the network to indicate where three or more WatercourseLink features meet at the same level, for example, confluences or bifurcations.

Outlet

The end terminal of a set of one or more interconnected links that does not have any downstream flow, for example, where a watercourse sinks into the ground or the point where a river enters the sea.

Source

The start terminal of a set of one or more interconnected links that has downstream flow, for example, springs or collects.

Pseudo

A location where the real-world attribution of a watercourse changes that requires a WatercourseLink to be split.

boundary

HydroNode used to connect different networks.

Note: Can be used to connect cross border networks or adjacent networks together. Differs from source / outlet in that in the real world there is an adjacent link that is not present in the dataset supplied.

Where the hydroNodeCategory has not been determined, this attribute is set to null and the value of nilReason is set to ‘unknown’.

WatercourseTypeValue

codeList: WatercourseTypeValue

Classification value defining the type of Watercourse.

Code
Description

catchment

The area drained by a watercourse and its tributaries that enters the sea, a lake or a sink where no further flow is identified.

Supplied by the Environment Agency for England, the Scottish Environmental Protection Agency for Scotland, and Natural Resources Wales for Wales.

waterBody

A water body defined under the Water Framework Directive (WFD).

watercourse

A watercourse with an accepted proper name in common use.

Feature types for future release

The following three feature types are not currently populated in the current version of OS MasterMap Water Network Layer:

  • WatercourseSeparatedCrossing

  • WatercourseLinkSet

  • WatercourseInteraction

However, these three feature types are referenced in the product’s schema, which is the controlling specification for the product. The intention is to add these three feature types into future versions of the product.

WatercourseSeparatedCrossing

This feature type is not currently populated in this release of OS MasterMap Water Network Layer.

A feature used to indicate the relationship between watercourses that pass over one another without interaction. The WatercourseLink features are not broken at these locations, and the WaterCourseSeparatedCrossing feature is used to describe the vertical sequence of WatercourseLink features.

Screenshot of OS MasterMap Water Network Layer showing where a watercourseSeparatedCrossing feature would exist. A red arrow with the letter A points to the exact location of the feature.
An example of where a watercourseSeparatedCrossing feature would exist.

WatercourseSeparatedCrossing

A feature that indicates two or more watercourses which pass over one another at different physical levels.

  • Subtype of: WatercourseSeparatedCrossing

element

Sequence of crossing links. The order reflects their elevation; the first WatercourseLink is the lower WatercourseLink.

  • Association Role: element

  • Multiplicity: [2..*]

reasonForChange

Reason for the current version to be created

  • Attribute name: reasonForChange

  • Type: ReasonForChangeValue

  • Multiplicity: [1]

geometry

Point where two or more WatercourseLink features intersect.

  • Attribute name: geometry

  • Type: GM_Point

  • Multiplicity: [1]

WatercourseLinkSet

This feature type is not currently populated in this release of OS MasterMap Water Network Layer.

This spatial object type is included for future use to record sets of links that when combined create a recognisable identifiable watercourse, for example, a named river or a canal.

WatercourseLinkSet

A feature recording a set of watercourse links representing an identifiable watercourse.

  • Subtype of: LinkSet

reasonForChange

The cause of the creation of the current version of the feature.

  • Attribute name: reasonForChange

  • Type: ReasonForChangeValue

  • Multiplicity: [1]

watercourseNumber

Official code assigned to identify the watercourse. This is an official identification code assigned by a responsible authority, such as the Environment Agency (EA) or the Scottish Environmental Protection Agency (SEPA).

  • Attribute name: watercourseNumber

  • Type: CharacterString

  • Multiplicity: [0..1]

watercourseName

The name of the watercourse that the WatercourseLinkSet is representing.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code ('eng', 'cym', 'gla').

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the Welsh or Gaelic version.

  • Attribute name: watercourseName

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

watercourseNameAlternative

An alternative name of the watercourse that the WatercourseLinkSet is representing.

Note 1: Where a feature has more than one name, the language of each name is provided as a three-digit ISO 639-2 code ('eng', 'cym', 'gla').

Note 2: Where a watercourse has a name in more than one language, then this attribute will be the English version.

  • Attribute name: watercourseNameAlternative

  • Type: LocalisedCharacterString

  • Multiplicity: [0..1]

watercourseType

The type of watercourse that the WatercourseLinkSet represents.

  • Attribute name: watercourseType

  • Type: WatercourseTypeValue

  • Multiplicity: [1]

WatercourseInteraction

This feature type is not currently populated in this release of OS MasterMap Water Network Layer.

A feature that allows the supply of additional information related to the network in addition to the attribution and geometry of WatercourseLink features. For example, where a watercourse passes under a bridge or over a weir.

WatercourseInteraction

A feature that describes an event along a watercourse related to the water network that cannot be indicated by the attribution or geometry of the WatercourseLink or HydroNode feature(s).

  • Subtype of: NetworkProperty

reasonForChange

Reason for the current version to be created.

  • Attribute name: reasonForChange

  • Type: ReasonForChangeValue

  • Multiplicity: [1]

watercourseInteractionCategory

Not currently populated in OS MasterMap Water Network Layer.

  • Attribute name: watercourseInteractionCategory

  • Type: HydroNodeCategoryValue

  • Multiplicity: [1]

Interactions can be either PointReference (for interactions less than 2m in length) or LinearReference (for interactions more than 2m in length). These record the position along a specified WatercourseLink for a point interaction, or the start and end position along one or more links for a linear interaction.

Interactions can be recorded with an offset indicating which side of the WatercourseLink the interaction is and a distance.

GML overview

Simple Features – Level 1

The Geography Markup Language (GML) data conforms to GML Simple Features Profile Level 1. In this release of the product, the only thing that does not conform to level 0 is the inspireId.

The geometries that we use are OGC ‘simple’: points, and line strings with linear interpolation.

Schemas

XML schemas are used to define and validate the format and content of the GML. The GML 3.2.1 specification provides a set of schemas that define the GML feature constructs and geometric types. These are designed to be used as a basis for building application-specific schemas, which define the data content.

The Ordnance Survey application schema waterNetwork.xsd, which is referenced by the data, is available on our website. It imports the INSPIRE Hydrography networks application schema, which in turn imports the GML 3.2.1 schemas. These in turn import schemas produced by the W3C. The data contains elements and attributes from a range of namespaces:

The XML namespaces used by the application schema and their definitions:

Namespace Identifier
Short Form Prefix
Application Schema

http://namespaces.os.uk/mastermap/waterNetwork/1.0

water

OS MasterMap Water Network Layer

urn:x-inspire:specification:gmlas:HydroNetwork:3.0

hy-n

INSPIRE Hydrography networks

urn:x-inspire:specification:gmlas:Network:3.2

net

INSPIRE generic network

urn:x-inspire:specification:gmlas:BaseTypes:3.2

base

INSPIRE base types

http://www.opengis.net/gml/3.2

gml

OGC GML 3.2.1

http://www.w3.org/1999/xlink

xlink

W3C XML Linking

http://www.w3.org/2001/XMLSchema-instance

xsi

W3C XML Schema instance

GeoPackage overview

OS MasterMap Water Network Layer is supplied as a single GeoPackage for the whole of Great Britain. GeoPackage (*.gpkg) is an open, non-proprietary, platform-independent, standards-based data format for geographic information systems (GIS), as defined by the Open Geospatial Consortium (OGC). It is designed to be a lightweight format that can contain large amounts of varied and complex data in a single, easy-to-distribute and ready-to-use file. GeoPackage is natively supported by numerous software applications.

GeoPackage offers users the following benefits:

  • The single file is easy to transfer and offers the end-user a rich experience.

  • Attribute names are not limited in length, making the format user-friendly.

  • The file size limit is very large at 140TB (A file size limit might be imposed by the file system to which the file is written).

  • It supports raster, vector and database formats, making it a highly versatile solution.

  • It is an OGC standard.

  • In most cases, it is a plug-and-play format.

For information on how to open, use and understand a GeoPackage dataset, please refer to our ‘Getting Started with GeoPackage’ guide. Further detailed information on GeoPackage can be taken from the GeoPackage website.

Attribute naming differences between GML and GeoPackage formats

The naming of attributes between GeoPackage and the Geography Markup Language (GML) file is very similar as GeoPackage files are not limited in the number of characters for an attribute name. Therefore, the tables included here map the GML attribute name to the attribute name in the GeoPackage files.

The GML contains an attribute which describes the geometry of the feature; this is not applicable for a GeoPackage file as they are separated by their geometry.

Please note that the use of an asterisk symbol (*) in the following tables indicates that a particular attribute is not mapped to GML.

WatercourseLink

GML attribute
GeoPackage attribute

*

fid

gml_id

toid

identifier

identifier

centrelinegeometry

geometry

fictitious

fictitious

startNode

start_node

endNode

end_node

localId

local_id

versionId

version_id

beginLifespanVersion

begin_lifespan_version

reasonForChange

reason_for_change

form

form

level

level

provenance

provenance

flowDirection

flow_direction

primacy

primacy

watercourseNumber

watercourse_number

watercourseName

watercourse_name

watercourseNameLang

watercourse_name_lang

watercourseNameAlternative

watercourse_name_alternative

watercourseNameAlternativeLang

watercourse_name_alternative_lang

localName

local_name

localNameLang

local_name_lang

localNameAlternative

local_name_alternative

localNameAlternativeLang

local_name_alternative_lang

catchmentName

catchment_name

catchmentID

catchment_id

permanence

permanence

managedNavigation

managed_navigation

length

length

length_uom

length_uom

gradient

gradient

width

width

width_uom

width_uom

levelOfDetail

level_of_detail

HydroNode

GML attribute
GeoPackage attribute

*

fid

gml_id

toid

identifier

identifier

reasonForChange

reason_for_change

centrelinegeometry

geometry

localId

local_id

versionId

version_id

beginLifespanVersion

begin_lifespan_version

hydronodecategory

hydronode_category

WatercourseLink

GML attribute
GeoPackage attribute

fid

*

gml_id

toid

identifier

identifier

centrelinegeometry

geometry

fictitious

fictitious

startNode

start_node

endNode

end_node

localId

local_id

versionId

version_id

beginLifespanVersion

begin_lifespan_version

reasonForChange

reason_for_change

form

form

level

level

provenance

provenance

flowDirection

flow_direction

primacy

primacy

watercourseNumber

watercourse_number

watercourseName

watercourse_name

watercourseNameLang

watercourse_name_lang

watercourseNameAlternative

watercourse_name_alternative

watercourseNameAlternativeLang

watercourse_name_alternative_lang

localName

local_name

localNameLang

local_name_lang

localNameAlternative

local_name_alternative

localNameAlternativeLang

local_name_alternative_lang

catchmentName

catchment_name

catchmentID

catchment_id

permanence

permanence

managedNavigation

managed_navigation

length

length

length_uom

length_uom

gradient

gradient

width

width

width_uom

width_uom

levelOfDetail

level_of_detail

HydroNode

GML attribute
GeoPackage attribute

fid

*

gml_id

toid

identifier

identifier

reasonForChange

reason_for_change

centrelinegeometry

geometry

localId

local_id

versionId

version_id

beginLifespanVersion

begin_lifespan_version

hydronodecategory

hydronode_category

Vector tiles overview

OS MasterMap Water Network Layer is supplied as a national vector tiles set in a single MBTiles file. This is a lightweight set of tiles that are efficient and fast to render in your software, and which provide high- resolution data and give a seamless experience when zooming in and out. The data is supplied in Web Mercator projection (ESPG:3857).

Vector tiles schema

The vector tiles schema is detailed in the following table. In the zoom levels columns within the table, the letter N indicates that the specified layer and attribute are not mapped within that zoom level, whereas the letter Y indicates that the specified later and attribute are mapped within that zoom level.

Watercourse_link layer

Attribute
Zoom Level: 0 to 8
9
10
11
12
13
14
15

toid

N

Y

Y

Y

Y

Y

Y

Y

fictitious

N

Y

Y

Y

Y

Y

Y

Y

form

N

Y

Y

Y

Y

Y

Y

Y

level

N

Y

Y

Y

Y

Y

Y

Y

provenance

N

Y

Y

Y

Y

Y

Y

Y

flow_direction

N

Y

Y

Y

Y

Y

Y

Y

primacy

N

Y

Y

Y

Y

Y

Y

Y

watercourse_number

N

Y

Y

Y

Y

Y

Y

Y

watercourse_name

N

Y

Y

Y

Y

Y

Y

Y

watercourse_name_alternative

N

Y

Y

Y

Y

Y

Y

Y

local_name

N

Y

Y

Y

Y

Y

Y

Y

local_name_alternative

N

Y

Y

Y

Y

Y

Y

Y

catchment_name

N

Y

Y

Y

Y

Y

Y

Y

permanence

N

Y

Y

Y

Y

Y

Y

Y

managed_navigation

N

Y

Y

Y

Y

Y

Y

Y

length

N

Y

Y

Y

Y

Y

Y

Y

length_uom

N

Y

Y

Y

Y

Y

Y

Y

gradient

N

Y

Y

Y

Y

Y

Y

Y

width

N

Y

Y

Y

Y

Y

Y

Y

width_uom

N

Y

Y

Y

Y

Y

Y

Y

level_of_detail

N

Y

Y

Y

Y

Y

Y

Y

hydro_node layer

Attribute
Zoom Level: 0 to 8
9
10
11
12
13
14
15

toid

N

Y

Y

Y

Y

Y

Y

Y

hydonode_category

N

Y

Y

Y

Y

Y

Y

Y

Attribute naming differences

Attribute naming differences between GML and vector tiles formats

The naming of attributes between vector tiles and the Geography Markup Language (GML) file is very similar as the vector tiles set within the MBTiles file is not limited in the number of characters for an attribute name.

WatercourseLink

The following table maps the GML attribute name to the attribute name in the vector tiles for WatercourseLink:

GML Attribute
Vector Tiles Attribute

gml_id

toid

fictitious

fictitious

form

form

level

level

provenance

provenance

flowDirection

flow_direction

primacy

primacy

watercourseNumber

watercourse_number

watercourseName

watercourse_name

watercourseNameAlternative

watercourse_name_alternative

localNameLang

local_name

localNameAlternative

local_name_alternative

catchmentName

catchment_name

Permanence

permanence

managedNavigation

managed_navigation

length

length

length_uom

length_uom

gradient

gradient

width

width

width_uom

width_uom

levelOfDetail

level_of_detail

HydroNode

The following table maps the GML attribute name to the attribute name in the vector tiles for HydroNode:

GML Attribute
Vector Tiles Attribute

gml_id

toid

hydronodecategory

hydronode_category

HydroNode

GML attribute
Vector tiles attribute

gml_id

toid

hydronodecategory

hydronode_category

Data provenance

Data creation

Data was created from Ordnance Survey large-scale data with additional input from recognised bodies.

In OS MasterMap Topography Layer, watercourses with less than specified widths are captured as single line features for cartographic clarity purposes. These dimensions are 1m in urban areas, 2m in rural areas and 5m in mountain and moorland areas.

For watercourses captured as area features, algorithms were used to create a network, including generating topological connections if appropriate. Additional connecting geometry has been added to ensure topological connectivity where this can be deduced by inspection.

Watercourses represented by line features were used to generate network lines and these were extended both automatically and manually to indicate connectivity.

Manual improvement was undertaken where validation identified issues with flow and connectivity, and as a result of customer feedback.

Derived attributes

This section describes how attributes are derived from other information contained within Ordnance Survey large-scale data.

Width attribute

The width attribute is calculated to provide an average width of the Topographic Area feature(s) used to create the network links. There may be significant variation along the portion of the watercourse represented by a WatercourseLink with a single width attribute.

Topographic line and area features

The majority of links in the data were sourced from Ordnance Survey detailed topographic data. Different depictions within Ordnance Survey detailed topographic data are adopted for cartographic clarity purposes, and watercourses may be represented as lines or areas. Watercourses with less than specified widths are captured as single line features, while watercourses with greater than specified widths are captured as area features.

Parameters used by OS for topographic line and area features on watercourses:

Locality
Width
Topographic Representation
Width Attribute

Urban

<1.0m

line

null

Urban

+>1.0m

area

calculated

Rural

<2.0m

line

null

Rural

+>2.0m

area

calculated

Mountain and moorland

<5.0m

line

null

Mountain and moorland

+>5.0m

area

calculated

Advances in data capture techniques mean that the cartographic constraints on capture as area features are now less pronounced. As a result, some features below the minimum widths in the table above may have been captured as areas.

LevelOfDetail

This is a calculated value indicating the relative cartographic importance of a WatercourseLink to aid selection and depiction when styling the data. Currently, this has been populated with a single value pending the development of algorithms to create more usable attribution.

Primacy attribute

The Primacy attribute is derived by assessing a combination of the flow, width, gradient and length of the network WatercourseLink feature to identify the most likely course of the main flow of a watercourse at bifurcations.

Gradient attribute

Gradient is a calculated attribute that indicates the rate of descent of the surface of the water over the entire length of the WatercourseLink.

Gradient is expressed as a percentage or drop in metres per 100metres of WatercourseLink length.

Gradient = (Height on first vertex – Height on last vertex * 100) / Planar length of link

For more detailed analysis of the WatercourseLink, height is provided on each vertex that can allow a user to calculate gradients within sections of the WatercourseLink.

Heighting the network

The water network was heighted by interpolation from a bare earth terrain comprising mass points and breaklines. The highest resolution height information available was used in this process. This terrain was captured by Ordnance Survey recently and is the basis for new products that include a height component.

The data used to height the network is of a resolution and quality that in some cases results in height attribution that contradicts the flow attribution. This is typically in areas with little change in elevation. In these cases, the calculated gradient attribute will not be supplied.

Future developments will reduce occurrences by improving the terrain data to reflect the influence of watercourses on the terrain surface.

Additional resources

Further information about the product can be found on:

  • The OS MasterMap Water Network Layer product page on the OS website

  • The OS MasterMap Water Network Layer Overview

  • The OS MasterMap Water Network Layer Getting Started Guide

Loading the data in GeoPackage and vector tiles formats

The product's Getting Started Guide focuses solely on using the product in Geography Markup Language (GML) format. For guidance on using the product in GeoPackage or vector tiles formats, please see either the Getting Started with GeoPackage guide or the Getting Started with Vector Tiles guide.