# Trams in the Rail Network

## Background

Within the OS NGD Transport Theme, in the OS Transport Network Collection, the Railway Link Feature Type represents geometry of Great Britain’s Rail Network.

This feature type provides a routable network when used in conjunction with the Railway Node Feature Type. The rail network includes tram tracks as well as train tracks. Trams can be identified by the description attribute, which describes the nature of the railway the feature is representing (for example, description = Tram).

## Technical detail

The Railway Link Feature Type provides a generalised geometry for the rail network of Great Britain. The generalisation of the rail network ensures full connectivity between relevant rail nodes. Rail track generalisation can be typically 3 or 4 sets of rail tracks represented as one link (for example, multiple siding tracks); however, this may not always be the case (for example, tracks that pass either side of a station platform are normally included to ensure connectivity at a station).&#x20;

## Examples of uses this data does support

* Routing along the rail network, including trams.
* Visualising track centreline geometry. Railways Links provide the generalised geometry of rail and tram tracks.

<figure><img src="/files/IMcDPyZbaccyXTng36If" alt="Example map comparing Tram On Road and Railway Link Feature Types. A background map has been included to provide context." width="563"><figcaption><p>Example map comparing Tram On Road and Railway Link Feature Types. A background map has been included to provide context.</p></figcaption></figure>

## Examples of uses this data doesn't support

* Identifying which Road Links have a tram track on them.


---

# Agent Instructions: Querying This Documentation

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

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

```
GET https://docs.os.uk/osngd/using-os-ngd-data/os-ngd-transport/trams/trams-in-the-rail-network.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

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