BBOX filters created by the SLDParser cannot be encoded or cloned properly
--------------------------------------------------------------------------
Key: GEOS-1811
URL: http://jira.codehaus.org/browse/GEOS-1811
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 1.6.2
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.3
The following WMS request using SLD_BODY:
whose SLD, in non url encoded form, is:
{code:xml}
<StyledLayerDescriptor version='1.0.0'
xmlns='http://www.opengis.net/sld’
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance’
xsi:schemaLocation='http://www.opengis.net/sld
http://schemas.opengeospatial.net/sld/1.0.0/StyledLayerDescriptor.xsd’>
<NamedLayer>
<Name>topp:states</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Filter xmlns="http://www.opengis.net/ogc">
<BBOX>
<PropertyName>the_geom</PropertyName>
<gml:Box xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326">
<gml:coordinates>-100,41 -88,44</gml:coordinates>
</gml:Box>
</BBOX>
</Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name='fill'>#FF0000</CssParameter>
</Fill>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
{code}
won't work properly because the SLDParser builds a filter using a code path that leaves the minx,miny,maxx,maxy fields in a BBOX filter to 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira