Probably; it is supposed to be the brains behind the get view method; where you
cut a feature source down to size.
One more option... you could make a method on Query (since it is a class) that
covers the kind of "mix" you want to perform.
Query.intersect( Query ): Query
Query.add( Query ); // perhaps Query.union as it is the opposite of intersect??
--
Jody Garnett
On Tuesday, 5 July 2011 at 3:55 AM, Andrea Aime wrote:
> On Mon, Jul 4, 2011 at 7:40 PM, Andrea Aime <[email protected]
> (mailto:[email protected])> wrote:
> > Actually, thinking about it the security case is a bit different, in that
> > mixing
> > two attribute lists I need to have the security one act as the only possible
> > set of values, thus pick the intersection, not the sum, so I need to roll
> > some custom bits anyways.
> >
> >
>
>
> Hmmm... which makes me think... mixQuery intersects the filters of the
> two queries, takes the smaller of the "maxFeatures" values... and then
> adds the attributes of both queries?
> Should'nt it intersect the attribute sets too?
>
> Or maybe we should have two new methods, intersectQueries and
> addQueries, one with or-ing behavior and one with and-ing behavior?
>
> 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
>
> -------------------------------------------------------
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel