4

I have an SLD file for a road layer in GeoServer. I wish only to show the labels for that layer (no symbol for the line objects) and I wish to only see them once for each road when I view my layer in for instance an OpenLayers map viewer. Right now I have many duplicate road names showing when I zoom in close.

I tried to use functions such as: VendorOption: name="group"true and VendorOption name="repeat">0< etc. But that didn't help me.

To show how the problem looks:

enter image description here

The SLD I got now is this:

enter image description here

  • 1
    please show a screen shot of the issue and the SLD for the labelling. Also are you using tiles? – Ian Turton Sep 26 '16 at 13:45
  • Hello iant. I just updated my question with a screenshot of both the problem and my cuurent sld. We are using tiles. – Kristian Birchvald Jensen Oct 3 '16 at 9:26
  • I am having the same problem. I am using vendor options to group and not repeat. – geoJshaun Jun 1 '17 at 18:51

Your Answer

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

Browse other questions tagged or ask your own question.