It is commonly a problem when you need all points to be labelled, but due to high density of points it is difficult to understand the ties between points and labels. Arrows would be a way, but I haven't found anything similar even in SLD extensions.


What you are looking for is normally called a "leader line", e.g.:

enter image description here

Unfortunately GeoServer does not support them, but if you really need them there you can follow this guide:



I wrote a blog post about how to do this a while ago. Basically you can use the Easy Custom Labelling plugin to create the leader lines and then save them (and the labels) as a shapefile to load into QGIS.

enter image description here

  • so to this moment leading lines should be shapes themselves? not sure it would be okay on the different scales... Jun 19 '17 at 13:59
  • you can turn them on and off with scale
    – Ian Turton
    Jun 19 '17 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.