Package org.gdal.gdal

Class MDArray


  • public class MDArray
    extends java.lang.Object
    • Method Detail

      • delete

        public void delete()
      • GetDimensions

        public Dimension[] GetDimensions()
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            byte[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            short[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            int[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            float[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            double[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            byte[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            short[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            int[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            float[] outputBuffer)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            double[] outputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             byte[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             short[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             int[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             float[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             double[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             byte[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             short[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             int[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             float[] inputBuffer)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             double[] inputBuffer)
      • GetName

        public java.lang.String GetName()
      • GetFullName

        public java.lang.String GetFullName()
      • GetTotalElementsCount

        public long GetTotalElementsCount()
      • GetDimensionCount

        public long GetDimensionCount()
      • GetStructuralInfo

        public java.util.Hashtable GetStructuralInfo()
      • Resize

        public int Resize​(long[] newDimensions,
                          java.util.Vector options)
      • Resize

        public int Resize​(long[] newDimensions)
      • GetAttribute

        public Attribute GetAttribute​(java.lang.String name)
      • CreateAttribute

        public Attribute CreateAttribute​(java.lang.String name,
                                         long[] dimensions,
                                         ExtendedDataType data_type,
                                         java.util.Vector options)
      • CreateAttribute

        public Attribute CreateAttribute​(java.lang.String name,
                                         long[] dimensions,
                                         ExtendedDataType data_type)
      • DeleteAttribute

        public int DeleteAttribute​(java.lang.String name,
                                   java.util.Vector options)
      • DeleteAttribute

        public int DeleteAttribute​(java.lang.String name)
      • GetNoDataValueAsDouble

        public void GetNoDataValueAsDouble​(java.lang.Double[] val)
      • GetNoDataValueAsString

        public java.lang.String GetNoDataValueAsString()
      • SetNoDataValueDouble

        public int SetNoDataValueDouble​(double d)
      • SetNoDataValueString

        public int SetNoDataValueString​(java.lang.String nodata)
      • DeleteNoDataValue

        public int DeleteNoDataValue()
      • GetOffset

        public void GetOffset​(java.lang.Double[] val)
      • GetOffsetStorageType

        public int GetOffsetStorageType()
      • GetScale

        public void GetScale​(java.lang.Double[] val)
      • GetScaleStorageType

        public int GetScaleStorageType()
      • SetOffset

        public int SetOffset​(double val,
                             int storageType)
      • SetOffset

        public int SetOffset​(double val)
      • SetScale

        public int SetScale​(double val,
                            int storageType)
      • SetScale

        public int SetScale​(double val)
      • SetUnit

        public int SetUnit​(java.lang.String unit)
      • GetUnit

        public java.lang.String GetUnit()
      • GetView

        public MDArray GetView​(java.lang.String viewExpr)
      • Transpose

        public MDArray Transpose​(int[] axisMap)
      • GetUnscaled

        public MDArray GetUnscaled()
      • GetMask

        public MDArray GetMask​(java.util.Vector options)
      • GetMask

        public MDArray GetMask()
      • GetGridded

        public MDArray GetGridded​(java.lang.String pszGridOptions,
                                  MDArray xArray,
                                  MDArray yArray,
                                  java.util.Vector options)
      • GetGridded

        public MDArray GetGridded​(java.lang.String pszGridOptions,
                                  MDArray xArray,
                                  MDArray yArray)
      • GetGridded

        public MDArray GetGridded​(java.lang.String pszGridOptions,
                                  MDArray xArray)
      • GetGridded

        public MDArray GetGridded​(java.lang.String pszGridOptions)
      • AsClassicDataset

        public Dataset AsClassicDataset​(long iXDim,
                                        long iYDim,
                                        Group hRootGroup,
                                        java.util.Vector options)
      • AsClassicDataset

        public Dataset AsClassicDataset​(long iXDim,
                                        long iYDim,
                                        Group hRootGroup)
      • AsClassicDataset

        public Dataset AsClassicDataset​(long iXDim,
                                        long iYDim)
      • GetStatistics

        public Statistics GetStatistics​(boolean approx_ok,
                                        boolean force)
      • GetStatistics

        public Statistics GetStatistics​(boolean approx_ok)
      • GetStatistics

        public Statistics GetStatistics()
      • ComputeStatistics

        public Statistics ComputeStatistics​(boolean approx_ok,
                                            ProgressCallback callback,
                                            java.util.Vector options)
      • ComputeStatistics

        public Statistics ComputeStatistics​(boolean approx_ok)
      • ComputeStatistics

        public Statistics ComputeStatistics()
      • Cache

        public boolean Cache​(java.util.Vector options)
      • Cache

        public boolean Cache()
      • Rename

        public int Rename​(java.lang.String newName)
      • GetDimension

        public Dimension GetDimension​(long index)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            byte[] arrayOut)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            short[] arrayOut)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            int[] arrayOut)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            long[] arrayOut)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            float[] arrayOut)
      • Read

        public boolean Read​(long[] starts,
                            long[] counts,
                            long[] steps,
                            long[] strides,
                            double[] arrayOut)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             byte[] arrayIn)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             short[] arrayIn)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             int[] arrayIn)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             long[] arrayIn)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             float[] arrayIn)
      • Write

        public boolean Write​(long[] starts,
                             long[] counts,
                             long[] steps,
                             long[] strides,
                             double[] arrayIn)