类 ProjectionInfo

    • 构造器详细资料

      • ProjectionInfo

        public ProjectionInfo()
    • 方法详细资料

      • factory

        public static ProjectionInfo factory​(java.lang.String proj4Str)
        Create new ProjectionInfo with crs
        参数:
        proj4Str - proj4 string
        返回:
        Projection info
      • factory

        public static ProjectionInfo factory​(ProjectionNames name)
        Create new ProjectionInfo with crs
        参数:
        name - ProjectionName
        返回:
        Projection info
      • getCoordinateReferenceSystem

        public CoordinateReferenceSystem getCoordinateReferenceSystem()
        Get CoordinateReferenceSystem
        返回:
        CoordinateReferenceSystem
      • getProjectionName

        public abstract ProjectionNames getProjectionName()
        Get projection name
        返回:
        Projection name
      • isLonLat

        public boolean isLonLat()
        Get if is Lon/Lat projection
        返回:
        Boolean
      • getCenterLon

        public double getCenterLon()
        Get center longitude
        返回:
        Center longitude
      • getCenterLat

        public double getCenterLat()
        Get center latitude
        返回:
        Center latitude
      • getBoundary

        public PolygonShape getBoundary()
        Get map boundary
        返回:
        Map boundary
      • setBoundary

        public void setBoundary​(PolygonShape value)
        Set map boundary
        参数:
        value - Map boundary
      • getCutoff

        public float getCutoff()
        Get latitude cutoff
        返回:
        Latitude cutoff
      • setCutoff

        public void setCutoff​(float value)
        Set latitude cutoff
        参数:
        value - Latitude cutoff
      • setCutoff_bak

        public void setCutoff_bak​(float value)
        Set latitude cutoff
        参数:
        value - Latitude cutoff
      • getValidParas

        public java.util.List<java.lang.String> getValidParas()
        Get valid parameters
        返回:
        Valid parameters
      • ellipse_boundary

        protected java.util.List<PointD> ellipse_boundary​(double semimajor,
                                                          double semiminor,
                                                          double easting,
                                                          double northing,
                                                          int n)
        Define a projection boundary using an ellipse.This type of boundary is used by several projections.
        参数:
        semimajor -
        semiminor -
        easting -
        northing -
        n -
        返回:
        Ellipse boundary
      • getRefCutLon

        public double getRefCutLon()
        Get reference cut longitude for projection operation
        返回:
        Refrence cut longitude
      • toProj4String

        public java.lang.String toProj4String()
        Get proj4 string
        返回:
        Proj4 string
      • toEsriString

        public java.lang.String toEsriString()
        Get Esri projection string
        返回:
        Esri projection string
      • toString

        public java.lang.String toString()
        To string
        覆盖:
        toString 在类中 java.lang.Object
        返回:
        String - Proj4 string
      • equals

        public boolean equals​(ProjectionInfo projInfo)
        Determine if the projection is same with another projection
        参数:
        projInfo - Projection info
        返回:
        Boolean
      • calScaleFactorFromStandardParallel

        public static double calScaleFactorFromStandardParallel​(double stP)
        Calculate scale factor from standard parallel
        参数:
        stP - Standard parallel
        返回:
        Scale factor