This section describes how OS MasterMap Highways Network is defined in GML. An understanding of XML (Extensible Mark-up Language) and XML schema is required.
GML is an XML grammar for expressing geographic features. GML serves as a modelling language for geographic systems as well as an open interchange format for geographic transactions on the Internet. More information can be found on the Open Geospatial Consortium (OGC). http://www.opengeospatial.org/standards/gml.
The XML specifications that GML is based on are available from the World Wide Web Consortium (W3C): http://www.w3.org.
Information about Unicode and UTF-8, the character encoding we have chosen, is available on the Unicode Consortium website: http://www.unicode.org.
XML schemas are used to define and validate the format and content of GML. The GML 3.2 specification 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 Road Network uses the following application schemas; LinearHighwayNetwork.xsd, HighwaysWaterTransportNetwork.xsd and OSProducts.xsd which are referenced by the data. The LinearHighwaysNetwork.xsd defines the features which make up the Road Network. Therefore, it imports the INSPIRE transport network road application schema. The HighwaysWaterTransportNetwork.xsd defines the features which make up the Ferry Network. Therefore, it imports the INSPIRE transport network water application schema. Through the INSPIRE schemas both the LinearHighwayNetwork.xsd and HighwaysWaterTransportNetwork.xsd import the GML 3.2 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. The OSProducts.xsd defines the feature collection and feature members. In addition, this application schema will define the transactions used for a Change Only Update supply.
The Linear Highway Network schema document defines the http://namespaces.os.uk/mastermap/highwayNetwork/2.0 namespace,
this is defined in the XSD at: http://www.os.uk/xml/schema/highwaysnetwork/2.0/linearhighwaynetwork.xsd
The Highways Water Transport Network schema document defines the http://namespaces.os.uk/mastermap/highwaysWaterTransportNetwork/1.0 namespace,
this is defined in the XSD at: http://www.os.uk/xml/schema/highwaysnetwork/1.0/linearhighwaynetwork.xsd.
The application schema uses the following XML namespaces and their associated definitions:
Prefix | Namespace identifier | Definition available at |
---|---|---|
gml
xsi
Built in to XML http://www.w3.org/TR/xmlschema-1/
xlink
net
tn
tn-ro
tn-w
os
network
highway
ram
hwtn
dedication