Attribute mapping

The UML class diagram and accompanying feature type attribute tables on the data structure page are provided in GML format.

The naming of attributes between the formats varies due to the differing naming conventions associated with each format (for example, presence of underscores, character limitations and capitalisation). For example, Esri shapefile attribute names are limited to 10 characters, whereas GML has no character limit. The following tables map the attribute names for each feature type across the formats.

A couple of attributes are not mapped to all formats; the absence of an attribute field is represented by ‘N/A’ in the table. The fid attribute is only available in GeoPackage format (this is a procedurally generated, non-persistent number required for some GIS applications to be able to read the data). GML and GeoPackage contain the geometry attribute which describes the geometry of the feature; this attribute is not applicable for the Esri shapefile or vector tiles formats as they apply their geometry visually.

Greenspace Site

OS Open Greenspace attribute naming differences between GML, Esri Shapefile, GeoPackage and vector tiles for the Greenspace Site Feature Type.

GMLEsri shapefileGeoPackageVector tiles

N/A

N/A

fid

N/A

id

id

id

id

function

function

function

function

distinctiveName1

distinctiveName1

distinctive_name_1

distinctive_name_1

distinctiveName2

distinctiveName2

distinctive_name_2

distinctive_name_2

distinctiveName3

distinctiveName3

distinctive_name_3

distinctive_name_3

distinctiveName4

distinctiveName4

distinctive_name_4

distinctive_name_4

geometry

N/A

geometry

N/A

Access Point

OS Open Greenspace attribute naming differences between GML, Esri Shapefile, GeoPackage and vector tiles for the Access Point Feature Type.

GMLEsri shapefileGeoPackageVector tiles

N/A

N/A

fid

N/A

id

id

id

id

accessType

accessType

access_type

access_type

refToGreenspaceSite

refToGSite

ref_to_greenspace_site

N/A

geometry

N/A

geometry

N/A

Last updated