Skip to content

Line Styling

tab-lines

  • Line Cap – End cap for each line
  • Line Join – Style for polygon corners
  • Line Dash – Line fill style (solid, dashed, dotted)

Line Cap Join Dash

Line Width

When assigning the width for lines in a layer, there are two modes:

  • Fixed Width – fixed width for all zoom scales
  • Scale-dependent width – line width is generated at each scale based on configured range

To configure Scale-dependent width lines:

  1. In the sidebar, select the Layers tab
  2. Right click on a line layer and click Styles
  3. In the Geometry tab under Line Width, choose "Scale-dependent width"
  4. Select a minimum/maximum Scale Range and minimum/maximum Line Width

Note: At scales outside the boundary, the relevant minimum/maximum width is used.

Scale Dependant Width

Line Markers

Line markers are icons which can be placed at fixed points along a line.

Note: Line markers require a Glyph to first be defined. See: Glyphs

To add Line Markers:

  1. In the sidebar, select the Layers tab
  2. Right click on a line layer and click Styles
  3. Click on the Glyphs tab or Textures tab and assign an icon

Line Markers Texture

  1. Click on the Line tab

Line Markers

  1. Check the Enable Marker Placement box and click Add New Item

Enable Line Markers

  1. Click the +/- buttons to add or remove markers
  2. Enter the positions as percentages of the line distance or drag the slider to the desired position

Line Markers Position

Line Marker Example

Colour, opacity, size, rotation and offset options are configured similarly to point layers.

Check the Rotate Marker box to automatically orientate the markers to follow the direction of the lines.

Line Markers