[mapserver-dev] beta4: WFS filters broken on SDE

bartvde at osgis.nl bartvde at osgis.nl
Tue Jul 8 08:00:19 EDT 2008


I've opened up a ticket with a tested patch:

http://trac.osgeo.org/mapserver/ticket/2685

Best regards,
Bart

On Tue, 08 Jul 2008 13:36:54 +0200, <bartvde at osgis.nl> wrote:
> Hi list,
> 
> WFS filters with simple attribute filters are broken in beta4. Btw sorry
> for taking so long to participate in the beta process, but the person who
> does our building was on holidays.
> 
> Even for SDE layers Mapserver now sets the filter in mapogcfilter.c:
> 
> Line 1047:
> msLoadExpressionString(&lp->filter, pszBuffer);
> 
> which causes this.
> 
> The expression which it is trying to set looks like:
> ([KM] <= 13)
> 
> which works for shapefiles but not for SDE.
> 
> <?xml version='1.0' encoding="ISO-8859-1" ?>
> <ServiceExceptionReport version="1.2.0"
xmlns="http://www.opengis.net/ogc"
> xmlns:xsi="http://www.w3.org
> /2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wfs
> /1.0.0/OGC-exception.xsd">
>   <ServiceException code="NoApplicableCode" locator="mapserv">
> msWFSGetFeature(): WFS server error. FLTApplyFilterToLayer() failed
> msSDELayerNextShape(): SDE error. SE_stream_fetch(): Underlying DBMS
> error.
> (-51)
>   </ServiceException>
> </ServiceExceptionReport>
> 
> Best regards,
> Bart
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list