What data is available?

What feature types are available in OS NGD API – Features?

The following table documents the OS NGD datasets available through the OS NGD API – Features showing the themes, collections and lists the available feature types.

OS NGD themes and collections have been created to group similar geographic entities and data types, making it quicker and easier to identify the data you need. The OGC API - Features standard also references feature collections, and in the context of OS NGD datasets, this is equivalent to feature types.

The following naming convention has been applied to the feature collections: theme-collection-featuretype-version. Short codes have been used for both the theme and collection to keep the feature collection names manageable and not overly long. An example of the short codes used is below:

bld-fts-buildingline-1

Click on the theme to find out more information about the dataset.

ThemeCollectionFeature Type(s)

Building Features

Building, Building Line, Building Part

Named Features

Named Area, Named Point

Land Features

Land, Land Point, Landform, Landform Line, Landform Point

Land Use Features

Site, Site Access Location, Site Routing Point

Structure Features

Compound Structure, Structure, Structure Line, Structure Point

Transport Features

Cartographic Rail Detail, Rail, Road Line, Road Track or Path

Transport Network

Connecting Link, Connecting Node, Ferry Link, Ferry Node, Ferry Terminal, Path, Path Link, Path Node, Pavement Link, Railway Link, Railway Link Set, Railway Node, Road, Road Junction, Road Link, Road Node, Street

RAMI

Average and Indicative Speed, Highway Dedication, Maintenance Area, Maintenance Line, Maintenance Point, Reinstatement Area, Reinstatement Line, Reinstatement Point, Restriction, Routing Hazard, Routing Structure, Special Designation Area, Special Designation Line, Special Designation Point

Water Features

Inter Tidal Line, Tidal Boundary, Water, Water Point

Water Network

Water Link, Water Link Set, Water Node

Find out more about the hierarchy of OS NGD data here.

Collections

A collection in OS NGD API - Features references OS NGD Feature Type grouping. Feature types have their own data model and specifications which are not commonly shared with other feature types.

GET a list of all OS NGD Collections by using the below endpoint:

Get list of all OS NGD feature collections

Get a list of all the available OS NGD feature collections

GEThttps://api.os.uk/features/ngd/ofa/v1/collections
Response

All Ordnance Survey National Geographic Database feature collections.

Body
linksarray of Link (object)
crsarray of enum
collectionsarray of CollectionResponse (object)
Request
const response = await fetch('https://api.os.uk/features/ngd/ofa/v1/collections', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "links": [
    {
      "href": "text",
      "rel": "text",
      "type": "text",
      "title": "text"
    }
  ],
  "crs": [
    "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
  ],
  "collections": [
    {
      "id": "text",
      "title": "text",
      "description": "text",
      "crs": [
        "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
      ],
      "storageCrs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84",
      "itemType": "text",
      "extent": {
        "spatial": {
          "bbox": [
            [
              0
            ]
          ],
          "crs": "text"
        },
        "temporal": {
          "interval": [
            [
              "text"
            ]
          ],
          "trs": "text"
        }
      },
      "links": [
        {
          "href": "text",
          "rel": "text",
          "type": "text",
          "title": "text"
        }
      ]
    }
  ]
}

Last updated