On Sun, Feb 6, 2011 at 8:14 AM, santy <[email protected]> wrote: > > Hi, > > I have 2 layers in GeoServer namely sacon:alums_rajahmundryurban and > sacon:banks_and_atms. One can view them > http://ec2-175-41-139-21.ap-southeast-1.compute.amazonaws.com:7080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=sacon:slums_rajahmundryurban,sacon:banks_and_atms&styles=&bbox=581712.062,1876321.5,586190.812,1883908.75&width=302&height=512&srs=EPSG:32644&format=image/png > > I want to run dwithin query to find out the banks and atm centers within the > radius of 300 meters from the slums. How can I make use of CQL filter to get > the result? I am successful in using CQL filter on single layer but I dont > know how can I make spatial join using CQL filter.
Hi Santosh, at present you simply cannot do that in a single request. However you're lucky, we just got funding to implement filter functions supporting exactly that kind of CQL query, and it should soon be available as a community module on the trunk nightly build (it will take a bit longer before it becomes an official extension, not sure when/if it will become a built-in functionality). See details here: http://thread.gmane.org/gmane.comp.gis.geoserver.devel/12386 Cheers Andrea ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
