From: Jody G. <jga...@re...> - 2007-03-07 20:35:16
|
Hi Justin; I was able to answer some of Saul's questions today ... most of it came down to this great page: - http://docs.codehaus.org/display/GEOTOOLS/Feature+Model+Preparation <http://docs.codehaus.org/display/GEOTOOLS/Feature+Model+Preparation> Do we have a Jira issue for this work? It would be nice to put it as *the* blocker for 2.4.0 release :-D > <sfarber> here's good. > <sfarber> Real quick question. > <sfarber> FeatureTypeBuilder.getFeatureType() return an > org.geotools.feature.FeatureType, not an > org.opengis.feature.xxx.FeatureType > <sfarber> Is the change from geotoos features to opengis > features the 'new feature model' that everyone's been talking about > for so lonG? > > <jgarnett> yes! > > <sfarber> Are there any preliminary classes in-place to support > this, or should I just code using FeatureTypeBuilder and deal with the > change when it comes? > > <jgarnett> thinking > <jgarnett> wish justin was here > <jgarnett> Justin made a FeatureTypeBuilder class > <jgarnett> and if you use it > <jgarnett> when the change over to the new model comes > <jgarnett> you won't have to change any of your code (only imports) > > <sfarber> Sweet. I'll be sure to stick with FeatureTypeBuilder > then. > > <jgarnett> changing the existing codebase to use this class is the > <jgarnett> work of GeoTools 2.4 > <jgarnett> the work we keep asking gabriel to include in his > timeline estimates. > <jgarnett> saul > <jgarnett> I am not sure it *is* FeatureTypeBuilder* > <jgarnett> it may be like AttributeTypeBuilder or something ... :-( > <jgarnett> hense I wish justin was here. > <jgarnett> going to look on the wiki for you now > <jgarnett> > http://docs.codehaus.org/display/GEOTOOLS/Community+Schema+Road+Map > > <sfarber> Ok, that's cool. I have to head out right now anyway, > so I'll send justin an email with this question and by the time I get > back tomorrow I'm sure he'll be back with me. I'll also check the wiki > link you just gave. > > <jgarnett> > http://docs.codehaus.org/display/GEOTOOLS/Feature+Model+Preparation > <jgarnett> let's ready the *before* and *after* > <jgarnett> yeah! > <jgarnett> SimpleTypeBuilder > <jgarnett> and SimpleFeatureBuilder > > <sfarber> Aha. great link. I'll keep poking and see what's up. > One preliminary problem is that the "getSimpleFeatureFactory()" method > doesn't exist on CommonFactoryFinder yet. But I'll take this up tomorrow. > <sfarber> thanks so much Jody! |