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:
The SLD I got now is this: