Class: QgsStacObject¶
Abstract base class for storing STAC objects.
Added in version 3.44.
Note
This is an abstract class, with methods which must be implemented by a subclass.
Class Hierarchy¶
Subclasses¶
Class for storing a STAC Catalog’s data. |
|
Class for storing a STAC Item’s data. |
Abstract Methods
Returns an HTML representation of the STAC object |
|
Returns the Type of the STAC object |
Methods
Id of the STAC object |
|
Returns the STAC links included in the object |
|
Return the url stored in the object's "parent" link |
|
Return the url stored in the object's "root" link |
|
Sets the id for the STAC object |
|
Sets the STAC links included in the object |
|
Sets the list of stacExtensions the object implements |
|
Sets the STAC version the object implements |
|
Returns the list of extensions the STAC object implements |
|
Returns the STAC version the object implements |
|
Return the url stored in the object's "self" link |
- class qgis.core.QgsStacObject[source]¶
Bases:
object
- __init__(id: str | None, version: str | None, links: Iterable[QgsStacLink])
Constructor for valid objects
- Parameters:
id (Optional[str])
version (Optional[str])
links (Iterable[QgsStacLink])
- __init__(a0: QgsStacObject)
- Parameters:
a0 (QgsStacObject)
- links(self) List[QgsStacLink] ¶
Returns the STAC links included in the object
- Return type:
List[QgsStacLink]
- setLinks(self, links: Iterable[QgsStacLink])[source]¶
Sets the STAC links included in the object
- Parameters:
links (Iterable[QgsStacLink])
- setStacExtensions(self, stacExtensions: Iterable[str | None])[source]¶
Sets the list of
stacExtensions
the object implements- Parameters:
stacExtensions (Iterable[Optional[str]])
- setStacVersion(self, stacVersion: str | None)[source]¶
Sets the STAC version the object implements
- Parameters:
stacVersion (Optional[str])
- stacExtensions(self) List[str] [source]¶
Returns the list of extensions the STAC object implements
- Return type:
List[str]
- abstract toHtml(self) str [source]¶
Returns an HTML representation of the STAC object
- Return type:
str
- abstract type(self) Qgis.StacObjectType [source]¶
Returns the
Type
of the STAC object- Return type: