Assert.assertEquals(envelope, geoService.transform(envelope, MERCATOR, MERCATOR));
}
@Test
public void transformBboxCrsTest() throws Exception {
Crs source = geoService.getCrs2(MERCATOR);
Crs target = geoService.getCrs2(LONLAT);
Bbox bbox = new Bbox(10, 30, 10, 10);
Bbox transformed = geoService.transform(bbox, source, target);
Assert.assertEquals(8.983152841195215E-5, transformed.getX(), DELTA);
Assert.assertEquals(2.6949458522981454E-4, transformed.getY(), DELTA);
Assert.assertEquals(1.796630568239043E-4, transformed.getMaxX(), DELTA);