From: Ian T. <ia...@ge...> - 2003-01-12 21:43:30
|
Does anyone know when James will be back on line? Or does any one have time to follow this up or should I? Ian >From: "zhangxun75" <zha...@ya...> >X-Originating-IP: 66.92.131.186 >Mailing-List: list jts...@ya...; contact >jts...@ya... >Delivered-To: mailing list jts...@ya... >List-Unsubscribe: <mailto:jts...@ya...> >Date: Fri, 10 Jan 2003 18:04:37 -0000 >Subject: [jts_discussion] Why couldn't construct some line objects when >using gt2 shapefile and JTS >Reply-To: jts...@ya... > >While I am using GT2 shapefile module to read esri shapefiles and >then construct JTS geometry objects. The program works fine with >polygon shapefiles and some of the line shapefiles. But for some >shapefile with line feature, I got the following error message: >Can somebody help? > >java.lang.IllegalArgumentException: point array must contain 0 or >1 >elements at com.vividsolutions.jts.geom.LineString.<init> >(LineString.java:73)at >com.vividsolutions.jts.geom.GeometryFactory.createLineString >(GeometryFactory.java:310) at >org.geotools.shapefile.MultiLineHandler.read >MultiLineHandler.java:101) at org.geotools.shapefile.Shapefile.read >(Shapefile.java:195) > > >Thanks > >Xun > > >To unsubscribe from this group, send an email to: >jts...@ya... > > > >Your use of Yahoo! Groups is subject to >http://ca.yahoo.com/docs/info/tos.html |