Hello.

 I wonder why OpenJUMP saves Point geometry not "Point"
geometry, but as "MultiPoint" geometry?

 If I change code as follows, any thing wrong with running
OpenJUMP?

 In com.vividsolutions.jump.io.ShapefileWriter.java

 public GeometryCollection
makeSHAPEGeometryCollection(FeatureCollection fc)
        throws Exception {
----------------------------------------------------------
 switch (geomtype) {
            case 1: //point

                if ((geom instanceof Point)) {
                    Point[] p = new Point[1];
                    p[0] = (Point) geom;

-                    allGeoms[t] = new MultiPoint(p, new
PrecisionModel(), 0);//original
+                    allGeoms[t] = new MultiPoint(p, new
PrecisionModel(), 0);//original
//moification


 Could you tell me about this?

 Regards.

_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users

Reply via email to