[Geoserver-users] why is my SLD not working?

Hmm, the same filter does work properly on the WFS:

http://145.50.148.45:8082/geoserver/wfs?TYPENAME=rwsagi:BKN_TESTDATA.VWATER&request=GetFeature&version=1.0.0&filter=<Filter%20xmlns="http://www.opengis.net/ogc"><BBOX><PropertyName>SHAPE</PropertyName><gml:Box%20xmlns:gml="http://www.opengis.net/gml"%20srsName="EPSG:28992"><gml:coordinates>194715.0935189213,516456.43033202837%20196005.5096418733,517587.3568218066</gml:coordinates></gml:Box></BBOX></Filter>

So what's going wrong with the SLD?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

--------- Oorspronkelijk bericht --------
Van: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
Naar: geoserver-users@lists.sourceforge.net
<geoserver-users@lists.sourceforge.net>
Onderwerp: [Geoserver-users] why is my SLD not working?
Datum: 17/03/08 10:47

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:

&lt;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=&quot;http://www.opengis.net/ogc&quot;&gt;&lt;BBOX&gt;&lt;PropertyName&gt;SHAPE&lt;/PropertyName&gt;&lt;gml:Box

xmlns:gml=&quot;http://www.opengis.net/gml&quot;

srsName=&quot;EPSG:28992&quot;&gt;&lt;gml:coordinates&gt;194715.0935189213,516456.43033202837

196005.5096418733,517587.3568218066&lt;/gml:coordinates&gt;&lt;/gml:Box&gt;&lt;/BBOX&gt;&lt;/Filter&gt;&lt;PolygonSymbolizer&gt;&lt;Fill&gt;&lt;CssParameter

name='fill'&gt;#FF0000&lt;/CssParameter&gt;&lt;/Fill&gt;&lt;/PolygonSymbolizer&gt;&lt;/Rule&gt;&lt;/FeatureTypeStyle&gt;&lt;/UserStyle&gt;&lt;/NamedLayer&gt;&lt;/StyledLayerDescriptor&gt;

Any ideas what is wrong here? TIA.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users