Thanks for the clarifications jody. On Mon, 2006-07-31 at 11:05 +0200, Jody Garnett wrote: > Adrian Custer wrote: > > The approach seems to have two branches, via FeatureTypeFactory > > or via FeatureTypeBuilder but neither seems complete. > > > > AttributeTypeFactory.newAttributeType() > > FeatureTypeFactory.newFeatureType(AttribType [], "name") > > ==> FeatureTypeFactory is deprecated > > FeatureType.create(Object []) > > ==> this works but uses a deprecated class > > > Which class is deprecated? The deprecation was removed as far as I know > (it was added when I thought the Feature Model was > straightened out for GeoTools 2.1, but I could not make sense of the > alternative so the deprecation should of been removed).
==> The deprecation is in making the type not the feature itself. Here I needed FeatureTypes because FeatureTypeFactory was deprecated. --adrian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
