OS Open Roads is supplied as an Esri shapefile. The shapefile format is an open specification format to store geometry and attribute information about spatial features that is developed and maintained by Esri.
The naming of attributes in GML and Esri shapefile is different; in shapefile attribute names are limited to 11 characters. The tables in the following sections map GML attribute names to their equivalent names in shapefile.
GML contains an attribute that describes the geometry of the feature; this is not applicable for shapefile as they are separated by their geometry.
GML attribute | ESRI shapefile attribute |
---|---|
id
identifier
fictitious
fictitious
roadClassification
class
roadFunction
function
roadClassificationNumber
roadNumber
name1
name1
Specified in the GML tag for name1 as xml:lang
name1_lang
name2
name2
Specified in the GML tag for name2 as xml:lang
name2_lang
formOfWay
formOfWay
length
length
primaryRoute
primary
trunkRoad
trunkRoad
roadStructure
structure
loop
loop
startNode
startNode
endNode
endNode
numberTOID
numberTOID
nameTOID
nameTOID
GML attribute | ESRI shapefile attribute |
---|---|
id
identifier
formOfRoadNode
formOfNode
4.1.3 MotorwayJunction
GML attribute
ESRI shapefile attribute
id
identifier
junctionNumber
number