Package org.gdal.gdal
Class MDArray
- java.lang.Object
-
- org.gdal.gdal.MDArray
-
public class MDArray extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetAsClassicDataset(long iXDim, long iYDim)DatasetAsClassicDataset(long iXDim, long iYDim, Group hRootGroup)DatasetAsClassicDataset(long iXDim, long iYDim, Group hRootGroup, java.util.Vector options)booleanCache()booleanCache(java.util.Vector options)StatisticsComputeStatistics()StatisticsComputeStatistics(boolean approx_ok)StatisticsComputeStatistics(boolean approx_ok, ProgressCallback callback)StatisticsComputeStatistics(boolean approx_ok, ProgressCallback callback, java.util.Vector options)AttributeCreateAttribute(java.lang.String name, long[] dimensions, ExtendedDataType data_type)AttributeCreateAttribute(java.lang.String name, long[] dimensions, ExtendedDataType data_type, java.util.Vector options)voiddelete()intDeleteAttribute(java.lang.String name)intDeleteAttribute(java.lang.String name, java.util.Vector options)intDeleteNoDataValue()AttributeGetAttribute(java.lang.String name)ExtendedDataTypeGetDataType()DimensionGetDimension(long index)longGetDimensionCount()Dimension[]GetDimensions()java.lang.StringGetFullName()MDArrayGetGridded(java.lang.String pszGridOptions)MDArrayGetGridded(java.lang.String pszGridOptions, MDArray xArray)MDArrayGetGridded(java.lang.String pszGridOptions, MDArray xArray, MDArray yArray)MDArrayGetGridded(java.lang.String pszGridOptions, MDArray xArray, MDArray yArray, java.util.Vector options)MDArrayGetMask()MDArrayGetMask(java.util.Vector options)java.lang.StringGetName()voidGetNoDataValueAsDouble(java.lang.Double[] val)java.lang.StringGetNoDataValueAsString()voidGetOffset(java.lang.Double[] val)intGetOffsetStorageType()voidGetScale(java.lang.Double[] val)intGetScaleStorageType()SpatialReferenceGetSpatialRef()StatisticsGetStatistics()StatisticsGetStatistics(boolean approx_ok)StatisticsGetStatistics(boolean approx_ok, boolean force)StatisticsGetStatistics(boolean approx_ok, boolean force, ProgressCallback callback)java.util.HashtableGetStructuralInfo()longGetTotalElementsCount()java.lang.StringGetUnit()MDArrayGetUnscaled()MDArrayGetView(java.lang.String viewExpr)booleanRead(long[] starts, long[] counts, byte[] outputBuffer)booleanRead(long[] starts, long[] counts, double[] outputBuffer)booleanRead(long[] starts, long[] counts, float[] outputBuffer)booleanRead(long[] starts, long[] counts, int[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, byte[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, double[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, float[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, int[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, long[] outputBuffer)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, byte[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, double[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, float[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, int[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, long[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, long[] strides, short[] arrayOut)booleanRead(long[] starts, long[] counts, long[] steps, short[] outputBuffer)booleanRead(long[] starts, long[] counts, short[] outputBuffer)intRename(java.lang.String newName)intResize(long[] newDimensions)intResize(long[] newDimensions, java.util.Vector options)intSetNoDataValueDouble(double d)intSetNoDataValueString(java.lang.String nodata)intSetOffset(double val)intSetOffset(double val, int storageType)intSetScale(double val)intSetScale(double val, int storageType)intSetSpatialRef(SpatialReference srs)intSetUnit(java.lang.String unit)MDArrayTranspose(int[] axisMap)booleanWrite(long[] starts, long[] counts, byte[] inputBuffer)booleanWrite(long[] starts, long[] counts, double[] inputBuffer)booleanWrite(long[] starts, long[] counts, float[] inputBuffer)booleanWrite(long[] starts, long[] counts, int[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, byte[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, double[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, float[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, int[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, long[] inputBuffer)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, byte[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, double[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, float[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, int[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, long[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, long[] strides, short[] arrayIn)booleanWrite(long[] starts, long[] counts, long[] steps, short[] inputBuffer)booleanWrite(long[] starts, long[] counts, short[] inputBuffer)
-
-
-
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()
-
GetDataType
public ExtendedDataType GetDataType()
-
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()
-
SetSpatialRef
public int SetSpatialRef(SpatialReference srs)
-
GetSpatialRef
public SpatialReference GetSpatialRef()
-
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)
-
AsClassicDataset
public Dataset AsClassicDataset(long iXDim, long iYDim, Group hRootGroup, java.util.Vector options)
-
AsClassicDataset
public Dataset AsClassicDataset(long iXDim, long iYDim)
-
GetStatistics
public Statistics GetStatistics(boolean approx_ok, boolean force, ProgressCallback callback)
-
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, ProgressCallback callback)
-
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)
-
-