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

Reply via email to