I checked ShapefileDataStore code and found that the following deprecated filters are still being used:
import org.geotools.filter.CompareFilter; import org.geotools.filter.LiteralExpression; IndexedShapefileDataStore using import org.geotools.filter.FidFilter; A simple search on geotools 2.4.0_RC with the text "import org.geotools.filter.Filter;" gave me 49 entries. Enam wrote: > > I use geotools 2.3.5 at the moment. I wasn't aware if these changes were > already made to 2.4.x branch. Was there any e-mail or announcement on this > thing before ? Thanks for all these clean up. When do you expect to > release 2.4.0 ? > > Enam > > > > Jody Garnett wrote: >> >> Enam wrote: >>> Please clean up the use of org.geotools.filter.Filter from DataStores. >>> It's a >>> pain to do this everytime i use a filter: >>> >>> (org.geotools.filter.Filter) myFilter >>> >> Can I have a bit more information? I thought this work was done for the >> 2.4.x branch: >> - Query.getFilter() - check >> - DataStore.getFeatureWriter( typeName, filter, transaction ) - check >> - FeatureSource.getFeatures( Filter ) - check >> - FetaureStore.modifyFeatures( type, value, filter ) - check >> - FeatureLocking.lockFeature( filter ) >> >> So that is it for DataStore ... so I am not exactly sure what you are >> talking about? Are you using an older version of GeoTools that has this >> problem? >> >> - StyleFactory - check >> - StyleBuilder - check >> >> Not sure where else filter is used; perhaps you can be more specific. >> Jody >> >> ------------------------------------------------------------------------- >> 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-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> >> > > -- View this message in context: http://www.nabble.com/Cleanup-prior-to-the-2.4.0-release-tp15091298p15094585.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
