Hi!
I'm using the option followline = true in my SLD to label curved
lines(roads). However it is not showing all of the labels. If I pus
followline = false more labels are displayed.
This is part of my SLD-code:
<Rule>
<Name></Name>
<MaxScaleDenominator>7500</MaxScaleDenominator>
<LineSymbolizer>
<Stroke>
<CssParameter
name="stroke"><ogc:Literal>#CD95CD</ogc:Literal></CssParameter>
<CssParameter
name="stroke-width"><ogc:Literal>8</ogc:Literal></CssParameter>
</Stroke>
</LineSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>namn</ogc:PropertyName>
</Label>
<CssParameter name="font-family">SansSerif</CssParameter>
<CssParameter name="font-size">8</CssParameter>
<LabelPlacement>
<LinePlacement>
</LinePlacement>
</LabelPlacement>
<VendorOption name="followLine">true</VendorOption>
<VendorOption name="labelAllGroup">false</VendorOption>
</TextSymbolizer>
</Rule>
Does anybody have a hint on what I'm doing wrong?
I've also tried with the displacement option but it did not help me. I've
also changed the fontsize but it still wouldn't show all the labels. Could
it be that the lines that I want the label to follow are too short?
If so, does anybody have a workaround for this problem?
Best regards,
Lina
<http://osgeo-org.1560.x6.nabble.com/file/n5070227/followlinefalse.png>
<http://osgeo-org.1560.x6.nabble.com/file/n5070227/followlinetrue.png>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/followline-doesn-t-show-all-labels-tp5070227.html
Sent from the GeoServer - User mailing list archive at Nabble.com.