MapReel – Help

MapReel creates map animations as an image sequence (PNG) and optionally as an MP4 video, e.g. for video editing with Kdenlive. There are three modes:

About MapReel

Every frame is rendered at its own scale, so basemaps like OpenStreetMap stay sharp at every zoom level. All layers visible in the map are rendered.

Opening the plugin

Menu Plugins → MapReel or the icon in the Plugins toolbar. If the toolbar is too narrow, the icon is hidden behind the » arrow.

Mode “Zoom to point”

  1. Set the Target point: The target point is shown as a red cross in the map.
  2. Zoom to the desired overview and click Use current view as start. Without this step the map view at render time is used as start.
  3. Enter the End width in km – the real width of the visible area at the end. Alternatively zoom to the desired end view and click From current view.
  4. Adjust animation and output (see below) and click Render.

The zoom is logarithmic, so its speed looks constant. The target keeps its position in the frame and only moves to the centre at the end. Reverse (zoom out from the point) creates the opposite movement.

Mode “Animate route”

  1. Select Animate route under Mode at the top.
  2. Select the line(s) of the route in the active layer and click From selection.
  3. If the route runs the wrong way: Reverse direction.
  4. Choose the Camera:
  5. Adjust Line style (colour, width) and Show whole route faintly as desired.
  6. Click Render.

For a constant speed along the route set Easing to Linear.

Mode “3D flight (Blender)”

The camera flies behind the head of the trail over 3D terrain built from an elevation model (e.g. SRTM) with the map draped on it. Rendering is done by Blender (version 4.2 or newer, free at blender.org).

  1. Select 3D flight (Blender) under Mode.
  2. Set the route with From selection as in “Animate route”.
  3. Choose the Elevation model (a raster layer, e.g. SRTM).
  4. Surroundings: how much terrain is shown around the route. Map texture: resolution of the map on the terrain. All visible layers except the elevation model and the route are used as texture. Detail along route: extra high-resolution map tiles in a corridor around the route, where the camera is close to the ground – keeps the foreground sharp (1.5 m per pixel is a good value; finer needs more export time and memory).
  5. Set the camera: Camera distance and height behind the look-at point, Look ahead (how far ahead of the head the camera looks), clearance (the camera climbs before slopes in time), Lens (small = wide angle) and smoothing of the camera movement.
  6. Blender: program file, found automatically. Render engine: Cycles (best quality, uses NVIDIA graphics cards automatically) or Eevee (fast, needs a graphics card).
  7. Click Render. The plugin exports terrain and texture and starts Blender in the background; progress is shown in the dialog.

Besides the frames, the output folder holds scene.json, dem.npy, texture.png, blender_flight.py and blender.log. The scene can also be rendered by hand: blender -b -P blender_flight.py -- scene.json; --save-blend additionally writes flight.blend to inspect in Blender.

Test with HD 1280×720, few samples and a short duration first. With Cycles on the CPU a Full HD frame takes several seconds depending on the computer, much less with a graphics card.

Animation settings

SettingMeaning
Frames/sFrame rate. Must match the frame rate of the Kdenlive project (usually 25).
DurationDuration of the movement (zoom or drawing the route) in seconds.
Hold at start / endSeconds without movement before / after the animation.
EasingSmooth/Smoother: gentle acceleration and deceleration. Linear: constant speed.

Output settings

SettingMeaning
ResolutionImage size, e.g. Full HD 1920×1080 or 4K.
FolderTarget folder for frame_0000.png, frame_0001.png, … Existing frames in the folder are deleted after confirmation.
Draw markerZoom: dot at the target point. Route: dot at the head of the line. Colour and size next to it.
Also create MP4Creates zoom.mp4 or route.mp4 in the same folder. Requires ffmpeg (on Linux: sudo apt install ffmpeg).

All settings are saved and restored the next time the dialog opens. Cancel stops a running job; frames written so far are kept.

Using the result in Kdenlive

Tips

Troubleshooting

ProblemSolution
Icon missing in the toolbarClick » at the end of the Plugins toolbar or make the toolbar wider.
MP4 option is greyed outffmpeg is not installed or not in the PATH.
“The selected feature is not a line.”For “Animate route” activate a line layer in the Layers panel.
Route jumps between stagesSelect only the lines of the route; at junctions the order is ambiguous.
Map in the video empty or incompleteCheck that the layers are visible in the map and the tile server is reachable.

About MapReel

MapReel – Creates map animations for video editing: zoom to a point, animated routes and 3D flights over terrain.

Version{{version}}
Author{{author}} <{{email}}>
Website{{homepage}}
LicenceGNU GPL v2+ · Copyright 2026 {{author}}
Built withQGIS / PyQGIS, Blender, ffmpeg, NumPy

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Map data and elevation models are subject to the licences of their providers, e.g. © OpenStreetMap contributors (ODbL), SRTM: NASA/USGS. Please credit them in your video.