Feature

Retrieve a feature from the feature collection

get
Authorizations
Path parameters
collectionIdstring · enumRequired

A known collection ID.

Example: bld-fts-building-1Possible values:
featureIdstringRequired

A feature ID which is the identifier(id) for the feature.

Example: 11111111-1111-1111-1111-111111111111
Query parameters
crsstring · enumOptional

The coordinate reference system of the response geometries. It must be a coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).

Possible values:
Responses
200
A single feature in the feature collection.
application/geo+json
get
GET /features/ngd/ofa/v1/collections/{collectionId}/items/{featureId} HTTP/1.1
Host: api.os.uk
Accept: */*
{
  "id": "text",
  "type": "text",
  "geometry": {
    "type": "text",
    "coordinates": [
      {
        "x": 1,
        "y": 1
      }
    ]
  },
  "properties": {
    "ANY_ADDITIONAL_PROPERTY": {}
  }
}

Last updated

Was this helpful?