Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/user_manual/style_library/symbol_selector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ regardless it's of marker, line or fill sub-type:
* the |checkbox| :guilabel:`Draw effects` button for :ref:`effects rendering
<draw_effects>`.


.. note::

While the description below assumes that the symbol layer type is bound to the
Expand Down Expand Up @@ -423,6 +424,25 @@ layer types:
of the marker line symbols.
* :guilabel:`Line offset`: the marker symbols can also be offset from the line
feature.
* :guilabel:`Blank Segments`: allows defining blank sections along a feature.
This option is useful when repeated marker pattern would otherwise
result in undesirable result. For instance, when markers overlap with
other symbols or when parts of a line need to be kept empty for other map elements.

Blank segments are defined by distances from the start of the line and are stored
as a data-defined property, using either an existing field or an auxiliary storage field.
This lets you set blank sections for each feature.
Note that this tool affects symbol rendering only and does not modify
the underlying feature geometry.

To create blank segments:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all the following bullet points are about segments creation.


* Click near the line to define the start of a blank segment, and click
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Before you click, I think you need to select/configure the data-defined field to store the distances, then select the (eye) tool. I think these steps should be mentioned.
  • Why "click near the line"? Don't you need to click on the line, at the exact position where the blank segment should start? Anyway, I clicked near, I clicked on the line (zoomed as much as possible), raised the search radius..., on my Windows machine, I couldn't get anything visible in the map canvas. Have you successfully created blank segments?
  • And one last (weird) point, interaction with the map canvas is afaict only possible from the Layer Styling panel. The modal "Layer properties" dialog doesn't allow blank segments creation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for testing this and for the detailed feedback. I'm currently unable to reproduce the blank segments creation either, even on the latest master. The draft was initially based on the screencast, but I agree that the steps need to be verified more thoroughly. I'll investigate this.

again to define its end.
* Drag the start or end of an existing blank segment along the line to
resize it.
* Drag the entire blank segment to move it along the line.
Comment on lines +442 to +444
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth mentioning that these actions (and probably the next one) are possible when the eye tool is active.

* Select a blank segment and press :kbd:`Del` to remove it.

.. _hashed_line_symbol:

Expand Down