[Qgis-user] QGIS 2.18 Point labeling with connecting line
Andreas Neumann
a.neumann at carto.net
Thu Sep 21 03:00:06 PDT 2017
Hi,
If your Math skills are ok, you can use geometry generators to
automatically create such lines.
Direct lines (without a bend) are trivial, lines like the ones you show
in your image are more complicated to create and require some rules
(e.g. until which angles the leader lines should be horizontal or
vertical) and where to bend over the angled portion of the line.
Google for "geometry generators" - there are examples out there how to
use geometry generators.
Andreas
On 2017-09-21 09:22, Frederick Löbig wrote:
> Thank you, Phil!
>
> I had a look at this plugin a while ago, didn't get far with it but, on the other hand, I didn't look to deep into it. I will see what I can achieve and keep you updated on the progress.
>
> Thanks again
>
> Cheers
>
> Freddy
>
> -------------------------
>
> VON: Phil (The Geek) Wyatt <phil at wyatt-family.com>
> GESENDET: Donnerstag, 21. September 2017 03:13
> AN: 'Frederick Löbig'; qgis-user at lists.osgeo.org
> BETREFF: RE: [Qgis-user] QGIS 2.18 Point labeling with connecting line
>
> I have certainly done something similar using the easy labelling plug in. It really depends on how much you want to control the line lengths etc. Not all points will have the diagonal line (unless you move the label independently)
>
> Cheers - Phil
>
> FROM: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] ON BEHALF OF Frederick Löbig
> SENT: Wednesday, September 20, 2017 8:55 PM
> TO: qgis-user at lists.osgeo.org
> SUBJECT: [Qgis-user] QGIS 2.18 Point labeling with connecting line
>
> Hi all,
>
> happy to be back here on this mailing list after being away for quite a while.
>
> A lot has changed in QGIS since I last used it, and I am happy to see that QGIS' community still is growing and the software has improved hugely.
>
> Thank you all very much for keeping the community active!
>
> Let's get to the question:
>
> I am currently creating a new map, containing loads of points that need to be labled. No problem so far, but I want to achieve a very specific labeling style, as shown in the following picture:
>
> The only thing I have yet to do, is the connecting line between Point and label. Field based labelling, of course, is no problem. I have read about a couple of plugins, but none of them got me there. Any ideads - the horizontal separator between the two lines is actually not really neccesary, but nice to have. Main thing is the diagonal line connecting the feature with the label.
>
> Thanks in advance!
>
> Cheers
>
> Freddy
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170921/bbc47416/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 42966 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170921/bbc47416/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7535 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170921/bbc47416/attachment-0001.png>
More information about the Qgis-user
mailing list