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

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Wed Dec 1 12:11:56 EST 2004


<And> of a <Filter> was supported in 4.2.3. I just tried your sld
locally (modifying on the named layers and attributes) and It worked ok
with a 4.2.3 binary as weel as 4.4 binaries.   Note that I am testing
this on local shape files. Someone reported few weeks back that he had a
problem with an sld and SDE layers. I am wondering if there is a problem
in the query/sld when working with db layers. I am not setup here to
make tests with SDE or Oracle unfortunatly but If someone out there
could make (or has already done) tests with SLD and DB layers, I would
like to hear the results.

Later,


Trent Burton wrote:

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


--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list