Hmm. Hints.FEATURE_2D exists on trunk, with "@since 2.4.1", but it is not referenced from anywhere in the code. Could it be, that it was introduced in 2.4.1, but the usages where not "foreward-ported"?
Peter Bolla, Péter wrote: > I revoke this question. I overlooked the fact, that there is an > overloaded version of getFeatureReader(...) which takes the Query as > parameter. > > Peter > > > Bolla, Péter wrote: >> Jody Garnett wrote: >>> My understanding is: >>> - your DataStore/FeatureSource has a "get supported hints" method; you >>> need to advertise the fact that you understand the FEATURE_2D hint >>> - when your FeatureSource is a getFeatures( Query ) call you can check >>> the Hints provided by the client and see if FEATURE_2D is requested >> Umm, and what if I only provide a FeatureReader and let the default >> FeatureSource implementation do the rest? (The AbstractDataStore creates >> implementations of AbstractFeatureSource, that uses my FeatureReader.) >> Will that take the hints into account? >> >> Peter >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Geotools-devel mailing list >> Geotools-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel