GML Overview

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.

Schema overview and location

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 Path Network uses the following application schemas; LinearHighwayNetwork.xsd, HighwaysWaterTransportNetwork.xsd, RoutingAndAssetManagement.xsd and OSProducts.xsd which are referenced by the data.

  • The LinearHighwaysNetwork.xsd defines the features which make up the Path 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.

  • The RoutingAndAssetManagement.xsd defines the asset management features of the Path Network. Through the INSPIRE schemas both the LinearHighwayNetwork.xsd HighwaysWaterTransportNetwork.xsd and the RoutingAndAssetManagement.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: https://www.os.uk/xml/schema/highwaysnetwork/1.0/HighwaysWaterTransportNetwork.xsd.

The RAMI schema document defines the http://namespaces.os.uk/mastermap/routingAndAssetManagement/2.1 namespace.

This is defined in the XSD at: http://www.os.uk/xml/schema/highwaysnetwork/2.1/RoutingAndAssetManagement.xsd

The Highways Dedication schema document defines the http://namespaces.os.uk/mastermap/highwayDedication/1.0 namespace.

This is defined in the XSD at: https://www.ordnancesurvey.co.uk/xml/schema/highwaysnetwork/1.0/HighwayDedication.xsd

The application schema uses the following XML namespaces, for which definitions are available here:

Last updated