com.c5corp.c5dem
Interface C5DemConstants

All Known Implementing Classes:
C5DemAbstractFilter, C5UTM10To30Meter, Corpscon10To30Meter, CorpsconBatch, CorpsconBatchXY, Dem2C51KGrid, Dem2C5PointStats, Dem2C5UTM, SampleFilter

public interface C5DemConstants

Interface C5DemConstants contains final vars used in various places throughout c5dem and related packages

Since:
1.0
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt

Field Summary
static java.lang.String copy
          public final String copy contains copyright information
static int E_BIT
          Constant representing and mask for E bit
static double FEETTOMETERS
          public final double FEETTOMETERS = 0.3048;
Constant value for converting meters to feet
One foot 0.3048 meters
static java.lang.String[] hdatum
          public final String[] hdatum contains the values "NAD27","WGS72","WGS84","NAD83", "OLD Hawaii","Puerto Rico","NAD83 provisional".
static double METERSTOFEET
          public final double METERSTOFEET = 3.28084;
Constant value for converting meters to feet.
static int N_BIT
          Constant representing and mask for N bit
static int NE_BIT
          Constant representing and mask for NE bit
static int NW_BIT
          Constant representing and mask for NW bit
static int S_BIT
          Constant representing and mask for S bit
static int SE_BIT
          Constant representing and mask for SE bit
static int SW_BIT
          Constant representing and mask for SW bit
static java.lang.String[] system
          public final String[] system defines the ground planimetric reference system, data element 5 in the dem specification.
static java.lang.String[] units
          public final String[] units containns the values "feet","meters","arc seconds".
static java.lang.String[] vdatum
          public final String[] vdatum containts the values "mean sea level", "NGVD29", "NAVD88".
static int W_BIT
          Constant representing and mask for W bit
 

Field Detail

system

static final java.lang.String[] system
public final String[] system defines the ground planimetric reference system, data element 5 in the dem specification. 0=Geographic, 1=UTM, 2=State plane. Code 0 represents the geographic (latitude/longitude) system for 30-minute, 1-degree and Alaska DEM's. Code 1 represents the current use of the UTM coordinate system for 7.5-minute DEM's. (Pretty much all contemporary dems...)

See Also:
Dem.get_planimetric_system()

units

static final java.lang.String[] units
public final String[] units containns the values "feet","meters","arc seconds". These are the horizontal units specified in the Dem specification. For example, if the horizontal unit is equal to 1, then the dem file horizontal unit is meters. units[1] is also equal to meters, which is useful for comparison.

See Also:
Dem.get_planimetric_unit()

vdatum

static final java.lang.String[] vdatum
public final String[] vdatum containts the values "mean sea level", "NGVD29", "NAVD88". These are various vertical datums that might be found in dem files. These are in the order of the dem specification, but 0 based. Thus if the vertical datum element in a dem (Element 26) is equal to 2, it is a NGVD29 file, and hdatam[1] (horizontal datum -1) equals NGVD29, which is useful for comparison.

See Also:
Dem.get_vertical_datum()

hdatum

static final java.lang.String[] hdatum
public final String[] hdatum contains the values "NAD27","WGS72","WGS84","NAD83", "OLD Hawaii","Puerto Rico","NAD83 provisional". These are various horizontal datums that might be found in dem files. These are in the order of the dem specification, but 0 based. Thus if the horizontal datum element in a dem (Element 27) is equal to 1, it is a NAD27 file, hdatam[0] (horizontal datum -1) equals NAD27, which is useful for comparison.

See Also:
Dem.get_horizontal_datum()

copy

static final java.lang.String copy
public final String copy contains copyright information

See Also:
Constant Field Values

METERSTOFEET

static final double METERSTOFEET
public final double METERSTOFEET = 3.28084;
Constant value for converting meters to feet. One meter 3.2808 feet

See Also:
Constant Field Values

FEETTOMETERS

static final double FEETTOMETERS
public final double FEETTOMETERS = 0.3048;
Constant value for converting meters to feet
One foot 0.3048 meters

See Also:
Constant Field Values

NW_BIT

static final int NW_BIT
Constant representing and mask for NW bit

See Also:
Constant Field Values

W_BIT

static final int W_BIT
Constant representing and mask for W bit

See Also:
Constant Field Values

SW_BIT

static final int SW_BIT
Constant representing and mask for SW bit

See Also:
Constant Field Values

S_BIT

static final int S_BIT
Constant representing and mask for S bit

See Also:
Constant Field Values

SE_BIT

static final int SE_BIT
Constant representing and mask for SE bit

See Also:
Constant Field Values

E_BIT

static final int E_BIT
Constant representing and mask for E bit

See Also:
Constant Field Values

NE_BIT

static final int NE_BIT
Constant representing and mask for NE bit

See Also:
Constant Field Values

N_BIT

static final int N_BIT
Constant representing and mask for N bit

See Also:
Constant Field Values