I update this post because I think I found a bug. When there are features with different geometries on a layer and the features contains at least another attribute except the geometry, only one geometry wiil be applied to all features.
So for example, if there are these features : Feature(Polygon, "toto1") and Feature(LineString, "toto2"), the LineString will be considered as a Polygon even with the right filters. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-with-a-featureTypeBuilder-tp5008838p5069303.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users