Hi Nyall,

Thanks for clarifying - I confirm that @map_start_time and @map_end_time where the values I was looking for!

I think we need a blog post or general introduction (preferably in the QGIS manual) to decribe all the concepts of the temporal framework.

Something for 3.16 documentation ...

Thanks again,

Andreas

Am 14.07.20 um 10:59 schrieb Nyall Dawson:
On Tue, 14 Jul 2020 at 18:44, Andreas Neumann <[email protected]> wrote:
Hi Nyall,

hm - but @animation_start_time and @animation_end_time seems not to be moving along with 
the time slider. That remains "static" during the animation.
ARgh - sorry, it's @map_start_time and @map_end_time. The @animation
ones refer to the overall animation start and end times.

Nyall


Based on your feedback I was expecting @animation_start_time and 
@animation_end_time to move along with the time slider - this doesn't seem the 
case.

Anyway - with second(@frame_duration) * @frame_number

and this is also a single point in time, relative to the beginning of the animation, not 
a "range" slice.

I get what I want (the current time representation value of the time slider). I just 
thought there might be something "easier".

I might not get the full concept of the new temporal framework - I have also to 
admit, that I didn't really use the TimeManager plugin a lot - maybe with this 
background, things would have been clearer to me.

Thanks,

Andreas

Am 14.07.20 um 00:39 schrieb Nyall Dawson:

On Tue, 14 Jul 2020 at 07:44, Andreas Neumann <[email protected]> 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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to