Package org.apache.sis.referencing.cs

Examples of org.apache.sis.referencing.cs.DefaultEllipsoidalCS


        }
        if (isCartesian) {
            return new DefaultCartesianCS(properties, xAxis, yAxis, zAxis);
        }
        if (zAxis != null) {
            return new DefaultEllipsoidalCS(properties, xAxis, yAxis, zAxis);
        } else {
            return new DefaultEllipsoidalCS(properties, xAxis, yAxis);
        }
    }
View Full Code Here


                if (!Utilities.equalsIgnoreMetadata(cs.getAxis(0), xAxis) ||
                    !Utilities.equalsIgnoreMetadata(cs.getAxis(1), yAxis))
                {
                    // We can not reuse the name of the existing CS, because it typically
                    // contains text about axes including the axis that we just dropped.
                    cs = new DefaultEllipsoidalCS(singletonMap(EllipsoidalCS.NAME_KEY, "Ellipsoidal 2D"), xAxis, yAxis);
                }
                return new DefaultGeographicCRS(IdentifiedObjects.getProperties(crs), ((GeographicCRS) crs).getDatum(), cs);
            }
        }
        if (crs instanceof CompoundCRS) {
View Full Code Here

TOP

Related Classes of org.apache.sis.referencing.cs.DefaultEllipsoidalCS

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.