|
| QgsVectorLayerTemporalProperties (QObject *parent=nullptr, bool enabled=false) |
| Constructor for QgsVectorLayerTemporalProperties, with the specified parent object. More...
|
|
bool | accumulateFeatures () const |
| Returns true if features will be accumulated over time (i.e. More...
|
|
QgsDateTimeRange | calculateTemporalExtent (QgsMapLayer *layer) const override |
| Attempts to calculate the overall temporal extent for the specified layer, using the settings defined by the temporal properties object. More...
|
|
QString | createFilterString (const QgsVectorLayerTemporalContext &context, const QgsDateTimeRange &range) const |
| Creates a QGIS expression filter string for filtering features within the specified context to those within the specified time range. More...
|
|
QString | durationField () const |
| Returns the name of the duration field, which contains the duration of the event. More...
|
|
QgsUnitTypes::TemporalUnit | durationUnits () const |
| Returns the units of the event's duration. More...
|
|
QString | endExpression () const |
| Returns the expression for the end time for the feature's time spans. More...
|
|
QString | endField () const |
| Returns the name of the end datetime field, which contains the end time for the feature's time spans. More...
|
|
double | fixedDuration () const |
| Returns the fixed duration length, which contains the duration of the event. More...
|
|
const QgsDateTimeRange & | fixedTemporalRange () const |
| Returns the fixed temporal range for the layer. More...
|
|
QgsTemporalProperty::Flags | flags () const override |
| Returns flags associated to the temporal property. More...
|
|
void | guessDefaultsFromFields (const QgsFields &fields) |
| Attempts to setup the temporal properties by scanning a set of fields and looking for standard naming conventions (e.g. More...
|
|
bool | isVisibleInTemporalRange (const QgsDateTimeRange &range) const override |
| Returns true if the layer should be visible and rendered for the specified time range. More...
|
|
Qgis::VectorTemporalLimitMode | limitMode () const |
| Returns the temporal limit mode (to include or exclude begin/end limits). More...
|
|
Qgis::VectorTemporalMode | mode () const |
| Returns the temporal properties mode. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads temporal properties from a DOM element previously written by writeXml(). More...
|
|
void | setAccumulateFeatures (bool accumulate) |
| Sets whether features will be accumulated over time (i.e. More...
|
|
void | setDefaultsFromDataProviderTemporalCapabilities (const QgsDataProviderTemporalCapabilities *capabilities) override |
| Sets the layers temporal settings to appropriate defaults based on a provider's temporal capabilities. More...
|
|
void | setDurationField (const QString &field) |
| Sets the name of the duration field, which contains the duration of the event. More...
|
|
void | setDurationUnits (QgsUnitTypes::TemporalUnit units) |
| Sets the units of the event's duration. More...
|
|
void | setEndExpression (const QString &endExpression) |
| Sets the expression to use for the end time for the feature's time spans. More...
|
|
void | setEndField (const QString &field) |
| Sets the name of the end datetime field, which contains the end time for the feature's time spans. More...
|
|
void | setFixedDuration (double duration) |
| Sets the fixed event duration, which contains the duration of the event. More...
|
|
void | setFixedTemporalRange (const QgsDateTimeRange &range) |
| Sets a temporal range to apply to the whole layer. More...
|
|
void | setLimitMode (Qgis::VectorTemporalLimitMode mode) |
| Sets the temporal limit mode (to include or exclude begin/end limits). More...
|
|
void | setMode (Qgis::VectorTemporalMode mode) |
| Sets the temporal properties mode. More...
|
|
void | setStartExpression (const QString &expression) |
| Sets the expression to use for the start time for the feature's time spans. More...
|
|
void | setStartField (const QString &field) |
| Sets the name of the start datetime field, which contains the start time for the feature's time spans. More...
|
|
QString | startExpression () const |
| Returns the expression for the start time for the feature's time spans. More...
|
|
QString | startField () const |
| Returns the name of the start datetime field, which contains the start time for the feature's time spans. More...
|
|
QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context) override |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
| QgsMapLayerTemporalProperties (QObject *parent, bool enabled=false) |
| Constructor for QgsMapLayerTemporalProperties, with the specified parent object. More...
|
|
virtual QList< QgsDateTimeRange > | allTemporalRanges (QgsMapLayer *layer) const |
| Attempts to calculate the overall list of all temporal extents which are contained in the specified layer, using the settings defined by the temporal properties object. More...
|
|
virtual QgsDateTimeRange | calculateTemporalExtent (QgsMapLayer *layer) const |
| Attempts to calculate the overall temporal extent for the specified layer, using the settings defined by the temporal properties object. More...
|
|
virtual bool | isVisibleInTemporalRange (const QgsDateTimeRange &range) const |
| Returns true if the layer should be visible and rendered for the specified time range. More...
|
|
virtual bool | readXml (const QDomElement &element, const QgsReadWriteContext &context)=0 |
| Reads temporal properties from a DOM element previously written by writeXml(). More...
|
|
virtual void | setDefaultsFromDataProviderTemporalCapabilities (const QgsDataProviderTemporalCapabilities *capabilities)=0 |
| Sets the layers temporal settings to appropriate defaults based on a provider's temporal capabilities. More...
|
|
virtual QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0 |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
| QgsTemporalProperty (QObject *parent=nullptr, bool enabled=false) |
| Constructor for QgsTemporalProperty, with the specified parent object. More...
|
|
virtual QgsTemporalProperty::Flags | flags () const |
| Returns flags associated to the temporal property. More...
|
|
bool | isActive () const |
| Returns true if the temporal property is active. More...
|
|
void | setIsActive (bool active) |
| Sets whether the temporal property is active. More...
|
|