Re: [Geoserver-users] SLD filter question

2012-05-14 Thread Alessio Fabiani
As far as I know does not exist an in filter for SLD defined by OGC,
going through the standard path you should use chained or operator.

GeoServer however has a lot of dynamic styling features, but it really
depends on what you would like to achieve.

I can suggest two interesting features of GeoServer for now:

1.
http://geo-solutions.blogspot.it/2011/07/developer-corner-taming-massive-style.html
a
fast way to colorize a property against different values

2. Dynamic Symbolizers
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
http://blog.geoserver.org/2008/12/16/dynamic-symbolizers-part-2/

also here there is a nice presentation explaining some GeoServer specific
cartographic rendering capabilities
http://demo.geo-solutions.it/share/foss4g2011/gs_styling_aaime_foss4g2011.pdf

Regards,
Alessio.

---
Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax: (+39) 0584 96.23.13
mobile:(+39) 331 62.33.686

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
https://twitter.com/alfa7961
http://twitter.com/geosolutions_it
---



On Mon, May 14, 2012 at 5:00 PM, Stephen Crawford src...@psu.edu 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
 PropertyNameState/PropertyName
 LiteralPA/Literal
 /PropertyIsEqualTo
 PropertyIsEqualTo
 PropertyNameState/PropertyName
 LiteralNJ/Literal
 /PropertyIsEqualTo
 PropertyIsEqualTo
 PropertyNameState/PropertyName
 LiteralNY/Literal
 /PropertyIsEqualTo

 I can use something like this?:

 PropertyIsEqualTo
 PropertyNameState/PropertyName
 InPA,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
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD filter question

2012-05-14 Thread Stephen Crawford

Thanks, I'll check them out.

On 5/14/2012 11:58 AM, Alessio Fabiani wrote:
As far as I know does not exist an in filter for SLD defined by OGC, 
going through the standard path you should use chained or operator.


GeoServer however has a lot of dynamic styling features, but it really 
depends on what you would like to achieve.


I can suggest two interesting features of GeoServer for now:

1. 
http://geo-solutions.blogspot.it/2011/07/developer-corner-taming-massive-style.html a 
fast way to colorize a property against different values


2. Dynamic Symbolizers
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
http://blog.geoserver.org/2008/12/16/dynamic-symbolizers-part-2/

also here there is a nice presentation explaining some GeoServer 
specific cartographic rendering capabilities
http://demo.geo-solutions.it/share/foss4g2011/gs_styling_aaime_foss4g2011.pdf 



Regards,
Alessio.

---
Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax: (+39) 0584 96.23.13
mobile:(+39) 331 62.33.686

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
https://twitter.com/alfa7961
http://twitter.com/geosolutions_it
---



On Mon, May 14, 2012 at 5:00 PM, Stephen Crawford src...@psu.edu 
mailto:src...@psu.edu 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
PropertyNameState/PropertyName
LiteralPA/Literal
/PropertyIsEqualTo
PropertyIsEqualTo
PropertyNameState/PropertyName
LiteralNJ/Literal
/PropertyIsEqualTo
PropertyIsEqualTo
PropertyNameState/PropertyName
LiteralNY/Literal
/PropertyIsEqualTo

I can use something like this?:

PropertyIsEqualTo
PropertyNameState/PropertyName
InPA,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
Geoserver-users@lists.sourceforge.net
mailto:Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users




--
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
src...@psu.edu
814.865.9905

--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users