QGIS – Time Manager Tool

Marketing
Marketing
  • Updated

By David Crowther

QGIS___Time_Manager_Tool_-_1.PNG

Question:

How does the Time Manager Tool work within QGIS?

Answer:

The Time Manager tool, available as a plugin for QGIS, allows you to use a TIME Slider to filter your datasets, showing changes through time. You can either use time or date settings to filter your input layer and create an animation to show changes in your data over that time/date period.

In this demo example, we will use a Polygon Layer of Planning Applications, however the Time Slider tool can also be used to filter Point, Line and Raster datasets.

QGIS___Time_Manager_Tool_-_2.PNG

These Planning Applications have a thematic style assigned based on the Progress of each Planning Application.

QGIS___Time_Manager_Tool_-_3.PNG

They also have a Created field, which stores the Day (date) of when the Planning Application was created. We can see that the first record was created on 01st July 2021 (2021-07-01) and then we have records being created on the 2nd, 3rd, 4th etc…

QGIS___Time_Manager_Tool_-_4.PNG

Using the Time Manager tool, we will run an animation that will enable us to identify which Planning Applications were created on each day through that week. As the animation runs, it will simply apply a FILTER to the dataset to only show the records that meet that new DATE value.

The Time Manager tool can be installed from a ZIP file from this location – https://plugins.qgis.org/plugins/timemanager/

QGIS___Time_Manager_Tool_-_5.PNG

Once you have downloaded the ZIP file, in QGIS open the Plugin Manager and choose to install from a ZIP file. Choose the location of the ZIP file and then choose Install Plugin.

QGIS___Time_Manager_Tool_-_6.PNG

The plugin will be unzipped and installed into your QGIS, with it opening into a new panel at the bottom of the map window.

QGIS___Time_Manager_Tool_-_7.PNG

To setup the Time Manager tool choose the Settings button.

QGIS___Time_Manager_Tool_-_8.PNG

Firstly, choose Add Layer to choose the layer you wish to apply within the Time Manager tool.

In the select a layer config window choose:

  • the Layer to be the Planning Applications layer.
  • the Start time to be the field containing the DATE or TIME to filter against – here we will choose the Created field.
  • the End time to be the same as the start.

QGIS___Time_Manager_Tool_-_9.PNG

In the Animation options, set the Show Frame for 4000 milliseconds (4 seconds) and also choose to loop the animation.

QGIS___Time_Manager_Tool_-_10.PNG

QGIS___Time_Manager_Tool_-_11.PNG

Finally set the Time Frame Size to be 1DAYs. This controls how the time slider skips to the next timeframe – hour, day, week, year etc….

QGIS___Time_Manager_Tool_-_12.PNG

To activate the Time Slider, choose the ON button.

QGIS___Time_Manager_Tool_-_13.PNG

As soon as you press the On button this will apply a FILTER to the layer using the current TIME/DATE setting – 2021-07-01 – as such the map will update to only show the features where the Created Date = 2021-07-01.

QGIS___Time_Manager_Tool_-_14.PNG

If you Browse the Attribute table for the Layer you can see that the FILTER has also been applied to the records here.

QGIS___Time_Manager_Tool_-_15.PNG

To play through the Animation choose the PLAY button in the Time Manager tool.

QGIS___Time_Manager_Tool_-_16.PNG

As the Time Manager progresses to the next DAY2021-07-02 – the Planning Applications are re-filtered to only show the records Created on that new date.

QGIS___Time_Manager_Tool_-_17.PNG

The Time Manager tool then pauses for the selected transition time (4000 milliseconds) before then progressing to the next DAY – 2021-07-03 – and re-filtering the Planning Application again.

QGIS___Time_Manager_Tool_-_18.PNG

If you leave the animation running you then get a view of how the dataset changes from the start (2021-07-01) to end date 2021-07-10, and it will loop through and start the animation again.

Using the Export Video button, the frames can then be exported to help you create an animation of the timeline.

QGIS___Time_Manager_Tool_-_19.PNG

QGIS___Time_Manager_Tool_-_20.PNG

After exporting you will have image files for each DAY in the Timeline.

QGIS___Time_Manager_Tool_-_21.PNG

You can use a GIF animator tool to create an animated gif that will auto run through the Timeline and loop for playback!

TIMEMANAGER.gif

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.