[Geoserver-users] RE: [jira] Closed: (GEOS-298) The sld filter parser is broken

I've tried this on build 1.3rc1 and it doesn't work. I copied the normal.sld
file and replaced the rule in it with the rule below and tried to use the
style but with no luck. What version has this fix gone in for?

Thanks,
- Paul

-----Original Message-----
From: dblasby (JIRA) [mailto:jira@anonymised.com]
Sent: 19 April 2005 19:58
To: paulduff27@anonymised.com
Subject: [jira] Closed: (GEOS-298) The sld filter parser is broken

     [ http://jira.codehaus.org/browse/GEOS-298?page=all ]
     
dblasby closed GEOS-298:
------------------------

    Resolution: Fixed

Chris's fix work.

For reference, here's a rule that works for the states.shp;

<Rule>
<Filter>
<Not>
  <Disjoint>
     <PropertyName>the_geom</PropertyName>
        <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
          <gml:coordinates>-94.58465,24.871755
-75.1543,35.52362</gml:coordinates>
        </gml:Box>
  </Disjoint>
</Not>
</Filter>

<PolygonSymbolizer>
  <geometry>
    <ogc:PropertyName>the_geom</ogc:PropertyName>
  </geometry>
  <Fill>
    <CssParameter name="fill">#aaaaff</CssParameter>
  </Fill>
  <Stroke>
    <CssParameter name="stroke">#0000aa</CssParameter>
  </Stroke>
  </PolygonSymbolizer>
</Rule>

The sld filter parser is broken
-------------------------------

         Key: GEOS-298
         URL: http://jira.codehaus.org/browse/GEOS-298
     Project: GeoServer
        Type: Bug
    Versions: 1.2.3
Environment: Mandrake 10.1 with KDE 3.2, Geoserver 1.2.3(Binary), Java

1.4.2. PostgreSQL 7.4.5 with PostGIS 0.9.

    Reporter: Paul Duff
    Assignee: dblasby
    Priority: Minor
     Fix For: 1.3-rc1

Create a new style and submit an .sld for it that contains the following

spatial filter.

<Filter>
<Not>
  <Disjoint>
     <PropertyName>the_geom</PropertyName>
        <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
        <gml:coordinates>13.0983,31.5899 35.5472,42.8143</gml:coordinates>
        </gml:Box>
  </Disjoint>
</Not>
</Filter>
RESULT
After trying to use the style in a getmap request, it is not recognized by

the server. The sld filter parser is broken.

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