Line Configuration
The lines tab appears for layers with LineString geometry (e.g. roads, railways, rivers, pipelines). Three line types are available:
Gradient
Colour lines along a colour ramp based on a numeric data property. Configuration is the same as polygon gradient fill — select a property, choose a palette, set opacity, and optionally customise stops.
A legend is available with the same options as for polygon fills.
Single Colour
Apply a uniform colour to all line features:
- Colour — pick any colour.
- Opacity — line transparency (0–100%).
Rule-Based
Define rules that map attribute values to colours and per-rule widths. Each rule specifies:
- Property, Operator, Value — same as polygon rule-based fill.
- Colour — the colour to apply when the rule matches.
- Width (optional) — an override width for lines matching this rule.
A rule-based legend is also available.
None
Disable line rendering entirely.
Common Line Options
These options are available for all line types except "None":
Width Stops
Line width can vary by zoom level using 2–6 zoom/width stops, with smooth interpolation between them.
Dash Pattern
Specify a repeating dash-gap pattern (e.g. 6, 3 for dashed lines). Leave empty for solid lines.
Line Cap
Controls how the ends of lines are drawn:
- Butt — flat ends.
- Round — rounded ends.
- Square — square ends extending slightly beyond the endpoint.
Line Join
Controls how line segments are joined:
- Bevel — flat join.
- Round — rounded join.
- Miter — sharp pointed join.