Thanks for the tutorial - can you place it on the wiki?
// The point feature
// HACK WARNING: The only method I could find to actually make the
// feature itself is the deprecated method of the FeatureType which
// is an absurd place to do things.
Feature ptF = null;
try {
ptF = ptFT.create(ptElems);
} catch (IllegalAttributeException iattrE){
System.out.println("An exception occurred on Feature
creation " + iattrE);
}
Note: I have been forced to remove this deprecation for the upcoming
geotools 2.1.1 release - as you point out it *is* the only way.
We had been trying to choose between using a Map of Hints or a
"Container" to make Factories less of a bother. As it is we have Maps
used for the CRS Factories, but the spent a lot of time trying to apply
the same solution to Feature creation without success.
Thanks for the tutorial, and your patience.
Jody
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users