Hi list,
I am trying to use an SLD which works on Mapserver, but it does not work on
Geoserver and I have no idea why. It returns an empty image, nothing in the
log file.
The SLD which I send in the SLD_BODY param is:
<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>rwsagi:BKN_TESTDATA.VWATER</Name><UserStyle><FeatureTypeStyle><Rule><Filter
xmlns=\"http://www.opengis.net/ogc\\"><BBOX><PropertyName>SHAPE</PropertyName><gml:Box
xmlns:gml=\"http://www.opengis.net/gml\\"
srsName=\"EPSG:28992\"><gml:coordinates>194715.0935189213,516456.43033202837
196005.5096418733,517587.3568218066</gml:coordinates></gml:Box></BBOX></Filter><PolygonSymbolizer><Fill><CssParameter
name='fill'>#FF0000</CssParameter></Fill></PolygonSymbolizer></Rule></FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor>
Any ideas what is wrong here? TIA.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
Bart van den Eijnden (OSGIS) ha scritto:
Hi list,
I am trying to use an SLD which works on Mapserver, but it does not work on
Geoserver and I have no idea why. It returns an empty image, nothing in the
log file.
The SLD which I send in the SLD_BODY param is:
<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>rwsagi:BKN_TESTDATA.VWATER</Name><UserStyle><FeatureTypeStyle><Rule><Filter
xmlns=\"http://www.opengis.net/ogc\\"><BBOX><PropertyName>SHAPE</PropertyName><gml:Box
xmlns:gml=\"http://www.opengis.net/gml\\"
srsName=\"EPSG:28992\"><gml:coordinates>194715.0935189213,516456.43033202837
196005.5096418733,517587.3568218066</gml:coordinates></gml:Box></BBOX></Filter><PolygonSymbolizer><Fill><CssParameter
name='fill'>#FF0000</CssParameter></Fill></PolygonSymbolizer></Rule></FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor>
Hum, filtering with data in an SRS other than the native one
was fixed in GeoServer 1.6.x WFS but I'm not sure anything was
done for the SLD case. Is this your case, that is, trying to
filter with an SRS other than the data native one?
Cheers
Andrea