Hi!

I'm experiencing that followline is not showing all of the labels that I
have on the dataset. I have a line-layer(roads) with roadnames. If I write
the SLD with a followline constraint the number of labels a clearly reduced.

I've tried to resolve it by reducing the font-size and changing font, but
the labels are still not appearing on all roads. Here is a piece of the
SLD-code:

<TextSymbolizer>
            <Label>
              <ogc:PropertyName>namn</ogc:PropertyName>
            </Label>
            
              <CssParameter name="font-family">SansSerif</CssParameter>
              <CssParameter name="font-size">8</CssParameter>
            
            
            <Halo>
              <Radius><ogc:Literal>1</ogc:Literal></Radius>
              <Fill>
                <CssParameter name="fill">#FFFFFF</CssParameter>
                <CssParameter name="fill-opacity">0.85</CssParameter>
              </Fill>
            </Halo>
            
            <LabelPlacement>
              <LinePlacement>
              </LinePlacement>
            </LabelPlacement>
            
            <VendorOption name="followLine">true</VendorOption>
            <VendorOption name="labelAllGroup">false</VendorOption>  
          </TextSymbolizer>

I have an example with followline and without.
<http://osgeo-org.1560.x6.nabble.com/file/n5070770/followlinefalse.png> 
<http://osgeo-org.1560.x6.nabble.com/file/n5070770/followlinetrue.png> 

Is this a correct behavior or does anybody have a workaround?

Best regards,
Lina



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/followline-doesn-t-show-all-labels-tp5070770.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to