public class ElevationsUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
DEM_DEFAULT_MISSING_SIGNAL |
static double |
DTED_DEFAULT_MISSING_SIGNAL |
protected static double[] |
knownMissingSignals |
static double |
SRTM_DEFAULT_MISSING_SIGNAL |
Constructor and Description |
---|
ElevationsUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isKnownMissingSignal(java.lang.Double value)
Checks if the
value is one of the well-known "nodata" value used in digital elevation model files
to specify missing areas / voids. |
static void |
rectify(ByteBufferRaster raster)
Rectify elevation raster.
|
public static final double DEM_DEFAULT_MISSING_SIGNAL
public static final double DTED_DEFAULT_MISSING_SIGNAL
protected static final double[] knownMissingSignals
public static final double SRTM_DEFAULT_MISSING_SIGNAL
public static boolean isKnownMissingSignal(java.lang.Double value)
value
is one of the well-known "nodata" value used in digital elevation model files
to specify missing areas / voids.value
- a value to checkTRUE
, if the value is one of the well known "nodata" valuespublic static void rectify(ByteBufferRaster raster) throws java.lang.IllegalArgumentException
rectify()
operation validates that correct Elevation min and max values are set or calculated.
All values that beyond min/max and voids, must be marked with "Missing Signal" (aka "nodata" value).raster
- A DataRaster to rectifyjava.lang.IllegalArgumentException
- if raster
is null