Package org.geoserver.config.util.XStreamPersister

Examples of org.geoserver.config.util.XStreamPersister.SRSConverter


    }

    @Test
    public void testSRSConverter() throws Exception {
        CoordinateReferenceSystem crs = CRS.decode("EPSG:4326");
        SRSConverter c = new SRSConverter();

        assertEquals("EPSG:4326", c.toString(crs));
        assertFalse("EPSG:4326".equals(
            c.toString(CRS.parseWKT("GEOGCS[\"GCS_WGS_1984\",DATUM[\"WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]]"))));
    }
View Full Code Here

TOP

Related Classes of org.geoserver.config.util.XStreamPersister.SRSConverter

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.