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/gmlarrow-up-right

The XML specifications that GML is based on are available from the World Wide Web Consortium (W3C): http://www.w3.org.arrow-up-right

Information about Unicode and UTF-8, the character encoding we have chosen, is available on the Unicode Consortium website: http://www.unicode.org.arrow-up-right

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.arrow-up-right

  • 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.0arrow-up-right namespace, this is defined in the XSD at: http://www.os.uk/xml/schema/highwaysnetwork/2.0/linearhighwaynetwork.xsd.arrow-up-right

The Highways Water Transport Network schema document defines the http://namespaces.os.uk/mastermap/highwaysWaterTransportNetwork/1.0arrow-up-right namespace.

This is defined in the XSD at: https://www.os.uk/xml/schema/highwaysnetwork/1.0/HighwaysWaterTransportNetwork.xsd.arrow-up-right

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

This is defined in the XSD at: http://www.os.uk/xml/schema/highwaysnetwork/2.1/RoutingAndAssetManagement.xsdarrow-up-right

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

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

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

Prefix

Namespace identifier

Definition available at

Last updated

Was this helpful?