[QGIS-Developer] How to get animation_datetime()

Nyall Dawson nyall.dawson at gmail.com
Mon Jul 13 15:39:48 PDT 2020


On Tue, 14 Jul 2020 at 07:44, Andreas Neumann <a.neumann at carto.net> wrote:

> animation_datetime() seems to be something from the old time manager plugin.

Correct -- the new temporal framework works on the concept of a map
having a time range, not a single time instant.

The equivalent variables are:
- @animation_start_time
- @animation_end_time

Nyall



>
> Andreas
>
> Am 13.07.20 um 23:25 schrieb Bernd Vogelgesang:
> > Still not clear. Do you mean the timer running in the lower right?
> > If so, see https://www.youtube.com/watch?v=vgDg5cRwPRw starting at 54:40
> > for the formula
> >
> >
> >
> > On 13.07.20 23:14, Andreas Neumann wrote:
> >> By "current time of an animation" I mean the current time represented
> >> in the time slider control as a function or variable.
> >>
> >> Thanks,
> >>
> >> Andreas
> >>
> >> Am 13.07.20 um 23:08 schrieb Andreas Neumann:
> >>> Hi,
> >>>
> >>> In an animation (QGIS 3.14) - how do I get the current time of an
> >>> animation?
> >>>
> >>> In https://www.youtube.com/watch?v=8R0TQlhdc1U&feature=youtu.be at
> >>> minute 6:26, it shows a formula involving the "animation_datetime()"
> >>> function.
> >>>
> >>> But my expression editor complains, that this function is not
> >>> available.
> >>>
> >>> Thanks for your hints,
> >>>
> >>> Andreas
> >>>
> >>>
> >>> _______________________________________________
> >>> QGIS-Developer mailing list
> >>> QGIS-Developer at lists.osgeo.org
> >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> _______________________________________________
> >> QGIS-Developer mailing list
> >> QGIS-Developer at lists.osgeo.org
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list