Package org.gdal.gdal
Class MDArray
java.lang.Object
org.gdal.gdal.MDArray
-
Method Summary
Modifier and TypeMethodDescriptionAsClassicDataset
(long iXDim, long iYDim) AsClassicDataset
(long iXDim, long iYDim, Group hRootGroup) AsClassicDataset
(long iXDim, long iYDim, Group hRootGroup, Vector options) boolean
Cache()
boolean
ComputeStatistics
(boolean approx_ok) ComputeStatistics
(boolean approx_ok, ProgressCallback callback) ComputeStatistics
(boolean approx_ok, ProgressCallback callback, Vector options) CreateAttribute
(String name, long[] dimensions, ExtendedDataType data_type) CreateAttribute
(String name, long[] dimensions, ExtendedDataType data_type, Vector options) void
delete()
int
DeleteAttribute
(String name) int
DeleteAttribute
(String name, Vector options) int
GetAttribute
(String name) GetDimension
(long index) long
GetGridded
(String pszGridOptions) GetGridded
(String pszGridOptions, MDArray xArray) GetGridded
(String pszGridOptions, MDArray xArray, MDArray yArray) GetGridded
(String pszGridOptions, MDArray xArray, MDArray yArray, Vector options) GetMask()
GetName()
void
GetNoDataValueAsDouble
(Double[] val) void
int
void
int
GetStatistics
(boolean approx_ok) GetStatistics
(boolean approx_ok, boolean force) GetStatistics
(boolean approx_ok, boolean force, ProgressCallback callback) long
GetUnit()
boolean
Read
(long[] starts, long[] counts, byte[] outputBuffer) boolean
Read
(long[] starts, long[] counts, double[] outputBuffer) boolean
Read
(long[] starts, long[] counts, float[] outputBuffer) boolean
Read
(long[] starts, long[] counts, int[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, byte[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, double[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, float[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, int[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] outputBuffer) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, byte[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, double[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, float[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, int[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, long[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, long[] strides, short[] arrayOut) boolean
Read
(long[] starts, long[] counts, long[] steps, short[] outputBuffer) boolean
Read
(long[] starts, long[] counts, short[] outputBuffer) int
int
Resize
(long[] newDimensions) int
int
SetNoDataValueDouble
(double d) int
SetNoDataValueString
(String nodata) int
SetOffset
(double val) int
SetOffset
(double val, int storageType) int
SetScale
(double val) int
SetScale
(double val, int storageType) int
int
Transpose
(int[] axisMap) boolean
Write
(long[] starts, long[] counts, byte[] inputBuffer) boolean
Write
(long[] starts, long[] counts, double[] inputBuffer) boolean
Write
(long[] starts, long[] counts, float[] inputBuffer) boolean
Write
(long[] starts, long[] counts, int[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, byte[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, double[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, float[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, int[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] inputBuffer) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, byte[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, double[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, float[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, int[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, long[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, long[] strides, short[] arrayIn) boolean
Write
(long[] starts, long[] counts, long[] steps, short[] inputBuffer) boolean
Write
(long[] starts, long[] counts, short[] inputBuffer)
-
Method Details
-
delete
public void delete() -
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
-
GetFullName
-
GetTotalElementsCount
public long GetTotalElementsCount() -
GetDimensionCount
public long GetDimensionCount() -
GetDataType
-
GetStructuralInfo
-
Resize
-
Resize
public int Resize(long[] newDimensions) -
GetAttribute
-
CreateAttribute
public Attribute CreateAttribute(String name, long[] dimensions, ExtendedDataType data_type, Vector options) -
CreateAttribute
-
DeleteAttribute
-
DeleteAttribute
-
GetNoDataValueAsDouble
-
GetNoDataValueAsString
-
SetNoDataValueDouble
public int SetNoDataValueDouble(double d) -
SetNoDataValueString
-
DeleteNoDataValue
public int DeleteNoDataValue() -
GetOffset
-
GetOffsetStorageType
public int GetOffsetStorageType() -
GetScale
-
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
-
GetUnit
-
SetSpatialRef
-
GetSpatialRef
-
GetView
-
Transpose
-
GetUnscaled
-
GetMask
-
GetMask
-
GetGridded
-
GetGridded
-
GetGridded
-
GetGridded
-
AsClassicDataset
-
AsClassicDataset
-
AsClassicDataset
-
GetStatistics
-
GetStatistics
-
GetStatistics
-
GetStatistics
-
ComputeStatistics
-
ComputeStatistics
-
ComputeStatistics
-
ComputeStatistics
-
Cache
-
Cache
public boolean Cache() -
Rename
-
GetDimension
-
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)
-