I have a problem with line label clipped on tile boundary. For point layer labels, it was solved by using "buffer" parameter in tile caching option and using "partials" in SLD. But in my opinion, labelling in line is dynamic, not fixed label. So I can't solve this problem using buffer and partials. How can I solve this problem? I'm beginner in GeoServer.
Here are my tile cache option.
meta tile size : 8*8
gutter size : 100
image format : png8
tile image : 512*512
labeling vendor option
<sld:VendorOption name="allowOverruns">false</sld:VendorOption> <sld:VendorOption name="followLine">true</sld:VendorOption> <sld:VendorOption name="group">true</sld:VendorOption> <sld:VendorOption name="maxAngleDelta">25.0</sld:VendorOption> <sld:VendorOption name="charSpacing">5</sld:VendorOption> <sld:VendorOption name="partials">true</sld:VendorOption>
I think there are two alternatives(avoid label or label). But I don't know how to that.
- How can I avoid line label overlap with tile border? (I have tile border layer.)
- How can I solve clipped line label?