QGIS API Documentation 4.3.0-Master (389d690bb77)
Loading...
Searching...
No Matches
QgsStacExtent Class Reference

Stores a STAC SpatioTemporal extent. More...

#include <qgsstacextent.h>

Public Member Functions

 QgsStacExtent ()=default
 Default constructor for empty extent.
void addDetailedSpatialExtent (QgsBox3D extent)
 Adds a more detailed spatial extent.
void addDetailedSpatialExtent (QgsRectangle extent)
 Adds a more detailed spatial extent.
void addDetailedTemporalExtent (QgsDateTimeRange extent)
 Adds a more detailed temporal extent.
QVector< QgsBox3DdetailedSpatialExtents () const
 Returns all detailed spatial sub extents defined.
QVector< QgsDateTimeRangedetailedTemporalExtents () const
 Returns all detailed temporal sub extents defined.
bool hasDetailedSpatialExtents () const
 Returns true if there are detailed spatial sub extents defined.
bool hasDetailedTemporalExtents () const
 Returns true if there are detailed temporal sub extents defined.
void setSpatialExtent (QgsBox3D extent)
 Sets the overall spatial extent to extent.
void setSpatialExtent (QgsRectangle extent)
 Sets the overall spatial extent to extent.
void setTemporalExtent (QgsDateTimeRange extent)
 Sets the overall temporal extent to extent.
QgsBox3D spatialExtent () const
 Returns the overall spatial extent.
QgsDateTimeRange temporalExtent () const
 Returns the overall temporal extent.

Detailed Description

Stores 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.

Since
QGIS 3.40

Definition at line 35 of file qgsstacextent.h.

Constructor & Destructor Documentation

◆ QgsStacExtent()

QgsStacExtent::QgsStacExtent ( )
default

Default constructor for empty extent.

Member Function Documentation

◆ addDetailedSpatialExtent() [1/2]

void QgsStacExtent::addDetailedSpatialExtent ( QgsBox3D extent)

Adds a more detailed spatial extent.

Definition at line 28 of file qgsstacextent.cpp.

◆ addDetailedSpatialExtent() [2/2]

void QgsStacExtent::addDetailedSpatialExtent ( QgsRectangle extent)

Adds a more detailed spatial extent.

Definition at line 33 of file qgsstacextent.cpp.

◆ addDetailedTemporalExtent()

void QgsStacExtent::addDetailedTemporalExtent ( QgsDateTimeRange extent)

Adds a more detailed temporal extent.

Definition at line 48 of file qgsstacextent.cpp.

◆ detailedSpatialExtents()

QVector< QgsBox3D > QgsStacExtent::detailedSpatialExtents ( ) const

Returns all detailed spatial sub extents defined.

Definition at line 58 of file qgsstacextent.cpp.

◆ detailedTemporalExtents()

QVector< QgsDateTimeRange > QgsStacExtent::detailedTemporalExtents ( ) const

Returns all detailed temporal sub extents defined.

Definition at line 63 of file qgsstacextent.cpp.

◆ hasDetailedSpatialExtents()

bool QgsStacExtent::hasDetailedSpatialExtents ( ) const

Returns true if there are detailed spatial sub extents defined.

Definition at line 68 of file qgsstacextent.cpp.

◆ hasDetailedTemporalExtents()

bool QgsStacExtent::hasDetailedTemporalExtents ( ) const

Returns true if there are detailed temporal sub extents defined.

Definition at line 73 of file qgsstacextent.cpp.

◆ setSpatialExtent() [1/2]

void QgsStacExtent::setSpatialExtent ( QgsBox3D extent)

Sets the overall spatial extent to extent.

Definition at line 18 of file qgsstacextent.cpp.

◆ setSpatialExtent() [2/2]

void QgsStacExtent::setSpatialExtent ( QgsRectangle extent)

Sets the overall spatial extent to extent.

Definition at line 23 of file qgsstacextent.cpp.

◆ setTemporalExtent()

void QgsStacExtent::setTemporalExtent ( QgsDateTimeRange extent)

Sets the overall temporal extent to extent.

Definition at line 43 of file qgsstacextent.cpp.

◆ spatialExtent()

QgsBox3D QgsStacExtent::spatialExtent ( ) const

Returns the overall spatial extent.

Definition at line 38 of file qgsstacextent.cpp.

◆ temporalExtent()

QgsDateTimeRange QgsStacExtent::temporalExtent ( ) const

Returns the overall temporal extent.

Definition at line 53 of file qgsstacextent.cpp.


The documentation for this class was generated from the following files: