9

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

underdark
  • 84,148
  • 21
  • 231
  • 413
Govindaraj R
  • 823
  • 1
  • 9
  • 21

2 Answers2

8

with this code...

<TextSymbolizer>
   <Geometry>
      <ogc:Function name="centroid">
         <ogc:PropertyName>the_geom</ogc:PropertyName>
      </ogc:Function>
   </Geometry>
</TextSymbolizer>
Hornbydd
  • 43,380
  • 5
  • 41
  • 81
user67417
  • 81
  • 1
  • 1
8

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

Ian Turton
  • 81,417
  • 6
  • 84
  • 185