[mapserver-dev] question about mapogcsld.c
Yewondwossen Assefa
yassefa at dmsolutions.ca
Fri Feb 13 11:17:03 EST 2009
Bart,
From what I can see, you are right: the setting of the FILTER element
of the layer should always be the first option. I am doing tests
locally and will commit the change.
(http://trac.osgeo.org/mapserver/ticket/2889)
Best Regards,
bartvde at osgis.nl wrote:
> 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
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
--
----------------------------------------------------------------
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-dev
mailing list