This question already has an answer here:

Possible Duplicate:
Labeling Geoserver SLD

I have a geoserver 2.1.x installation with SLD stylization. I have used a property to label the polygons which forms a map.

But the issues is the labels are getting repeated as in the figure enter image description here

Is there any way to prevent this from happening??

What I have done so far ---

  1. I have tried to use the geoserver Vendor option for grouping of polygons with perticular label

      <VendorOption name="group">yes</VendorOption>

but this doesn't help.

  1. I have used a custom solution suggested by someone from the mailing list ..

      <ogc:Function name="centroid">                

but removes the multiple labels, but adds some unwanted artifacts into the map, and I want to avoid using that...

  1. I also tried the metatiling functionality by doing this -

    tileorigin: [map.maxExtent.left,map.maxExtent.bottom],

This removes certain multiple labels but not all...

Any other solutions??

marked as duplicate by Ian Turton Aug 10 '16 at 9:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.