Looking at the code this doesn't seem currently possible.
The following syntax is supported:
'<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">' +
'<ogc:Intersects>' +
'<ogc:PropertyName>the_geom</ogc:PropertyName>' +
'<ogc:Function name="querySingle">' +
'<ogc:Literal>sf:restricted</ogc:Literal>' +
'<ogc:Literal>the_geom</ogc:Literal>' +
'<ogc:Literal>cat=3</ogc:Literal>' +
'</ogc:Function>' +
'</ogc:Intersects>' +
'</ogc:Filter>';
Best regards,
Bart
--
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.
On Jul 10, 2013, at 2:59 PM, brking <[email protected]> wrote:
> Thank you for the quick response. I actually have a couple of different
> scenarios, but basically if the example below from the OGC 1.1 encoding spec
> is possible I should be in good shape:
>
> <Filter>
> <PropertyIsEqualTo>
> <Function name="SIN">
> <PropertyName>DISPERSION_ANGLE</PropertyName>
> </Function>
> <Literal>1</Literal>
> </PropertyIsEqualTo>
> </Filter>
>
> So what I need is a way to pass feature property values as parameters to
> filter functions, and use the function output in comparisons, or combined
> with logical filters if the function returns a boolean.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/OpenLayers-Filter-Function-with-property-parameter-tp5065405p5065416.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users