Feature
Authorizations
Path parameters
collectionIdstring · enumRequiredExample:
A known collection ID.
bld-fts-building-1
Possible values: featureIdstringRequiredExample:
A feature ID which is the identifier(id) for the feature.
11111111-1111-1111-1111-111111111111
Query parameters
crsstring · enumOptionalPossible values:
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).
Responses
200
A single feature in the feature collection.
application/geo+json
400
The feature request contains elements that are not supported. Please refer to documentation for examples.
404
The feature collection '{collectionId}' or feature with id:'{featureId}' could not be found. Please check it is a supported collection or feature.
405
The HTTP method requested is not supported. This endpoint only supports 'GET' requests.
406
A request header value was not supported.
504
The request has timed out. Please check the service availability dashboard: https://osdatahub.os.uk/serviceStatus .
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?