42 QString
title()
const;
57 QStringList
roles()
const;
86 QString
toHtml(
const QString &assetId )
const;
bool isCloudOptimized() const
Returns whether the asset is in a cloud optimized format like COG or COPC.
QString formatName() const
Returns the format name for cloud optimized formats.
QStringList roles() const
Returns the roles assigned to the asset.
QString toHtml(const QString &assetId) const
Returns an HTML representation of the STAC Asset including its ID within its container.
bool isDownloadable() const
Returns whether the asset can be downloaded.
QString mediaType() const
Returns the media type of the asset.
QString href() const
Returns the URI to the asset object.
QgsMimeDataUtils::Uri uri(const QString &authcfg=QString()) const
Returns a uri for the asset if it is a cloud optimized file like COG or COPC.
QgsStacAsset(const QString &href, const QString &title, const QString &description, const QString &mediaType, const QStringList &roles)
Constructor.
QString title() const
Returns the displayed title for clients and users.
QString description() const
Returns a description of the Asset providing additional details, such as how it was processed or crea...