describeFeatureType

GET https://api.os.uk/features/v1/wfs?service=wfs&version=2.0.0&request=DescribeFeatureType&typeName={typeName}&key=

Returns a description of the attributes for each feature type supported by the WFS service.

Required parameters

Name
Value

key

The API Key provided by the OS Data Hub

request

DescribeFeatureType

service

WFS

version

2.0.0 , 1.1.0, 1.0.0

typeName

Any of the feature type names listed in the What data is available? section

Example Response

<xsd:schema xmlns:osfeatures="http://www.ordnancesurvey.co.uk/osfeatures/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" targetNamespace="http://www.ordnancesurvey.co.uk/osfeatures/1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    <xsd:element name="OpenUPRN_Address" type="osfeatures:OpenUPRN_AddressFeatureType" substitutionGroup="gml:AbstractFeature"/>
    <xsd:complexType name="OpenUPRN_AddressFeatureType">
        <xsd:complexContent>
            <xsd:extension base="gml:AbstractFeatureType">
                <xsd:sequence>
                    <xsd:element minOccurs="0" maxOccurs="1" name="OBJECTID" type="xsd:int"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="SHAPE" nillable="true" type="gml:PointPropertyType"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="UPRN" nillable="true" type="xsd:double"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="XCoordinate" nillable="true" type="xsd:double"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="YCoordinate" nillable="true" type="xsd:double"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Latitude" nillable="true" type="xsd:double"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Longitude" nillable="true" type="xsd:double"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:schema>

Last updated

Was this helpful?