Hello all, we have run into an issue that has been hard to track down so we’d 
appreciate an any suggestions!
Sometimes on a given server, GetFeatureInfo hit box shrinks down significantly 
to a few pixels which no longer covers the entire custom point symbology. This 
problem only occurs when we use do not use ‘sld:WellKnownName’ symbology. An 
example of a simpler SLD we use that we have noticed the problem is:<?xml 
version="1.0" encoding="UTF-8"?><StyledLayerDescriptor version="1.0.0"  
xsi:schemaLocation="http://www.opengis.net/sld 
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";  
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";>
  <NamedLayer>    <Name>canchas_de_futbol</Name>    <UserStyle>      
<FeatureTypeStyle>        <Rule>          <Title>canchas_de_futbol</Title>      
    <PointSymbolizer>            <Graphic>              <ExternalGraphic>       
         <OnlineResource 
xlink:href="../rogue_symbols/leisure_soccer_ball_100px.png" 
xlink:type="simple"/>                <Format>image/png</Format>              
</ExternalGraphic>              <Size>25</Size>            </Graphic>          
</PointSymbolizer>        </Rule>      </FeatureTypeStyle>    </UserStyle>  
</NamedLayer></StyledLayerDescriptor>
Note that the problem is not always present. once it starts occurring, 
restarting tomcat fixes the problem. 90+ percent of the time the issue goes 
away after one restart but in some rare cases we have to restart it a few 
times. 
When the problem starts happening, the wms layer stops rendering the symbols 
properly as well. When a feature happens to cross the boundaries of two tiles, 
the tile in which the very center of a particular feature falls will get the 
symbol rendered in it but the adjacent tile will not have the remaining portion 
of the symbol rendered (which can be up to about half of the symbol). 
We have confirmed that the problem is not specific to our web client. If we go 
to layer preview and use OpenLayers to view the layer, even though the tiles 
render just fine (even if we select tiled), the hit box of the features are 
significantly smaller than they should be. Again, restarting tomcat fixes the 
issue so layer preview has the more forgiving hit box derived from the size of 
the largest symbol available in the sld of the layer. If we restart to fix the 
problem, in the near future the problem starts again… often in under 24 hours. 
Our web client is using ol3 but if we bring in the same layer from another 
server on which the problem has not started yet, one layer will be fine while 
other has problematic tiles and the features are harder to get info on. To fix 
the issue in ol2 layer preview, we can also start passing in parameter of 
buffer 15 through the URL, but this still doesn’t explain what is causing 
things to go wrong while a server is running. We have seen this problem on at 
least 6 different servers. The version of geoserver is:
Build InformationVersion2.3-SNAPSHOTGit 
Revision07e35af0864e92bf5c4e21681448d511c25a3c07Build Date16-Sep-2013 
23:36GeoTools Version9-SNAPSHOT (rev 5c612984a088ef1e25de02c713359c4f904fef6b)
We have looked through geoserver logs for anything suspicious and haven’t found 
anything concerning. Another way to make the problem go away is to change the 
sld to use a wellknown symbol which is not an option for us.  
We have also peeked through the following trying to narrow down the 
issue:https://github.com/geoserver/geoserver/blob/2.3.x/src/wms/src/main/java/org/geoserver/wms/GetFeatureInfo.java#L408
 
looks like a decent amount of changes have been introduced in 
2.4:https://github.com/geoserver/geoserver/blob/2.4.x/src/wms/src/main/java/org/geoserver/wms/GetFeatureInfo.java#L412
Figured Justin or Andrea might know what is going on and perhaps this issue 
might have driven some of the changes in 2.4.  Thanks for any info!
Syrus Mesdaghi                                    
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to