Sigh :-) a) org.opengis.filter.FilterFactory -- geoapi interface that we return right now b) org.opengis.filter.FilterFactory2 -- geoapi intercace that we cast to all the time right now c) org.geotools.filter.FilterFactory -- GeoTools interface that older code casts to right now ...
I have added a two methods to CommonFactory finder ... in order to locate a) and b) above. Cheers, Jody > Jody Garnett a écrit : > >> Would it be okay (since CommonFactoryFinder is a straight GeoTools >> class); to specify that we are always going to return a FilterFactory2? >> We always need it after all ... >> > > Sure, if we always want FilterFactory2 and never FilterFactory lets returns > FilterFactory2 in all cases. But then, could we remove FilterFactory from > Geotools SVN and rename "FilterFactory2" as "FilterFactory"? > > I noticed the new getFilterFactory2 method in CommonFactoryFinder. I will > propose a slightly different implementation and commit later if "mvn install" > pass. > > Martin > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
