WKTHelper { public static String getWKT(Geometry geometry) { if (geometry == null) { return null; } final WKTWriter wrt = new WKTWriter(); return wrt.write(geometry); }  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 testGetWKT() throws Exception { Geometry point = WKTHelper.parseWKT(WKT_POINT); final String str = WKTHelper.getWKT(point); assertEquals("Should have same WKT", WKT_POINT, str); }