On Thu, Nov 25, 2010 at 11:35 AM, M. Rizwan Khan <[email protected]> wrote: > > Hi All, > > I wanted to know can we have spatial filter using OGCs Filter Encoding on > more than 1 layer? > I saw few examples on > http://docs.geoserver.org/latest/en/user/styling/sld-reference/filters.html > but didnt got any example which shows any spatila filter among 2 or more > layers. > > If not using OGC Filter, can it be done using CQL Filter? > Saw few examples on > http://geoserver.org/display/GEOSDOC/Common+Query+Language+%28CQL%29+Tutorial+%28unfinished%29 > but didnt got any example on multiple layers.
A spatial filter where you want to show features of layer A that overlap with certain features of layer B? Nope, as of now it cannot be done. If the use case is simple enough I might have some ideas on how to do it, but they would all require quite some programming at the Geotools level. Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
