[mapserver-dev] question about mapogcsld.c

bartvde at osgis.nl bartvde at osgis.nl
Fri Feb 13 10:19:03 EST 2009


Hi list,

I am tracking down a problem with an SLD on an Oracle layer where
Mapserver does the evaluation of the Filter using classes instead of
setting a FILTER on the layer. The SLD Filter is a simple
PropertyIsEqualTo on the primary key.

I wonder about the following part of mapogcsld.c (line 683 in trunk):

//if (FLTHasSpatialFilter(psNode))
    psLayer->layerinfo = (void *)psNode;

Why is this only done when there is a spatial filter? If I comment out
this line, all goes well and the FILTER is set.

TIA for any insight into this.

Best regards,
Bart





More information about the mapserver-dev mailing list