Pedro,
Check out whether transformation functions may be helpful in your case:
http://docs.geoserver.org/latest/en/user/styling/sld-tipstricks/transformation-func.html
These functions typically allow you to define your visualisation rules more
concisely.
Kind regards,
Edward
> Date: Mon, 10 Jun 2013 16:41:48 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: [Geoserver-users] How to group values in SLD
>
> Hello Pedro,
>
> not unfortunately not to my knowledge. You need to do it like this:
>
> <ogc:Filter>
> <ogc:Or>
> <ogc:PropertyIsEqualTo>
> <ogc:PropertyName>ID</ogc:PropertyName>
> <ogc:Literal>1</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> <ogc:PropertyIsEqualTo>
> <ogc:PropertyName>ID</ogc:PropertyName>
> <ogc:Literal>2</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> <ogc:PropertyIsEqualTo>
> <ogc:PropertyName>ID</ogc:PropertyName>
> <ogc:Literal>3</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> ....................
> </ogc:Or>
> </ogc:Filter>
>
> Cheers
>
> Christian
>
>
>
> -----
> ____________________________
>
> Dr Christian Maul
> Project Manager
>
> Information Services Branch
> Department of Sustainability and Environment
> Level13, Marland House, 570 Bourke Street
> Melbourne 3000
>
> PO Box 500, East Melbourne Vic 3002
>
>
> Telephone: +61-3-8636 2325
> Telefax: +61-3-8636 2813
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/How-to-group-values-in-SLD-tp5059193p5059251.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users