The SEDRIS Data Representation Model
APPENDIX A - Classes
Regular Axis

Class Name: Regular Axis

Superclass - <Axis>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class is an <Axis> that uses a constant spacing between hash marks and numerical values.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

This class appears on only one page of the DRM class diagram.

Example

  1. Digital Terrain Elevation Data (DTED) is sampled in a regular grid of latitude and longitude points. Accordingly, the latitude and longitude <Axis> resulting <Data Table> are <Regular Axis> instances.

  2. A table of wind-chill values has axes of air temperature and wind speed. Air temperature typically starts at 0 degree Celsius and is decremented in intervals of 1 degree. Wind speed starts at calm (0 mph) and is incremented at intervals of 5 mph. Consequently, the air temperature and wind-speed axes of this table are <Regular Axis> instances.

FAQs

What is the purpose of the axis_alignment field?

The axis_alignment field provides flexibility in specifying how cells are centred with respect to middle, edge, corner, and so on.

Consider the following 4 (of 9 possible) cases for 2-D grids.

The * indicates the location where the tick mark coordinates intersect in the cell relative to the cell edges. The grid of points determined by axis tick marks represent the location of, to name a few examples, the centre, lower left corner, upper right corner, or edge, respectively, of the corresponding cell. The axis_alignment field therefore indicates the axis alignment being used.

              FACE CNTR    LR LFT CORNER   UP RT CORNER      EDGE

 Axis 1       -------        -------          ------*      -------
 ^            |     |        |     |          |     |      |     |
 |            |  *  |        |     |          |     |      *     |
 |            |     |        |     |          |     |      |     |
  --> Axis 0  -------        *------          -------      -------
Axis 0: SE_AXIS_ALNMNT_MIDDLE SE_AXIS_ALNMNT_LOWER SE_AXIS_ALNMNT_UPPER SE_AXIS_ALNMNT_LOWER
Axis 1: SE_AXIS_ALNMNT_MIDDLE SE_AXIS_ALNMNT_LOWER SE_AXIS_ALNMNT_UPPER SE_AXIS_ALNMNT_MIDDLE

Constraints

Component of (two-way) (inherited)

Inherited Field Elements

EDCS_Attribute_Code axis_type; (notes)
SE_Short_Integer_Positive axis_value_count; (notes)

Field Elements

EDCS_Unit_Code value_unit; (notes)
EDCS_Scale_Code value_scale; (notes)
SE_Interpolation_Type interpolation_type; (notes)
SE_Single_Value first_value; (notes)
SE_Single_Value spacing; (notes)
SE_Spacing_Type spacing_type; (notes)
SE_Axis_Alignment axis_alignment; (notes)

Notes

Fields Notes


axis_type

 The axis_type field specifies the property being described by the
 given <Axis> instance.

axis_value_count

 The axis_value_count field specifies the number of "hash marks"
 along the given <Axis> instance.

value_unit

 The value_unit field specifies the unit of measurement of the given
 <Regular Axis> instance, which shall be compatible with the
 requirements imposed by axis_type.

 If axis_type does not require a unit of measurement (for example,
 if axis_type requires a value type of STRING), then value_unit
 shall be set to EUC_UNITLESS.

value_scale

 The value_scale field specifies the scale applicable to value_unit.

 If axis_type does not require a unit of measurement (for example,
 if axis_type requires a value type of STRING), then value_scale
 shall be set to ESC_UNI.

interpolation_type

 The interpolation_type field allows the data provider to indicate
 how best to interpolate the data to points that are between grid
 points on the axis. When a <Data Table> has more than one axis,
 the order of the interpolations is in the order of axis definitions.

first_value

 The first_value field specifies the first numeric value on the axis.

spacing

 The spacing field specifies the distance between tick marks.

 For SE_SPACING_TYP_ARITHMETIC, spacing is the
 arithmetic difference between tick marks, such
 that Tick(N) = first_value + (N * spacing)

 For SE_SPACING_TYP_GEOMETRIC, spacing is the
 difference between tick marks such
 that Tick(N) = first_value * (spacing^N)

spacing_type

 The spacing_type field specifies how the spacing value is used to
 compute tick marks.

axis_alignment

 The axis_alignment field specifies the position of the axis
 with respect to the axis interval. Note that "lower" and "upper"
 refer to the axis INDEX; for example, "lower" means
 "aligned to the side with the lower index".

Prev: Reference Vector Control Link. Next: Relative Time. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS