Get Map Request with SLD gives 500 Internal Server error on Oracle Spatial layer

Trent Burton tburton at HOLONICS.CA
Tue Nov 30 06:34:28 PST 2004


I am trying to use an SLD with my GetMap request.  It seems to work fine
for a simple Filter with just one <PropertyIsEqualTo>, but if I try to add
a second, using an <And>, I get back a 500 Internal Server error.  You can
see my SLD below.

I look in the server log and see:

[Tue Nov 30 08:43:16 2004] [error] [client 192.168.1.2] Premature end of
script headers: mapserv.exe

Is <And> of a <Filter> supported with mapserver 4.2.3?

Thanks,

Trent Burton
Holonics Data Management Group Ltd.



<StyledLayerDescriptor version="1.0.0">
<NamedLayer>
<Name>KCG_APP_DEVELOPMENT_POINTS</Name>
<UserStyle>
<Title>xxx</Title>
<FeatureTypeStyle>
<Rule>
<Filter>
<AND>
<PropertyIsEqualTo>
<PropertyName>APPLICATION_ID</PropertyName>
<Literal>20</Literal>
</PropertyIsEqualTo>
<PropertyIsEqualTo>
<PropertyName>MAP_TYPE</PropertyName>
<Literal>1</Literal>
</PropertyIsEqualTo>
</AND>
</Filter>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>star</WellKnownName>
<Fill>
<CssParameter name="fill">#ff0000</CssParameter>
</Fill>
</Mark>
<Size>10.0</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>



More information about the MapServer-users mailing list