Media Types

Contents

Media types (also known as MIME types) indicate the format of a given file or resource artefact, such as application/pdf for a PDF, or image/png for a PNG image.

Media types for common formats are standardised via the IANA media types registry.

Media types are shown:

  • in metadata record distribution options, describing the formats a resource can be downloaded as
  • in data access systems, when resource artefacts (files) are downloaded

Note

Typically, these media types will match, however Metadata records MAY use a local media type where additional context can be usefully provided.

Local media types

A set of local media types are registered for use within BAS to provide additional context, or where no suitable IANA media type is available. Wherever possible, local types are based on a broader or closest matching IANA registered type.

Note

For example the application/pdf+geo local media type is based on the IANA application/pdf type.

Warning

These local types are intended for use within metadata records included in the BAS Data Catalogue. They may be used by others for other purposes if useful, but may be changed or removed at any time.

Type Name Status
application/pdf+geo Geo-referenced PDF document Deprecated
application/geo+pdf Geo-referenced PDF document Live
image/geo+tiff Geo-referenced TIFF image Live
application/fpl+xml Garmin Flight Plan Live
application/gpx+xml GPS Exchange Format Live
application/geopackage+sqlite3+zip Zipped GeoPackage Live
application/vnd.shp+zip Zipped Shapefile Live

Note

The application/pdf+geo registration was renamed as application/geo+pdf for consistency with other media types. It SHOULD be replaced in any existing records and SHOULD NOT be used in new records.

Local media types (services)

A set of additional Local Media Types are defined to represent services within distribution options.

Warning

This approach is a known bad practice but cannot be fixed until services (and service bindings) can be used within the BAS metadata ecosystem.

Type Name Status
x-service/arcgis+service+feature Esri ArcGIS Feature Service Live
x-service/ogc+api+feature OGC API Features Service Live
x-service/arcgis+service+tile+vector Esri ArcGIS Vector Tile Service Live
x-service/arcgis+service+tile+raster Esri ArcGIS Raster Tile Service Live
x-service/arcgis+layer+feature Esri ArcGIS Hosted Feature Layer Live
x-service/arcgis+layer+feature+ogc Esri ArcGIS Hosted OGC Feature Layer Live
x-service/arcgis+layer+tile+vector Esri ArcGIS Hosted Vector Tile Layer Live
x-service/arcgis+layer+tile+raster Esri ArcGIS Hosted Raster Tile Layer Live