Class GeoTiff



  • public class GeoTiff
    extends java.lang.Object
    • Constructor Detail

      • GeoTiff

        public GeoTiff​(java.lang.String filename)
        Constructor
        Parameters:
        filename - File name
    • Method Detail

      • close

        public void close​()
                   throws java.io.IOException
        Close
        Throws:
        java.io.IOException - IOException
      • initTags

        public void initTags​()
                      throws java.io.IOException
        Init tags
        Throws:
        java.io.IOException
      • read

        public void read​()
                  throws java.io.IOException
        Read file
        Throws:
        java.io.IOException
      • readXY

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

        public int[][] readData​()
        Get grid data
        Returns:
        Grid data
      • getGridArray

        public GridArray getGridArray​()
        Get grid data
        Returns:
        Grid data
      • getGridData

        public GridData getGridData​()
        Get grid data
        Returns:
        Grid data
      • getGridData_Value

        public GridData getGridData_Value​()
        Get grid data
        Returns:
        Grid data
      • readProj

        public ProjectionInfo readProj​()
        Read projection info
        Returns:
        Projection info
      • readData

        public int[] readData​(int width,
                              int height)
                       throws java.io.IOException
        Test read data
        Parameters:
        width - Width
        height - Height
        Returns:
        Data
        Throws:
        java.io.IOException
      • getBandNum

        public int getBandNum​()
        Get band number
        Returns:
        Band number
      • readArray

        public ucar.ma2.Array readArray​()
                                 throws java.io.IOException
        Test read data
        Returns:
        Data
        Throws:
        java.io.IOException
      • showInfo

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

        public java.lang.String showInfo​()
        Show info
        Returns:
        Infostring