5

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 ...


5

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, ...


4

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: collect_geometries(array_foreach( generate_series(0, length($geometry),step:=25000), make_point_m( x(...


2

The Rotation property is not (has never been?) in Advanced properties, but among the normal properties, as you can see in the screenshot you have provided:


2

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 ...


2

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....


2

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: ...


2

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 ...


2

Right before setting the layer's renderer, you need to use the QgsFeatureRenderer.setUsingSymbolLevels() method, in this way: renderer.setUsingSymbolLevels(True) And that's it!


1

Figured out you can add stops in the editor to give more control than just the two endpoints. The end result


1

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: ...


Only top voted, non community-wiki answers of a minimum length are eligible