类 GeoTiff


  • public class GeoTiff
    extends java.lang.Object
    作者:
    yaqiang
    • 构造器详细资料

      • GeoTiff

        public GeoTiff​(java.lang.String filename)
        Constructor
        参数:
        filename - File name
    • 方法详细资料

      • close

        public void close()
                   throws java.io.IOException
        Close
        抛出:
        java.io.IOException - IOException
      • initTags

        public void initTags()
                      throws java.io.IOException
        Init tags
        抛出:
        java.io.IOException
      • read

        public void read()
                  throws java.io.IOException
        Read file
        抛出:
        java.io.IOException
      • readXY

        public java.util.List<double[]> readXY()
        Read X/Y coordinates
        返回:
        X/Y coordinates
      • readData

        public int[][] readData()
        Get grid data
        返回:
        Grid data
      • getGridArray

        public GridArray getGridArray()
        Get grid data
        返回:
        Grid data
      • getGridData

        public GridData getGridData()
        Get grid data
        返回:
        Grid data
      • getGridData_Value

        public GridData getGridData_Value()
        Get grid data
        返回:
        Grid data
      • readProj

        public ProjectionInfo readProj()
        Read projection info
        返回:
        Projection info
      • readData

        public int[] readData​(int width,
                              int height)
                       throws java.io.IOException
        Test read data
        参数:
        width - Width
        height - Height
        返回:
        Data
        抛出:
        java.io.IOException
      • getBandNum

        public int getBandNum()
        Get band number
        返回:
        Band number
      • readArray

        public ucar.ma2.Array readArray()
                                 throws java.io.IOException
        Test read data
        返回:
        Data
        抛出:
        java.io.IOException
      • showInfo

        public void showInfo​(java.io.PrintStream out)
        Show Info
        参数:
        out - PrintStream
      • showInfo

        public java.lang.String showInfo()
        Show info
        返回:
        Infostring