QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Metadata extent structure. More...
#include <qgslayermetadata.h>
Public Member Functions | |
bool | operator== (const QgsLayerMetadata::Extent &other) const |
void | setSpatialExtents (const QList< QgsLayerMetadata::SpatialExtent > &extents) |
Sets the spatial extents of the resource. More... | |
void | setTemporalExtents (const QList< QgsDateTimeRange > &extents) |
Sets the temporal extents of the resource. More... | |
QList< QgsLayerMetadata::SpatialExtent > | spatialExtents () const |
Spatial extents of the resource. More... | |
QList< QgsDateTimeRange > | temporalExtents () const |
Temporal extents of the resource. More... | |
Metadata extent structure.
Definition at line 90 of file qgslayermetadata.h.
bool QgsLayerMetadata::Extent::operator== | ( | const QgsLayerMetadata::Extent & | other | ) | const |
Definition at line 411 of file qgslayermetadata.cpp.
void QgsLayerMetadata::Extent::setSpatialExtents | ( | const QList< QgsLayerMetadata::SpatialExtent > & | extents | ) |
Sets the spatial extents of the resource.
Definition at line 396 of file qgslayermetadata.cpp.
void QgsLayerMetadata::Extent::setTemporalExtents | ( | const QList< QgsDateTimeRange > & | extents | ) |
Sets the temporal extents of the resource.
Definition at line 406 of file qgslayermetadata.cpp.
QList< QgsLayerMetadata::SpatialExtent > QgsLayerMetadata::Extent::spatialExtents | ( | ) | const |
Spatial extents of the resource.
Definition at line 391 of file qgslayermetadata.cpp.
QList< QgsDateTimeRange > QgsLayerMetadata::Extent::temporalExtents | ( | ) | const |
Temporal extents of the resource.
Use QgsDateTimeRange::isInstant() to determine whether the temporal extent is a range or a single point in time. If QgsDateTimeRange::isInfinite() returns true
then the temporal extent is considered to be indeterminate and continuous.
Definition at line 401 of file qgslayermetadata.cpp.