Class: QgsStacCatalog¶
Class for storing a STAC Catalog’s data.
Added in version 3.44.
Class Hierarchy¶
Base classes¶
Abstract base class for storing STAC objects. |
Subclasses¶
Class for storing a STAC Collection’s data. |
Methods
Adds conformanceClass to the list of catalog's conformance classes |
|
Checks if the catalog is a STAC API conforming to the specified conformanceClass |
|
Returns a Detailed multi-line description to fully explain the Catalog. |
|
Sets the list of conformanceClasses this catalog conforms to. |
|
Sets a detailed multi-line description to fully explain the Catalog. |
|
Sets a short descriptive one-line title for the Catalog. |
|
Returns a short descriptive one-line title for the Catalog. |
- class qgis.core.QgsStacCatalog[source]¶
Bases:
QgsStacObject
- __init__(id: str | None, version: str | None, description: str | None, links: Iterable[QgsStacLink])
Constructs a valid QgsStacCatalog
- Parameters:
id (Optional[str]) – A unique identifier for the catalog
version (Optional[str]) – The STAC version the Catalog implements.
description (Optional[str]) – Detailed multi-line description to fully explain the Catalog. CommonMark 0.29 syntax may be used for rich text representation.
links (Iterable[QgsStacLink]) – A list of references to other documents.
- __init__(a0: QgsStacCatalog)
- Parameters:
a0 (QgsStacCatalog)
- addConformanceClass(self, conformanceClass: str | None)[source]¶
Adds
conformanceClass
to the list of catalog’s conformance classes- Parameters:
conformanceClass (Optional[str])
- conformsTo(self, conformanceClass: str | None) bool [source]¶
Checks if the catalog is a STAC API conforming to the specified
conformanceClass
- Parameters:
conformanceClass (Optional[str])
- Return type:
bool
- description(self) str [source]¶
Returns a Detailed multi-line description to fully explain the Catalog. CommonMark 0.29 syntax may be used for rich text representation.
- Return type:
str
- setConformanceClasses(self, conformanceClasses: Iterable[str | None])[source]¶
Sets the list of
conformanceClasses
this catalog conforms to.- Parameters:
conformanceClasses (Iterable[Optional[str]])
- setDescription(self, description: str | None)[source]¶
Sets a detailed multi-line
description
to fully explain the Catalog. CommonMark 0.29 syntax may be used for rich text representation.- Parameters:
description (Optional[str])