If you have "mixed" Polygon and Linestring you will need to say you have Geometry when defining your FeatureType. Jody
On 18/05/2010, at 8:16 PM, GuiCheBZH wrote: > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
