Package org.apache.sis.referencing.datum

Examples of org.apache.sis.referencing.datum.DefaultEllipsoid


     *
     * @throws JAXBException If an error occurred during the marshalling process.
     */
    @Test
    public void testMarshalling() throws JAXBException {
        final DefaultEllipsoid ellipsoid = DefaultEllipsoid.createEllipsoid(Collections.singletonMap(
                DefaultEllipsoid.NAME_KEY, "Sphere"), 6371000, 6371000, SI.METRE);
        final SecondDefiningParameter sdp = new SecondDefiningParameter(ellipsoid, false);
        assertXmlEquals(
                "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n" +
                "<gml:SecondDefiningParameter xmlns:gml=\"http://www.opengis.net/gml/3.2\">\n" +
View Full Code Here

TOP

Related Classes of org.apache.sis.referencing.datum.DefaultEllipsoid

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.