GML overview
The RoadLink feature is attributed with a roadStructure with a data type of RoadStructureValue. The following table lists the codes which are used to populate this field and gives a description for each code.
This section describes the GML format for OS Open Roads. We recommended you read this in conjunction with the Open Geospatial Consortium’s (OGC), OpenGIS® Geography Markup Language Encoding Standard v3.2.1.
The XML specifications that GML is based on are available from the World Wide Web Consortium (W3C) website: https://www.w3.org/XML/.
Information about Unicode and UTF-8, the character encoding that we use, is available on the Unicode Consortium website: http://www.unicode.org/.
Schema overview and location
XML schemas are used to define and validate the format and content of the GML data. The GML v3.2.1 standard provides a set of schemas that define the GML feature constructs and geometric types. These are designed to be used as a basis for building application-specific schemas which define the data content.
The Ordnance Survey application schema, OSOpenRoads.xsd, which is referenced by the data, is available on the OS Open page of the XML file resources section of our website.
The OS schema imports the INSPIRE Transport Networks Data Specification, which in turn imports the GML 3.2.1 schemas. These in turn import schemas produced by the W3C, which are available from the W3C website at: http://www.w3.org/XML/1998/namespace.html.
All of these schemas are defined in XML Schema Definition (XSD) language, as defined by the W3C.
The OS application schema uses the XML namespaces detailed in the table below. A link to each definition is provided in the last column.
net
urn:x- inspire:specification:gmlas:Network:3.2
tn
tn-ro
urn:x- inspire:specificationn:gmlas:RoadTransport Network:3.0
os
highway
http://namespaces.os.uk/mastermap/highwa yNetwork/1.0
Simple Features Profile – Level 1
OS Open Roads conforms to the GML 3.2.1 Simple Features Profile – Level 1.
GML is designed to support a wide variety of capabilities, ranging from simple contextual mapping to products that include complex geometric property types, and even spatial and temporal topology. The GML
Simple Features Profile defines a restricted subset of GML, which allows for greater interoperability.
Last updated