19#ifndef QGSVECTORLAYERTEMPORALPROPERTIES_H
20#define QGSVECTORLAYERTEMPORALPROPERTIES_H
83 bool isVisibleInTemporalRange(
const QgsDateTimeRange &range )
const override;
119 QgsTemporalProperty::Flags flags()
const override;
131 void setFixedTemporalRange(
const QgsDateTimeRange &range );
141 const QgsDateTimeRange &fixedTemporalRange()
const;
153 QString startField()
const;
165 void setStartField(
const QString &
field );
174 QString endField()
const;
183 void setEndField(
const QString &
field );
194 QString startExpression()
const;
205 void setStartExpression(
const QString &expression );
216 QString endExpression()
const;
227 void setEndExpression(
const QString &endExpression );
241 QString durationField()
const;
255 void setDurationField(
const QString &
field );
282 double fixedDuration()
const;
295 void setFixedDuration(
double duration );
306 bool accumulateFeatures()
const;
317 void setAccumulateFeatures(
bool accumulate );
337 void guessDefaultsFromFields(
const QgsFields &fields );
339 QDomElement writeXml( QDomElement &element, QDomDocument &doc,
const QgsReadWriteContext &context )
override;
352 QgsDateTimeRange mFixedRange;
354 QString mStartFieldName;
355 QString mEndFieldName;
356 QString mDurationFieldName;
359 double mFixedDuration = 0;
361 bool mAccumulateFeatures =
false;
363 QString mStartExpression;
364 QString mEndExpression;
VectorTemporalMode
Vector layer temporal feature modes.
VectorTemporalLimitMode
Mode for the handling of the limits of the filtering timeframe for vector features.
@ IncludeBeginExcludeEnd
Default mode: include the Begin limit, but exclude the End limit.
Base class for handling properties relating to a data provider's temporal capabilities.
Container of fields for a vector layer.
Base class for storage of map layer temporal properties.
Base class for all map layer types.
The class is used as a container of context for various read/write operations on other objects.
TemporalUnit
Temporal units.
@ TemporalMinutes
Minutes.
Encapsulates the context in which a QgsVectorLayer's temporal capabilities will be applied.
Implementation of map layer temporal properties for vector layers.
Represents a vector layer which manages a vector based data sets.