WKTHelper { public static Geometry parseWKT(final String wkt) { return parseWKT(wkt, null); }  static Geometry transform(final Geometry geometry, final String sourceSRS, final String targetSRS); static Geometry transform(final Geometry geometry, final CoordinateReferenceSystem sourceCRS,
                                     final CoordinateReferenceSystem targetCRS); static String transform(final String wkt, final String sourceSRS, final String targetSRS); static String transformLayerCoverage(final String wkt, final String targetSRS); static String getWKT(Geometry geometry); static Geometry parseWKT(final String wkt); static Geometry parseWKT(final String wkt, GeometryFactory gf); static CoordinateReferenceSystem getCRS(final String srs); static String getBBOX(final double westBoundLongitude, final double southBoundLatitude,
                                 final double eastBoundLongitude, final double northBoundLatitude); final static String PROJ_EPSG_4326; final static String PROJ_EPSG_3067; final static CoordinateReferenceSystem CRS_EPSG_4326; }
@Test public void testParseWKT() throws Exception { Geometry point = WKTHelper.parseWKT(WKT_POINT); assertTrue("Got point from " + WKT_POINT, point != null); assertTrue("Point x correct", point.getCoordinate().x == 30); assertTrue("Point y correct", point.getCoordinate().y == 10); Geometry polygon = WKTHelper.parseWKT(WKT_POLYGON); assertTrue("Got polygon from " + WKT_POLYGON, polygon != null); }