@Test(expected = IllegalArgumentException.class) @Category(UnitTest.class) public void wierdMultiPolygon() throws ParseException { String wkt = "MULTIPOLYGON (((-126.2499876 59.1526579,-126.25 59.1526234,-126.2499876 59.1526579)))"; WKTReader wktReader = new WKTReader(); com.vividsolutions.jts.geom.Geometry jtsGeom = wktReader.read(wkt); Geometry feature = GeometryFactory.fromJTS(jtsGeom, null); }
public static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry) { return fromJTS(jtsGeometry, null); }
GeometryFactory { public static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry) { return fromJTS(jtsGeometry, null); } }
GeometryFactory { public static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry) { return fromJTS(jtsGeometry, null); } private  GeometryFactory(); }
GeometryFactory { public static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry) { return fromJTS(jtsGeometry, null); } private  GeometryFactory(); static Class[] getClasses(); static WritableGeometry createGeometry(Type type); static WritableGeometry createGeometry(String className); static WritableGeometry createEmptyGeometry(); static WritableGeometry createEmptyGeometry(Map<String, String> attributes); static WritableGeometryCollection createGeometryCollection(); static WritableGeometryCollection createGeometryCollection(
    Map<String, String> attributes); static WritableLinearRing createLinearRing(); static WritableLinearRing createLinearRing(Map<String, String> attributes); static WritableLinearRing createLinearRing(Point... points); static WritableLinearRing createLinearRing(LineString lineString); static WritableLineString createLineString(); static WritableLineString createLineString(Map<String, String> attributes); static WritableLineString createLineString(Point... points); static WritablePoint createPoint(); static WritablePoint createPoint(double x, double y, Map<String, String> attributes); static WritablePoint createPoint(double x, double y); static WritablePoint createPoint(double x, double y, double z); static WritablePoint createPoint(double x, double y, double z,
    Map<String, String> attributes); static WritablePoint createPoint(Map<String, String> attributes); static WritablePolygon createPolygon(); static WritablePolygon createPolygon(Collection<Point> points); static WritablePolygon createPolygon(Map<String, String> attributes); static WritablePolygon createPolygon(Point... points); static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry); static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry,
    Map<String, String> attributes); }
GeometryFactory { public static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry) { return fromJTS(jtsGeometry, null); } private  GeometryFactory(); static Class[] getClasses(); static WritableGeometry createGeometry(Type type); static WritableGeometry createGeometry(String className); static WritableGeometry createEmptyGeometry(); static WritableGeometry createEmptyGeometry(Map<String, String> attributes); static WritableGeometryCollection createGeometryCollection(); static WritableGeometryCollection createGeometryCollection(
    Map<String, String> attributes); static WritableLinearRing createLinearRing(); static WritableLinearRing createLinearRing(Map<String, String> attributes); static WritableLinearRing createLinearRing(Point... points); static WritableLinearRing createLinearRing(LineString lineString); static WritableLineString createLineString(); static WritableLineString createLineString(Map<String, String> attributes); static WritableLineString createLineString(Point... points); static WritablePoint createPoint(); static WritablePoint createPoint(double x, double y, Map<String, String> attributes); static WritablePoint createPoint(double x, double y); static WritablePoint createPoint(double x, double y, double z); static WritablePoint createPoint(double x, double y, double z,
    Map<String, String> attributes); static WritablePoint createPoint(Map<String, String> attributes); static WritablePolygon createPolygon(); static WritablePolygon createPolygon(Collection<Point> points); static WritablePolygon createPolygon(Map<String, String> attributes); static WritablePolygon createPolygon(Point... points); static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry); static WritableGeometry fromJTS(com.vividsolutions.jts.geom.Geometry jtsGeometry,
    Map<String, String> attributes);  }