Type 5000 files contain record-oriented data structures. These more complex structures typically support operations dealing with motion in three-dimensional space, such as orbital state vectors and propagation of electromagnetic energy. In a Type 5000 file one data element is one record, but now the record contains up to 14 contiguous components. Each component is associated with a name and data format, but because they are contiguous no offset is needed. Instead, the component takes on a unit value and a type value, such as spherical, Cartesian, geodetic, etc. In addition, the Type 5000 header can contain quadwords defining the frame of reference for the file. The header of Type 5000 files contains:
There are several special classes of Type 5000 files, each with a specific purpose. The class for each is determined by the names of the components in the file.
| Class Name | Component Names (Type) | Example |
|---|---|---|
| Position | POS (VD) |
cities.prm |
| Ellipse | POS (VD) |
ellipse5000.prm |
| EllipseFlags | POS (VD) |
ellipseflags5000.prm |
| Cone | POS (VD) |
cone5000.prm |
| ConeFlags | POS (VD) |
coneflags5000.prm |
The complete set of supported fields are listed below. Note that
ELPS and CONE are mutually exclusive. The
NAME and POS fields are required, the other fields
are typically optional (except in the case of the defined file types listed
above).
| Name | Format | Description |
|---|---|---|
NAME |
#A or #Z |
Name of the point. (# is Data Mode) |
NOTE |
#A or #Z |
Note to accompany point. (# is Data Mode) |
POS |
VD |
Point position (ALT,LAT,LON). |
POSP |
VD |
Secondary position for cone (ALT,LAT,LON). |
ELPS |
VD |
Ellipse Parameters (semiMaj,semiMin,tilt).semiMaj - the length of the semi-major axis in meters semiMin - the length of the semi-minor axis in meters tilt - the tilt of the ellipse (i.e. the orientation of the semi-major axis) in degrees where 0=North, 90=East, etc. Note: this should only have values in the range [0,180] since the ellipse is symmetric across the semi-minor axis
|
CONE |
VD |
Cone parameters (radius,angle,angle). |
CONN |
SB |
Draw line to previous point (1=draw or 0=no draw). |
HDG |
SF |
Cardinal heading to use for the symbol (0..360). |
FLAG |
8B |
Draw flags:
FLAG[0] - Length of the name (in characters). |
Newer capabilities for LayerT5 files have recently been added to NeXtMidas. An example of a LayerT5 instance using these capabilities is provided via the link at the bottom of this section. These new capabilities include:
| Name | Format | Description |
|---|---|---|
COLOR |
#A or #Z |
Allows users a wider range of colors compared to using the flags (see macro at the bottom for an example) (# is Data Mode) NOTE: This overrides the flags for setting the color. |
ELLIPSOID |
6D |
Ellipsoids are drawn as a "wire cage" of ellipsoid slices. Slices are made down each axis, which form a set of ellipses.
(see macro at the bottom for an example) (# is Data Mode) NOTE: Either ELLIPSOID or ELPSOID can be used. |
METADATA |
#A or #Z |
Metadata info for each point as a String (usually formatted as a Table). (see macro at the bottom for an example) (# is Data Mode) NOTE: If the metadata provided can't be formatted into a Table, it will default to being a String. Alternate: METADATAFIELDS (see below) |
METADATAFIELDS |
#A or #Z |
As an alternative to METADATA, LayerT5 supports metadata by providing the names of Type 5000 fields as a piped-separated list. These fields are eventually grouped together into a single Midas Table. (see macro at the bottom for an example) (# is Data Mode) NOTE: When METADATAFIELDS is provided, it applies to every point across the whole layer, and it takes precedence over METADATA. |
SYMBOL |
#A or #Z |
Symbol or icon associated with point - Users can now provide the name of a NeXtMidas symbol or icon path
for each point. (see macro at the bottom for an example) (# is Data Mode) |
TIME |
SD |
Point time - Users can now specify the time directly for each point. (see macro at the bottom for an example) NOTE: This overrides having to set the start time and time delta as those values can be meaningless. |