类 GeoTiff


  • public class GeoTiff
    extends java.lang.Object
    作者:
    yaqiang
    • 构造器概要

      构造器 
      构造器 说明
      GeoTiff​(java.lang.String filename)
      Constructor
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void close()
      Close
      int getBandNum()
      Get band number
      GridArray getGridArray()
      Get grid data
      GridData getGridData()
      Get grid data
      GridData getGridData_Value()
      Get grid data
      void initTags()
      Init tags
      void read()
      Read file
      org.meteoinfo.ndarray.Array readArray()
      Test read data
      org.meteoinfo.ndarray.Array readArray​(org.meteoinfo.ndarray.Range yRange, org.meteoinfo.ndarray.Range xRange)
      Test read data
      int[][] readData()
      Get grid data
      int[] readData​(int width, int height)
      Test read data
      org.meteoinfo.projection.ProjectionInfo readProj()
      Read projection info
      java.util.List<double[]> readXY()
      Read X/Y coordinates
      java.util.List<double[]> readXY​(IFD ifd)
      Read X/Y coordinates
      java.lang.String showInfo()
      Show info
      void showInfo​(java.io.PrintStream out)
      Show Info
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • 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
      • readXY

        public java.util.List<double[]> readXY​(IFD ifd)
        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 org.meteoinfo.projection.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 org.meteoinfo.ndarray.Array readArray()
                                              throws java.io.IOException
        Test read data
        返回:
        Data
        抛出:
        java.io.IOException
      • readArray

        public org.meteoinfo.ndarray.Array readArray​(org.meteoinfo.ndarray.Range yRange,
                                                     org.meteoinfo.ndarray.Range xRange)
                                              throws java.io.IOException,
                                                     org.meteoinfo.ndarray.InvalidRangeException
        Test read data
        参数:
        yRange - Y range
        xRange - X range
        返回:
        Data
        抛出:
        java.io.IOException
        org.meteoinfo.ndarray.InvalidRangeException
      • showInfo

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

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