Robert,

The OpenLayers preview requests the settlement names as one image, while the 
application is requesting several tiles to compose the map. It appears your 
tiling scheme coincides with the location of the town of Gifhorn. There's been 
a previous thread covering the case of "London" or "Greenwich". As it is 
located at the cut of the tiles, the names never appear on the map!

That's where meta tiling comes in. Since town names don't change that often, 
it's a likely target for creating a tile cache! The tiling engine (e.g. 
MapCache, MapProxy, TileCache, GeoWebCache...) requests a larger image (meta 
tile) of 1280x1280 and slices this one into 25 tiles of 256x256. As the meta 
tile is larger in size, there is more chance the label is put on the map.

Regards,

Edward

Date: Thu, 1 Dec 2011 07:31:29 +0000
From: [email protected]
To: [email protected]
Subject: [Geoserver-users] missing label???

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                    
                  
------------------------------------------------------------------------------
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