Metadata
The XML metadata for the terrain products follows the GEMINI metadata standard, which Ordnance Survey has committed to for the UK Location Programme and INSPIRE.
OS Terrain 5 will also have metadata in this form, on a per-tile basis.
The XML metadata contains comments to clarify the meaning of the XML tags used in the file.
Product identification table
Name | Description | Examples |
---|---|---|
Product name | OS Terrain 5 | gmd:MD_DataIdentification/gmd:citation/gmd:CI_C itation/gmd:collectiveTitle/gco:CharacterString |
Spatial representation | The structure of the data, either grid (DTM) or vector (contours). | gmd:MD_DataIdentification/gmd:spatialRepresent ationType/gmd:MD_SpatialRepresentationType Code |
Tile reference | 5km National Grid tile reference. | gmd:MD_DataIdentification/gmd:citation/gmd:CI_ Citation/gmd:title/gco:CharacterString |
Topic category | INSPIRE theme: elevation. | gmd:MD_DataIdentification/gmd:topicCategory/gm d:MD_TopicCategoryCode |
Coordinate reference systems | The projected coordinate reference system – British National Grid – and the vertical reference system – | gmd:MD_ReferenceSystem/gmd:referenceSystemIden tifier/gmd:RS_Identifier/gmd:code/gmx:Anchor xlink:href="urn:ogc:def:crs:EPSG::27700"/British National Grid gmd:MD_ReferenceSystem/gmd:referenceSystemIden tifier/gmd:RS_Identifier/gmd:code/gmx:Anchor xlink:href="urn:ogc:def:crs:EPSG::5701"/Ordnance Datum Newlyn |
Change history table
Name | Description | Examples |
---|---|---|
Flying date(s) | The date that the area was flown by Ordnance Survey for revision. To accommodate multiple flying dates within the tile, two values will be recorded: earliest flying date then latest flying date present. Both dates can be identical. For Profile content the Date Flown will be recorded as <null>. | gmd:MD_DataIdentification/gmd:extent/gmd:EX_Ex tent/gmd:temporalElement/gmd:EX_TemporalExtent /gmd:extent/gml:TimePeriod /gml:beginPosition /gml:endPosition |
Processing date | The date the tile was created by Ordnance Survey, not the date of the real-world change or survey. | gmd:MD_DataIdentification/gmd:citation/gmd:CI_C itation/gmd:date/gmd:CI_Date/gmd:date/gco:Date |
Version number | An incrementing number to indicate the number of times the tile has been published. | gmd:MD_DataIdentification/gmd:citation/gmd:CI_ Citation/gmd:edition/gco:CharacterString |
Reason for change | This provides information about the update of the data and whether it is creation (new) or a revision (modified / verified) which is described in the metadata by using lineage below. | gmd:MD_DataIdentification/gmd:citation/gmd:CI_ Citation/gmd:date/gmd:CI_Date/gmd:dateType/ gmd:CI_DateTypeCode |
Lineage | Text to describe the status of the tile, either: ‘created from new imagery’, ‘some parts revised from new imagery’, ‘new imagery examined and no change’. | gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/ gmd:statement/gco:CharacterString |
Metadata viewing stylesheet
To make the XML easier to read, an XSLT viewing style sheet is provided (OSTerrainMetadataViewingStylesheet.xsl), which converts the XML to HTML for ease of viewing in a web browser. Some browsers and other software will read this automatically if the user is connected to the Internet, as its address is referenced in the metadata but it can also be located on the Ordnance Survey website: http://www.ordnancesurvey.co.uk/xml/stylesheet/OSTerrainMetadataViewingStylesheet.xsl.
Metadata XML file example
This is a section of the XML file in its native format with the location of the style sheet highlighted. It can be read like this when opened in an XML viewer or basic file reader.
Example of the metadata XML file referencing the XSLT viewing stylesheet
This is the same section of the metadata file above when viewed directly by clicking on the file, utilising the style sheet.
OS Terrain Tile Metadata Product identification:
Product name: OS Terrain 5
Spatial representation: Grid
Tile reference: NT23NE
Topic category: Elevation Coordinate reference systems: British National Grid
Esri grid styling – asc.aux.xml file
This XML file contains min, max, mean, and standard deviation height values for the product, in a format defined by Esri. The same values are supplied for every tile. These height statistics are provided to allow the user to apply colour ramps, such that adjacent tiles are styled consistently.
This feature can be disabled by moving the asc.aux.xml file from each downloaded zip file, or by adjusting the parameters of the minimum and maximum heights in a GIS if desired.
Last updated