Hi,

I have a point geometry which has a label defined in an SLD file as ...

in the application the most northen label "Gifhorn" is never shown

http://maps.zgb.de/ertragspotenzial/



but in the geoserver preview it is shown

http://maps.zgb.de/geoserver/zgb/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:ortsnamen_lk&styles=&bbox=3577932.527,5754071.798,3637335.239,5816477.606&width=487&height=512&srs=EPSG:31467&format=application/openlayers


What is preventing the label from being displayed? I have of course tried 
various combination before writing, but to no avail.

yours,

Rob

        <sld:Rule>
          <sld:Title>ortsnamen</sld:Title>
          <sld:MinScaleDenominator>50000.0</sld:MinScaleDenominator>        
          <sld:TextSymbolizer>
            <sld:Label>
              <ogc:PropertyName>name</ogc:PropertyName>
            </sld:Label>
            <sld:Font>
              <sld:CssParameter name="font-family">SansSerif</sld:CssParameter>
              <sld:CssParameter name="font-size">10</sld:CssParameter>
              <sld:CssParameter name="font-style">normal</sld:CssParameter>
              <sld:CssParameter name="font-weight">bold</sld:CssParameter>
            </sld:Font>
            <LabelPlacement>
              <PointPlacement>
                <AnchorPoint>
                  <AnchorPointX>0.5</AnchorPointX>
                  <AnchorPointY>0.5</AnchorPointY>
                </AnchorPoint> 
              </PointPlacement>
            </LabelPlacement>
            <Halo>
              <Radius>3</Radius>
              <Fill>
                <CssParameter name="fill">#FFFFFF</CssParameter>
              </Fill>
            </Halo>
            <VendorOption name="conflictResolution">true</VendorOption> 
            <VendorOption name="goodnessOfFit">0</VendorOption> 
          </sld:TextSymbolizer>
        </sld:Rule>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to