I have a polyline layer in QGIS representing hectometers along a railroad. I have added labels to this layer representing the hectometer number:
However, the project I am currently working on requires for the labels to be placed like this:
I have the following labeling settings on my layer:
I have tried fiddling around with the settings, but I can't seem to find a way to do this. I also thought of labelling a hidden point layer and offsetting the label from the point instead, however since the railroad itself (black) changes orientation quite a bit the rotation value for each offset point label would have to be different, which is not feasible for the number of features in the hectometer layer.
How can I achieve the above labelling in QGIS?






