55 QString
toHtml()
const override;
76 QMap< QString, QgsStacAsset >
assets()
const;
118 QString
title()
const;
136 QVariantMap mProperties;
137 QMap< QString, QgsStacAsset > mAssets;
StacObjectType
Available types of stac objects.
A 3-dimensional box composed of x, y, z coordinates.
A geometry is the spatial representation of a feature.
QList< QgsMimeDataUtils::Uri > UriList
QMap< QString, QgsStacAsset > assets() const
Returns a dictionary of asset objects, each with a unique key.
QString title() const
Returns an optional human readable title describing the Item.
QgsBox3D boundingBox() const
Returns the STAC item's spatial extent in WGS84 coordinates.
QgsMimeDataUtils::UriList uris() const
Returns a list of uris of all assets that have a cloud optimized format like COG or COPC.
QString description() const
Returns a Detailed multi-line description to fully explain the Item.
bool hasDateTimeRange() const
Returns true if a temporal interval is available for this item, false if a single QDateTime is availa...
QgsDateTimeRange dateTimeRange() const
Returns the temporal interval stored in the item's properties().
void setAssets(const QMap< QString, QgsStacAsset > &assets)
Sets the asset objects, each with a unique key.
void setProperties(const QVariantMap &properties)
Sets the item's additional metadata to properties.
QString collection() const
Returns the id of the STAC Collection this Item references to.
QDateTime dateTime() const
Returns the single nominal date/time for the item, stored in the item's properties().
QVariantMap properties() const
Returns a dictionary of additional metadata for the Item.
QgsGeometry geometry() const
Returns the full footprint of the asset represented by this item, in WGS84.
QgsStacItem()=delete
Default constructor deleted, use the variant with required parameters.
void setBoundingBox(const QgsBox3D &bbox)
Sets the STAC item's spatial extent in WGS84 coordinates to bbox.
void setCollection(const QString &collection)
Sets the id of the STAC Collection this Item references to.
void setGeometry(const QgsGeometry &geometry)
Sets the full footprint of the asset represented by this item, in WGS84.
virtual QString toHtml() const =0
Returns an HTML representation of the STAC object.
QgsStacObject()=delete
Default constructor is used for creating invalid objects.
virtual Qgis::StacObjectType type() const =0
Returns the Type of the STAC object.
QVector< QgsStacLink > links() const
Returns the STAC links included in the object.
QgsTemporalRange< QDateTime > QgsDateTimeRange
QgsRange which stores a range of date times.