I am styling a map which displays points along roads.  A label is displayed
for each point.  Unfortunately, when roads are near one another (such as in
dual-carriageways) conflict resolution prevents some labels from displaying
even though there is lots of available space nearby.  (See attached image -
ideally every point would be labelled).

In the case of labels along lines this kind of problem can be solved by
using the SLD maxDisplacement vendor option.  Is there any option or
strategy which will allow point labels to be automatically displaced in the
same way?  (I've tried spaceAround, but that just results in ugly
collisions).

If not, would it be possible to extend the maxDisplacement option to work
with points as well?  One issue might be that relocating a point label is
pretty unconstrained (unlike lines).  One way of dealing with this would be
to allow point labels to be automatically displaced left or right and up or
down from the point - this would allow 4 options to try for label position.

<<attachment: pt_labels.png>>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to