There's a set of "in>n>" functions which have the same effect, as long as
you have 10 or fewer values.
http://docs.geoserver.org/stable/en/user/filter/function_reference.html
On Mon, May 14, 2012 at 8:00 AM, Stephen Crawford <[email protected]> wrote:
> Is there an attribute filter for an SLD that is similar to the SQL WHERE
> State IN('PA','NJ','NY'), so instead of:
>
> <PropertyIsEqualTo>
> <PropertyName>State</PropertyName>
> <Literal>PA</Literal>
> </PropertyIsEqualTo>
> <PropertyIsEqualTo>
> <PropertyName>State</PropertyName>
> <Literal>NJ</Literal>
> </PropertyIsEqualTo>
> <PropertyIsEqualTo>
> <PropertyName>State</PropertyName>
> <Literal>NY</Literal>
> </PropertyIsEqualTo>
>
> I can use something like this?:
>
> <PropertyIsEqualTo>
> <PropertyName>State</PropertyName>
> <In>PA,NJ,NY</In>
> </PropertyIsEqualTo>
>
> Thanks,
> Steve
>
> --
> Stephen Crawford
> Center for Environmental Informatics
> The Pennsylvania State University
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users