The features in the Geometry collection have to be the same type as the features in the FeatureStore.
Jesse On 24-Aug-06, at 9:53 AM, Aaron Jackson wrote: > Hi, I'm trying to add features from a FeatureCollection to a > FeatureStore. > When I do the add, I get the following exception: > > org.geotools.data.shapefile.shp.ShapefileException: Cannot handle > geometry type : com.vividsolutions.jts.geom.GeometryCollection > at > org.geotools.data.shapefile.shp.JTSUtilities.getShapeType > (JTSUtilities.java:332) > at org.geotools.data.shapefile.ShapefileDataStore > $Writer.write(ShapefileDataStore.java:1514) > ... > > > Any suggestions? > > Yolan > > ************************************************* > * Yolan (Aaron Jackson) [EMAIL PROTECTED] * > * http://mlug.missouri.edu/~yolan/ * > * AIM: YolanLINUX, YolanOTHER, YolanLAPTOP * > * ICQ: 74624109 * > ************************************************* > * Doubling Technologies * > ************************** > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
