public class DataStoreMetadata extends java.lang.Object implements Metadata
| Modifier and Type | Field and Description |
|---|---|
protected DataStoreColorInterpretation |
colorInterpr |
protected java.lang.String[] |
metadataString
Metadatos
|
protected double[] |
noDataByBand
Valores no data para cada banda de la imagen (si los tiene)
|
protected boolean |
noDataEnabled
Valor para saber si el NoData esta activo
|
| Constructor and Description |
|---|
DataStoreMetadata(java.lang.String[] metadata,
DataStoreColorInterpretation colorInterpr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
java.lang.String[] |
getMetadataString()
Obtiene los metadatos en forma de vector de cadenas
|
double[] |
getNoDataValue()
Devuelve el valor NoData en forma de array.
|
double |
getNoDataValue(int band)
Devuelve el valor NoData para una banda en concreto.
|
void |
initNoDataByBand(int values)
Inicializa los valores no data;
|
boolean |
isNoDataEnabled()
Devuelve si el valor NoData esta activo
|
TransparencyRange |
parserNodataByBand()
Crea un objeto TransparencyRange a partir de los rangos de transparencia
|
TransparencyRange[] |
parserNodataInMetadata()
Parsea los metadatos NODATA_VALUES si existe alguno y devuelve un objeto TransparencyRange.
|
void |
setNoDataEnabled(boolean noDataEnabled)
Establece si el valor NoData esta activo
|
void |
setNoDataValue(int band,
double value)
Asigna un valor para el valor noData por banda
|
protected double[] noDataByBand
protected boolean noDataEnabled
protected java.lang.String[] metadataString
protected DataStoreColorInterpretation colorInterpr
public DataStoreMetadata(java.lang.String[] metadata,
DataStoreColorInterpretation colorInterpr)
public TransparencyRange parserNodataByBand()
public TransparencyRange[] parserNodataInMetadata()
nodata - public void initNoDataByBand(int values)
initNoDataByBand in interface Metadatavalues - public void setNoDataValue(int band,
double value)
setNoDataValue in interface Metadataband - Bandavalue - valorpublic double getNoDataValue(int band)
getNoDataValue in interface Metadataband - public double[] getNoDataValue()
getNoDataValue in interface Metadatapublic java.lang.String[] getMetadataString()
getMetadataString in interface Metadatapublic boolean isNoDataEnabled()
isNoDataEnabled in interface Metadatapublic void setNoDataEnabled(boolean noDataEnabled)
setNoDataEnabled in interface MetadatanoDataEnabled - protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable