I'm not sure what exactly you want to achieve and how users will see the map canvas: in QGIS? The same instance as yours or on another computer? Online?
Howver, what you can do is the define the min/max values of your raster for the whole raster file or just for the current canvas. See the documentation:
Calculations of the min and max values of the bands ...
To solve your problem you have two different options.
Solution 1 by default option
QGIS, at least from the 3.10 (not sure about previous versions), offers the opportunity to add this arrow symbol to the label by default using one of the Labels options.
In Layout Manager > Labels in the Formatting page, active the option Line direction symbol and, here, ...
With the help of Anita Graser and @ThomasG77 I have the solution.
In Symbology we create a symbology Rule-Based.
Select Option Geometry Generator, select generate a Point, and in expresion insert this code of ThomasG77, to generate a Point Every 25km:
You can use the point cluster style, it will aggregate multiple points together.
There is a hack to have multiple cluster symbols by creating one "super" style having all sub-styles, and to enable/disable each individual components.
To do so, create the point cluster, select the (unique) symbol and choose to customize symbol.
Add each desired ...
It appears the line layer in your gpkg is of CompoundCurveZ geometry and QGIS's smooth() function doesn't seem to play well with that.
When I saved your layer to LineStringZ/MultiLineStringZ geometry using QGIS, however, QGIS's geometry generator/field calculator still detects $geometry as being CompoundCurveZ/MultiCurveZ and crashes when smooth() is applied....
I truly believe that I have got your question correctly. Thus, you want an offset where transport lines share same geometry otherwise they have to remain at the same place.
Let's assume there is a point layer "transport_routes" with its corresponding attribute table accordingly, see image below.
For Labelling I used this expression:
In QGIS 3.10 it's possible to dynamically create a Revision Cloud Style with the help of the indispensable "geometry generator" and a custom Python expression function. Hat tip to @christoph and his answer here https://gis.stackexchange.com/a/354873/94350 about wavy lines that I am used as the basis for this answer.
In the style properties of the ...
Instead of offsetting multiple routes when the routes overlap segments, how about increasing the symbol width by multiples based on
How many overlapping routes exist on a segment, and
The cartographer-selected stacking order.
You can compute the count of overlapping segments as Kazuhito suggests in this related question.
Add four columns to your routes: