Hi Guys - We touched on this topic a couple months ago... The opengis FilterCapabilities seems to have a different focus then the GeoTools one - seems to be more of a description (and is the only indication of what function parameters are valid).
Basically we should separate out the representation of a function (FunctionImpl) from its implementation (Library). We can use FilterCapabilities to returns a list of available implementations - but that should not limit our ability to represent Functions. Example: Perhaps we are setting up a query for an external WFS that supports a Function we don't have an implementation for in GeoTools. Where could this go? - GeoAPI FilterCapabilities could be used by the DataStores to advertise what they support. Internally the DataStore could do something similar to the SQL splitter (to decide what functions can be pressed into SQL and what needs to be evaulated in Java). FilterCapabilities is basically "metadata" that you can look at when you create a Filter (in much the same way FeatureType is). Cheers, Jody Farber, Saul (ENV) wrote: > David, > > Yeah, that's a great question. I'm not totally sure either, but for now > there's *NO* use of the opengis FilterCapabilities. > > At some point in the future I'm imagining that we'll bring geotools > FilterCapabilities into line with the opengis FilterCapabilities interface, > but this might involve revising the opengis FilterCapabilities, as it's > currently implementation-free and possibly buggy/incomplete. > > So, the practical answer: don't worry about opengis FilterCapabilities right > now and instead just focus on using the (rather clunky, sorry!) geotools > FilterCapabilities. > > --saul > > > -----Original Message----- > From: David Adler [mailto:[EMAIL PROTECTED] > Sent: Thu 3/29/2007 9:50 AM > To: Andrea Aime > Cc: sfarber; geotools-devel@lists.sourceforge.net; Justin Deoliveira > Subject: Re: [Geotools-devel] Docs to track thoughts on SQLEncoder new > filter port > > It isn't clear to me what the relationship is of the opengis > FilterCapabilities and the geotools FilterCapabilities. > > With the switch to the opengis filters, should the geotools > FilterCapabilities still be used? > > I've mostly converted SQLEncoderDB2 over to use FilterToSQL. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel