On Tue, May 10, 2011 at 6:31 AM, Niels <niels.charl...@csiro.au> wrote: > What I mean is for example filtering on the following equation: > a/b/c = "foo"
Hum... OGC filter against features is xpath based. Soo... when I say a = 10 against a simple feature the corresponding xpath filter would be: feature[a = 10] whilst doing what you say against a complex one would result in: feature[a/b/c = 10] where, as you say, some between a, b or c is multivalued (so we're actually looking at a list if not a tree). Is this even valid? What would it mean? Afaik you can do something like: feature[a/b/c[1] = 10] that is, select the specific subelement to test (assuming c is the multivalued bit). But what would be the meaning of the former writing? all a/b/c subelements must be equal to 10? Just one? Afaik the xpath engine would return a list of elements and the comparison would fail. 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 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel