<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Matthias,<br>
    <br>
    You mean I should then set the data-defined label position to the
    start and the endpoint of the line?<br>
    <br>
    Yes - this kind of works, but I would have to calculate the
    orientation/direction of the first and last segment of the line
    myself.<br>
    <br>
    But we are getting closer to solving this issue ;-) ...<br>
    <br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 13.01.2016 15:01, Matthias Kuhn
      wrote:<br>
    </div>
    <blockquote cite="mid:569658D6.403@opengis.ch" type="cite">
      <pre wrap="">Good to know.

So that should work find with my previous recommendation of using
"Placement" -> "Data Defined"?

On 01/13/2016 02:59 PM, Andreas Neumann wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Matthias,

You can just add several rules that all apply at the same time (e.g.
two times an empty rule only bound by map scale ranges).

In the placement options use one time "above line", and the other time
" below line".

This works fine. See screenshot at
<a class="moz-txt-link-freetext" href="http://www.carto.net/neumann/temp/label_multiple_times.png">http://www.carto.net/neumann/temp/label_multiple_times.png</a>

The workaround with font-markers from Matthieu works fine, but it is
ugly that the labels can be up-side-down.

Andreas

On 13.01.2016 14:45, Matthias Kuhn wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Andreas

On 01/13/2016 01:59 PM, Andreas Neumann wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi Matthias,

Yes - with the new rule-based renderer we can label a line several
times
- e.g. have one label above the line and another with another label
text
below the line.
</pre>
          </blockquote>
          <pre wrap="">I can't find the possibility to label the same feature twice, only
different labeling rules for different features.
But I guess you can use "data defined placement" instead of "above" or
"below"?

Matthias
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
        </blockquote>
        <pre wrap="">
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>