Package org.gdal.gdal

Class Band


public class Band extends MajorObject
  • Method Details

    • delete

      public void delete()
      Overrides:
      delete in class MajorObject
    • GetXSize

      public int GetXSize()
    • GetYSize

      public int GetYSize()
    • GetRasterDataType

      public int GetRasterDataType()
    • GetBlockXSize

      public int GetBlockXSize()
    • GetBlockYSize

      public int GetBlockYSize()
    • Checksum

      public int Checksum()
    • GetStatistics

      public int GetStatistics(boolean approx_ok, boolean force, double[] min, double[] max, double[] mean, double[] stddev)
    • ReadRaster_Direct

      public int ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, ByteBuffer nioBuffer)
    • ReadRaster_Direct

      public int ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, ByteBuffer nioBuffer)
    • ReadRaster_Direct

      public ByteBuffer ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type)
    • ReadRaster_Direct

      public ByteBuffer ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_type)
    • ReadRaster_Direct

      public ByteBuffer ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, byte[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, byte[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, short[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, short[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, int[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, float[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, float[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, double[] array)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, double[] array)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, ByteBuffer nioBuffer)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_type, ByteBuffer nioBuffer)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, ByteBuffer nioBuffer)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, byte[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, byte[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, short[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, short[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, int[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, float[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, float[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_type, double[] array)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, double[] array)
    • getXSize

      public int getXSize()
    • getYSize

      public int getYSize()
    • getDataType

      public int getDataType()
    • GetDataset

      public Dataset GetDataset()
    • GetBand

      public int GetBand()
    • GetBlockSize

      public void GetBlockSize(int[] pnBlockXSize, int[] pnBlockYSize)
    • GetColorInterpretation

      public int GetColorInterpretation()
    • GetRasterColorInterpretation

      public int GetRasterColorInterpretation()
    • SetColorInterpretation

      public int SetColorInterpretation(int val)
    • SetRasterColorInterpretation

      public int SetRasterColorInterpretation(int val)
    • GetNoDataValue

      public void GetNoDataValue(Double[] val)
    • SetNoDataValue

      public int SetNoDataValue(double d)
    • DeleteNoDataValue

      public int DeleteNoDataValue()
    • GetUnitType

      public String GetUnitType()
    • SetUnitType

      public int SetUnitType(String val)
    • GetRasterCategoryNames

      public Vector GetRasterCategoryNames()
    • SetRasterCategoryNames

      public int SetRasterCategoryNames(Vector names)
    • GetMinimum

      public void GetMinimum(Double[] val)
    • GetMaximum

      public void GetMaximum(Double[] val)
    • GetOffset

      public void GetOffset(Double[] val)
    • GetScale

      public void GetScale(Double[] val)
    • SetOffset

      public int SetOffset(double val)
    • SetScale

      public int SetScale(double val)
    • GetStatistics

      public int GetStatistics(int approx_ok, int force, double[] min, double[] max, double[] mean, double[] stddev)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok, double[] min, double[] max, double[] mean, double[] stddev, ProgressCallback callback)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok, double[] min, double[] max, double[] mean, double[] stddev)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok, double[] min, double[] max, double[] mean)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok, double[] min, double[] max)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok, double[] min)
    • ComputeStatistics

      public int ComputeStatistics(boolean approx_ok)
    • SetStatistics

      public int SetStatistics(double min, double max, double mean, double stddev)
    • GetOverviewCount

      public int GetOverviewCount()
    • GetOverview

      public Band GetOverview(int i)
    • Checksum

      public int Checksum(int xoff, int yoff, int xsize, int ysize)
    • ComputeRasterMinMax

      public void ComputeRasterMinMax(double[] argout, int approx_ok)
    • ComputeRasterMinMax

      public void ComputeRasterMinMax(double[] argout)
    • ComputeBandStats

      public void ComputeBandStats(double[] argout, int samplestep)
    • ComputeBandStats

      public void ComputeBandStats(double[] argout)
    • Fill

      public int Fill(double real_fill, double imag_fill)
    • Fill

      public int Fill(double real_fill)
    • FlushCache

      public void FlushCache()
    • GetRasterColorTable

      public ColorTable GetRasterColorTable()
    • GetColorTable

      public ColorTable GetColorTable()
    • SetRasterColorTable

      public int SetRasterColorTable(ColorTable arg)
    • SetColorTable

      public int SetColorTable(ColorTable arg)
    • GetDefaultRAT

      public RasterAttributeTable GetDefaultRAT()
    • SetDefaultRAT

      public int SetDefaultRAT(RasterAttributeTable table)
    • GetMaskBand

      public Band GetMaskBand()
    • GetMaskFlags

      public int GetMaskFlags()
    • CreateMaskBand

      public int CreateMaskBand(int nFlags)
    • SetDefaultHistogram

      public int SetDefaultHistogram(double min, double max, int[] buckets_in)
    • HasArbitraryOverviews

      public boolean HasArbitraryOverviews()
    • GetCategoryNames

      public Vector GetCategoryNames()
    • SetCategoryNames

      public int SetCategoryNames(Vector papszCategoryNames)
    • AdviseRead

      public int AdviseRead(int xoff, int yoff, int xsize, int ysize, SWIGTYPE_p_int buf_xsize, SWIGTYPE_p_int buf_ysize, SWIGTYPE_p_int buf_type, Vector options)
    • AdviseRead

      public int AdviseRead(int xoff, int yoff, int xsize, int ysize, SWIGTYPE_p_int buf_xsize, SWIGTYPE_p_int buf_ysize, SWIGTYPE_p_int buf_type)
    • AdviseRead

      public int AdviseRead(int xoff, int yoff, int xsize, int ysize, SWIGTYPE_p_int buf_xsize, SWIGTYPE_p_int buf_ysize)
    • AdviseRead

      public int AdviseRead(int xoff, int yoff, int xsize, int ysize, SWIGTYPE_p_int buf_xsize)
    • AdviseRead

      public int AdviseRead(int xoff, int yoff, int xsize, int ysize)
    • AsMDArray

      public MDArray AsMDArray()
    • ReadRaster_Direct

      public int ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer, int nPixelSpace, int nLineSpace)
    • ReadRaster_Direct

      public int ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer, int nPixelSpace)
    • ReadRaster_Direct

      public int ReadRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayOut, int nPixelSpace, int nLineSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayOut, int nPixelSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayOut)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayOut, int nPixelSpace, int nLineSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayOut, int nPixelSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayOut)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayOut, int nPixelSpace, int nLineSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayOut, int nPixelSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayOut)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayOut, int nPixelSpace, int nLineSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayOut, int nPixelSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayOut)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayOut, int nPixelSpace, int nLineSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayOut, int nPixelSpace)
    • ReadRaster

      public int ReadRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayOut)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer, int nPixelSpace, int nLineSpace)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer, int nPixelSpace)
    • WriteRaster_Direct

      public int WriteRaster_Direct(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, ByteBuffer nioBuffer)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayIn, int nPixelSpace, int nLineSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayIn, int nPixelSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, byte[] regularArrayIn)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayIn, int nPixelSpace, int nLineSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayIn, int nPixelSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, short[] regularArrayIn)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayIn, int nPixelSpace, int nLineSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayIn, int nPixelSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, int[] regularArrayIn)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayIn, int nPixelSpace, int nLineSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayIn, int nPixelSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, float[] regularArrayIn)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayIn, int nPixelSpace, int nLineSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayIn, int nPixelSpace)
    • WriteRaster

      public int WriteRaster(int xoff, int yoff, int xsize, int ysize, int buf_xsize, int buf_ysize, int buf_type, double[] regularArrayIn)
    • ReadBlock_Direct

      public int ReadBlock_Direct(int nXBlockOff, int nYBlockOff, ByteBuffer nioBuffer)
    • WriteBlock_Direct

      public int WriteBlock_Direct(int nXBlockOff, int nYBlockOff, ByteBuffer nioBuffer)
    • GetHistogram

      public int GetHistogram(double min, double max, int[] buckets, boolean include_out_of_range, boolean approx_ok, ProgressCallback callback)
    • GetHistogram

      public int GetHistogram(double min, double max, int[] buckets, boolean include_out_of_range, boolean approx_ok)
    • GetHistogram

      public int GetHistogram(double min, double max, int[] buckets)
    • GetHistogram

      public int GetHistogram(int[] buckets)
    • GetDefaultHistogram

      public int GetDefaultHistogram(double[] min_ret, double[] max_ret, int[][] buckets_ret, boolean force, ProgressCallback callback)
    • GetDefaultHistogram

      public int GetDefaultHistogram(double[] min_ret, double[] max_ret, int[][] buckets_ret, boolean force)
    • GetDefaultHistogram

      public int GetDefaultHistogram(double[] min_ret, double[] max_ret, int[][] buckets_ret)