jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoServer
  • GEOS-298

The sld filter parser is broken

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.3
  • Fix Version/s: 1.3-rc1
  • Component/s: None
  • Labels:
    None
  • 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.

Description

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

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. GEOT-440 Problems with DOM GML parsing (in Filters)

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Chris Holmes added a comment - 24/Feb/05 5:26 PM

This should fix 298. I'll try to get it in soon and up on 298 for testing.

Show
Chris Holmes added a comment - 24/Feb/05 5:26 PM This should fix 298. I'll try to get it in soon and up on 298 for testing.
Hide
Permalink
Chris Holmes added a comment - 02/Apr/05 4:25 AM

Scheduled to rc1, sorry for not scheduling earlier, didn't quite finish all the scheduling before I left.

Show
Chris Holmes added a comment - 02/Apr/05 4:25 AM Scheduled to rc1, sorry for not scheduling earlier, didn't quite finish all the scheduling before I left.
Hide
Permalink
Chris Holmes added a comment - 03/Apr/05 10:48 AM

Hey Dave, I fixed the root cause of this, just committed to gt2. I don't have the bandwidth to upload the newly rebuilt jar though, so could you just mark this as closed when you get it in geoserver?

Show
Chris Holmes added a comment - 03/Apr/05 10:48 AM Hey Dave, I fixed the root cause of this, just committed to gt2. I don't have the bandwidth to upload the newly rebuilt jar though, so could you just mark this as closed when you get it in geoserver?
Hide
Permalink
dblasby added a comment - 19/Apr/05 2:57 PM

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

Show
dblasby added a comment - 19/Apr/05 2:57 PM 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"> <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>

People

  • Assignee:
    dblasby
    Reporter:
    Paul Duff
Vote (0)
Watch (1)

Dates

  • Created:
    24/Feb/05 5:19 PM
    Updated:
    19/Apr/05 2:57 PM
    Resolved:
    19/Apr/05 2:57 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.