QGIS TimeManager Heatmap Tutorial

14
Plugins > Manage and Install Plugins Install TimeManager and OpenLayers Plugins

Transcript of QGIS TimeManager Heatmap Tutorial

Page 1: QGIS TimeManager Heatmap Tutorial

Plugins > Manage and Install Plugins

Install TimeManager and OpenLayers Plugins

Page 2: QGIS TimeManager Heatmap Tutorial

Web > OpenLayers Plugin > OpenStreetMap > OpenStreetMap

Page 3: QGIS TimeManager Heatmap Tutorial

Sidebar > Click <Add Delimited Text Layer> ButtonClick Browse and choose CSV fileEnsure X is Longitude and Y is LatitudeClick OK

Page 4: QGIS TimeManager Heatmap Tutorial

Choose WGS84, EPSG:4326

Page 5: QGIS TimeManager Heatmap Tutorial

Points from the CSV should show on the map as such

Page 6: QGIS TimeManager Heatmap Tutorial

Use the Zoom tool in the toolbar and drag over a region to zoom

Page 7: QGIS TimeManager Heatmap Tutorial

Choose settings in the TimeManager bar at the bottom of the windowSelect the CSV layer (not the basemap)Select Start Time as the date(time) column in your CSV

Page 8: QGIS TimeManager Heatmap Tutorial

Specify the Time format with a python time formatting

Page 9: QGIS TimeManager Heatmap Tutorial

If your TimeManager is activated (as shown below, the power icon is enabled in the TimeManager bar), the number of dots shown should be those at the selected time only.

Page 10: QGIS TimeManager Heatmap Tutorial

Right click the CSV layer and select Properties

Page 11: QGIS TimeManager Heatmap Tutorial

Change the style to HeatmapSelect a color scheme (OrRd in this case)Select to weigh points by a value, in this case, ‘Brightness’Select layer blending mode to be Multiply

Page 12: QGIS TimeManager Heatmap Tutorial

You should see a heatmap like this

Page 13: QGIS TimeManager Heatmap Tutorial

Set the time frame size to the interval you want (1 week in this case)Click ‘Export Video’ in the TimeManager bar and select and output folderClick ok

Page 14: QGIS TimeManager Heatmap Tutorial

You will receive a message when doneA sequence of png files will be exported to the output folder you chose

To combine the png files to a movie, try using ffmpegOn MacOSX with homebrew:brew install

Then in the folder:ffmpeg -framerate 10 -i frame%03d.png output.mp4

An mp4 file will be exported with framerate 10