Class: QgsStacExtent¶
Class for storing a STAC SpatioTemporal extent.
QgsStacExtent contains one overall spatial extent and one
overall temporal extent It is possible to add further refined sub
extents to better describe clustered data.
All spatial extents are in WGS84 longitude/latitude and elevation in meters.
Added in version 3.40.
- class qgis.core.QgsStacExtent[source]¶
Bases:
object- __init__()
Default constructor for empty extent
- __init__(a0: QgsStacExtent)
- Parameters:
a0 (QgsStacExtent)
- addDetailedSpatialExtent(self, extent: QgsBox3D)[source]¶
Adds a more detailed spatial
extentaddDetailedSpatialExtent(self, extent:
QgsRectangle) Adds a more detailed spatialextent- Parameters:
extent (QgsBox3D)
- addDetailedTemporalExtent(self, extent: QgsDateTimeRange)[source]¶
Adds a more detailed temporal
extent- Parameters:
extent (QgsDateTimeRange)
- detailedTemporalExtents(self) List[QgsDateTimeRange]¶
Returns all detailed temporal sub extents defined
- Return type:
- hasDetailedSpatialExtents(self) bool[source]¶
Returns
Trueif there are detailed spatial sub extents defined- Return type:
bool
- hasDetailedTemporalExtents(self) bool[source]¶
Returns
Trueif there are detailed temporal sub extents defined- Return type:
bool
- setSpatialExtent(self, extent: QgsBox3D)[source]¶
Sets the overall spatial extent to
extentsetSpatialExtent(self, extent:
QgsRectangle) Sets the overall spatial extent toextent- Parameters:
extent (QgsBox3D)
- setTemporalExtent(self, extent: QgsDateTimeRange)[source]¶
Sets the overall temporal extent to
extent- Parameters:
extent (QgsDateTimeRange)
- temporalExtent(self) QgsDateTimeRange[source]¶
Returns the overall temporal extent
- Return type: