8

This question already has an answer here:

When I display my map using tiles a label gets drawn on each tile - is there any way to avoid this?

I have attached an example image to show the problem:

enter image description here

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.

  • some of your question seems to be missing – Ian Turton Jul 9 '12 at 11:48
  • Single label shows in multiple.(Example: Block 43 shows in several times when zoomed layers) – RajGovind Jul 9 '12 at 11:52
8

Use meta-tiling http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#tiled

7

with this code...

<TextSymbolizer>
   <Geometry>
      <ogc:Function name="centroid">
         <ogc:PropertyName>the_geom</ogc:PropertyName>
      </ogc:Function>
   </Geometry>
</TextSymbolizer>
  • 2
    Can you explain how that works? – John Powell Feb 17 '16 at 16:52

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