Package it.geosolutions.geoserver.rest.decoder

Examples of it.geosolutions.geoserver.rest.decoder.RESTBoundingBox


        Assert.assertEquals(coverage.getMaxY(), 90, 0);
    }

    @Test
    public void testLatLonBoundingBox() {
      RESTBoundingBox bbox = coverage.getLatLonBoundingBox();
      Assert.assertTrue(bbox != null);
      Assert.assertEquals("EPSG:4326", bbox.getCRS());
        Assert.assertEquals(-180.0, bbox.getMinX(), 0);
        Assert.assertEquals(180.0, bbox.getMaxX(), 0);
        Assert.assertEquals(-90, bbox.getMinY(), 0);
        Assert.assertEquals(90, bbox.getMaxY(), 0);  
    }
View Full Code Here


        Assert.assertEquals(90, bbox.getMaxY(), 0);  
    }
   
    @Test
    public void testNativeBoundingBox() {
      RESTBoundingBox bbox = coverage.getNativeBoundingBox();
      Assert.assertTrue(bbox != null);
      Assert.assertEquals("EPSG:4326", bbox.getCRS());
        Assert.assertEquals(-180.0, bbox.getMinX(), 0);
        Assert.assertEquals(180.0, bbox.getMaxX(), 0);
        Assert.assertEquals(-90, bbox.getMinY(), 0);
        Assert.assertEquals(90, bbox.getMaxY(), 0);  
    }
View Full Code Here

TOP

Related Classes of it.geosolutions.geoserver.rest.decoder.RESTBoundingBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.