QgsAbstractMetadataBase::Link struct

Metadata link structure.

Constructors, destructors, conversion operators

Link(const QString& name = QString(), const QString& type = QString(), const QString& url = QString())
Constructor for Link.

Public variables

QString description
Abstract text about link.
QString format
Format specification of online resource.
QString mimeType
MIME type representative of the online resource response (image/png, application/json, etc.)
QString name
Short link name.
QString size
Estimated size (in bytes) of the online resource response.
QString type
Link type.
QString url
Link url.

Variable documentation

QString QgsAbstractMetadataBase::Link::format

Format specification of online resource.

It is strongly suggested to use GDAL/OGR format values.

QString QgsAbstractMetadataBase::Link::name

Short link name.

E.g. WMS layer name.

QString QgsAbstractMetadataBase::Link::type

Link type.

It is strongly suggested to use values from the 'identifier' column in https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTable.csv

QString QgsAbstractMetadataBase::Link::url

Link url.

If the URL is an OWS server, specify the base URL only without parameters like service=xxx....