Wednesday 28 October 2015

symbology - Showing arrowheads in line end using QGIS?


I would like to show arrowheads in the endings of every drawn linestring. Is it possible in QGIS?


enter image description here


I have been trying to use a marker line but repeats all de arroheads all over the line, it is not restricted to the ends:



enter image description here



Answer



For 2.16 and up
See @nagib 's answer.


Before 2.16
As pointed out by @underdark, you have to use a marker for the end line with a rotation of 90° if you use a triangle. For the start line you need to add another marker, this one rotated 270°: enter image description here


If you do not want your arrows to point further than the end of the line, you can add an offset.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...