Hi Matthias,

You mean I should then set the data-defined label position to the start and the endpoint of the line?

Yes - this kind of works, but I would have to calculate the orientation/direction of the first and last segment of the line myself.

But we are getting closer to solving this issue ;-) ...

Andreas

On 13.01.2016 15:01, Matthias Kuhn wrote:
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:
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
http://www.carto.net/neumann/temp/label_multiple_times.png

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:
Hi Andreas

On 01/13/2016 01:59 PM, Andreas Neumann wrote:
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.
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
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to