Check out this VendorOption:

http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html#conflictresolution

That forces all geometries to have a label even in case they overlap.

HTH

Edward

> Date: Fri, 13 Jan 2012 08:33:43 +0100
> From: [email protected]
> To: [email protected]
> Subject: [Geoserver-users] Problems with simple labelling GeoServer 2.0.2
> 
> Hi list,
> 
> I'm facing some issues while labelling some polygon layers. The problem is 
> that I don't know why GeoServer decides when does a label has to be visible, 
> even though if I don't set any MaxScaleDenominator tag. I just want to have 
> all the labels drawn at the top scale level. Why does GeoServer do that???
> 
> I would like to force to show all the labels.
> 
> My SLD:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"; 
> xmlns:ogc="http://www.opengis.net/ogc";
>   xmlns:xlink="http://www.w3.org/1999/xlink"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://www.opengis.net/sld 
> http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
>   <NamedLayer>
>     <Name>municipios_01</Name>
>     <UserStyle>
>       <Title>Estilo 01 de Municipios CAPV</Title>
>       <Abstract></Abstract>
>       <FeatureTypeStyle>
>         <Rule>
>           <Title>Municipios</Title>
>           <TextSymbolizer>
>           <Label>
>               
> <ogc:PropertyName>NOMBRE_CAS</ogc:PropertyName>/<ogc:PropertyName>NOMBRE_EUS</ogc:PropertyName>
>         </Label>
>         <Font>
>               <CssParameter name="font-family">Arial</CssParameter>
>               <CssParameter name="font-size">12</CssParameter>
>               <CssParameter name="font-style">normal</CssParameter>
>               <CssParameter name="font-weight">bold</CssParameter>
>         </Font>
>         <Halo>
>         <Radius>3</Radius>
>               <Fill>
>                       <CssParameter name="fill">#FFFFFF</CssParameter>
>               </Fill>
>         </Halo>
>           </TextSymbolizer>
>         </Rule>
>       </FeatureTypeStyle>
>     </UserStyle>
>   </NamedLayer>
> </StyledLayerDescriptor>
> 
> Any help is much appreciated.
> 
> Thanks.
> 
> Regards,
>  
>  
> Un saludo,
>  
> ··················································································
> 
> David Alda Fernández de Lezea
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
>  
> IKT
> Granja Modelo s/n · 01192 · Arkaute (Araba)
> 
> ··················································································
> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
> ··················································································
> email: [email protected]                                web: www.ikt.es
> ··················································································
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
                                          
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to