Hi Adrian, hmm... that looks like a plain svn copy from the old fm branch and would certainly be more accurately documented with no comments at all.. sad. I'm cc'ing Justin since he may know better of the (in)completeness of the FeatureImpl porting to trunk, I guess those classes were included just for completeness while transitioning to SimpleFeature in the foss4g sprint?
Anyway, its not that I have a steady plan, but I see there are no unit tests for those classes (FeatureImpl, ComplexAttributeImpl, etc) and no javadocs at all. I guess I'll have to do something about that when I get back to working in the wfs 1.1 client, which may certainly be before the next six months. So where we are is really that FeatureImpl is there only to be the superclass of SimpleFeatureImpl, but is not directly being used in any place. That said, it seems to me you can experiment using another geometry model just by using a custom FeatureFactoryImpl that implements createGeometryAttribute creating your own implementation of GeometryAttribute for your geometry model, since the current GeometryAttributeImpl is based on JTS. Though that's the obvious part, I'm not really sure what other problems you'll face :( Cheers, Gabriel On Saturday 22 March 2008 11:33:04 am Adrian Custer wrote: > Hey Gabriel, All, > > Can you give us an update on the status of the Feature model and how you > are expecting it to change over the next six months? > > I'm just now turning to look at how we could integrate a new geometry > model into your feature model. Unfortunately, the first javadoc I run > into, FeatureImpl, gives: > /** > * While in transition to the new FM, this class implements the > deprecated > * [EMAIL PROTECTED] org.opengis.feature.Feature} in order to no have > to touch all the > * library. > * <p> > * NOTE all the methods from the old geotools Feature interface > throws > * UnsupportedOperationException > * </p> > * > * @author gabriel > */ > which suggests that we are in some intermediate status for now. Perhaps > instead this is merely one aspect of all the javadoc work that still > needs to happen since I see other classes that need lots of javadoc > love. > > Perhaps we could delete/update the wiki pages a bit and cleanup some of > the old pages > http://docs.codehaus.org/display/GEOTOOLS/Change+to+SimpleFeature > which currently point to the JIRA: > http://jira.codehaus.org/browse/GEOT-1191 > and then back to > http://docs.codehaus.org/display/GEOTOOLS/Feature+Model+Preparation > http://docs.codehaus.org/display/GEOTOOLS/Community+Schema+Road+Map > the last of which is so hopelessly out of date that I have a hard time > understanding how to re-interpret it. > > Any clarification of where we are would be appreciated, > thanks, > adrian ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
