Skip to the content.

Qgis-tips

french version - this page on github.io

Project macros
Bezier curves style
Altitude profile style
Tracking shot script
Prepare DEM for blender
Virtual layers

Project Macros for specific toolbar

To avoid having to write a plugin (a bit complex), and to offer a toolbar specific to a project, we use “macros”.
Some details here : Macros

macros demo

Function, expressions, styles to construct Bezier curves

The idea: propose an expression to draw a Bezier curve dynamically from control points carried by a ‘linestring’.

Details here: Bezier

bezier demo

Expressions + style for altitude profile

The idea: propose an expression to dynamically draw an altitudinal profile.

Details here : Profil

Démo

Script for a tracking shot

Using the temporal controller, the idea is to follow a ‘camera’ path defined by a linestring geometry.

Details here: Travelling

alt text

Prepare a DEM for Blender, well aligned with a print layout

Or how to cut, rotate a raster according to the extent of a print layout, by extrapolating the extent of the map to the entire page, taking into account rotations.

alt text

here : layout

Virtual layers… for planting trees

Virtual layer - recursion - or how to replace the geometry generator with a piece of SQL code.

alt text

a little more here : forest