EDCS Reference Manual
Concept Mapping from EDCS 3.x to EDCS 4.0
|
This document describes how environmental concepts are mapped from the EDCS Version 3.x
(including, in particular, EDCS Version 3.1) to EDCS Version 4.0.
Table of Contents
- Denoting Concepts
- Attribute Value Characteristics
- EDCS Data Types
- Mapping Concepts
- Mapping API Functions
- Mapping API Data Structures
- Mapping API Use Examples
Part 1: Concept Mapping from EDCS Version 3.x to Version 4.0
1. Denoting Concepts
The EDCS Version 4.0 has no significant changes from EDCS Version 3.x in the manner
in which EDCS concepts (classifications, attributes, enumerants, and units of measure)
are denoted -- i.e., how each unique concept may be referenced by either humans or software.
2. Attribute Value Characteristics
In EDCS Version 3.x, there was a dictionary called the EDCS Attribute Value Metadata
dictionary that contained concepts which were descriptions of the attribute data value
rather than the attribute data value itself.
In EDCS Version 4.0, the EDCS Attribute Value Metadata dictionary has been renamed as the
EDCS Attribute Value Characteristics Dictionary, however the meaning of the concepts within
the dictionary remain the same. Also, one concept has been removed from the dictionary
(SIGNFICANT_DIGITS), and others have had their codes changed. See the mapping tables for
the EDCS Attribute Value Metadata concepts.
3. EDCS Data Types
With EDCS Version 4.0, several additional datatypes have been added to help store
the various types of values are associated with EDCS Attributes. For a full description of
the data types and where they are used see the EDCS 4.0 Types HTML documentation.
4. Mapping Concepts
While the concepts encoded using the EDCS Version 3.x are encoded the same way for EDCS Version
4.0, many the concepts themselves have had their labels and/or codes changed. However, essentially all
concepts supported by EDCS Version 3.x are also supported by EDCS Version 4.0, albeit sometimes using a
combination of several EDCS Version 4.0 "atomic" concepts. In many cases the EDCS 3.1 concept label will
be exactly the same as the EDCS 4.0 concept label, but the code for those labels will be different.
The tables at the end of this section document the mapping of concepts from EDCS Version 3.x to EDCS
Version 4.0. In the significant majority of cases, the concept mapping is one-to-one and direct.
In some cases, however, the mapping is more complex.
These tables document the mappings for each of the concept types in EDCS Version 3.x:
classifications, attributes, enumerants, groups, and metadata. In addition to
listing the "EDCS 3.1 Code" and "EDCS 3.1 "Label""
for each concept, each table includes the columns "EDCS 4.0 Concept Mapping Type",
"EDCS 4.0 Concept Mapping Information", and "Additional Notes".
-
The value of "EDCS 4.0 Concept Mapping Type" defines how to interpret and
use the information listed in "EDCS 4.0 Concept Mapping Information".
-
The value of "Additional Notes" includes human-interpretable information that either
clarifies the rationale behind the mapping type, or provides additional information
for special cases.
The Concept Mapping Types are as follows:
-
ONE_TO_ZERO - The EDCS Version 3.x concept does not exist in the EDCS Version 4.0.
The "EDCS 4.0 Concept Mapping Information" column will be empty.
-
ONE_TO_ONE -
The EDCS Version 3.x concept is mapped directly to a single EDCS Version
4.0 concept. The "EDCS 4.0 Concept Mapping Information" column will contain the
symbolic constant of the appropriate EDCS Version 4.0 concept.
-
ONE_TO_MANY -
The EDCS Version 3.x concept possibly maps to two or more different EDCS Version 4.0 concepts.
The "EDCS 4.0 Concept Mapping Information" column will be empty and the "Additional Notes" column
will contain information about the possible EDCS Version 4.0 concepts.
Example:
- 3.x Attribute maps to two different 4.0 Attributes
EAC_EXTREME_AIR_TEMPERATURE
maps to
EAC_EXTREME_HIGH_AIR_TEMPERATURE or
EAC_EXTREME_LOW_AIR_TEMPERATURE
-
CHANGE_IN_DATATYPE -
The EDCS Version 3.x concept is mapped directly to a single
EDCS Version 4.0 concept, however the data type used to represent the value of the
concept has changed.
Examples:
- 3.x Attribute value of type ENUMERANT maps to 4.0 Attribute value of type BOOLEAN
EAC_UNCOVERING_HEIGHT_INFORMATION
with ENUMERANT value of EEC_UNCVRHGTINF_KNOWN
maps to
EAC_UNCOVERING_HEIGHT_KNOWN
with the BOOLEAN value of TRUE
- 3.x Attribute value of type ENUMERANT maps to 4.0 Attribute value of type CONSTRAINED_STRING
EAC_NATIONAL_PAINT_SCHEME
with ENUMERANT value of EEC_NATLPAINTSCHEM_ARGENTINA
maps to
EAC_NATIONAL_PAINT_SCHEME with the CONSTRAINED_STRING value of "ARGENTINA"
-
SPECIAL_CASE - These cases will require some human reasoning to determine the best way to realize
the EDCS Version 3.x concept in EDCS Version 4.0. Both the "EDCS 4.0 Concept Mapping Information" column and "Additional Notes" column contains information giving recommendations regarding how to handle the specific case.
When the Concept Mapping Type is ONE_TO_ONE or
CHANGE_IN_DATATYPE, then the
"EDCS 4.0 Concept Mapping Information" column has very specific formatted
information in it. It will be one or more of the following possibilities
(multiple concepts will be of this form, separated by semicolons):
- (Classification)
The symbolic constant of a single EDCS Version 4.0 classification
concept; there will be no additional information.
- (Attribute)
The symbolic constant of a single EDCS Version 4.0 attribution
concept; there will be no additional information.
- (Attribute) - (value)
The label of a single EDCS Version 4.0 attribute
concept with a specific (value).
The type of the (value) by default is ENUMERANT, and
the value displayed will be the label of the ENUMERANT.
However, if the Concept Mapping Type is CHANGE_IN_DATATYPE
then then value will be proceded by the type.
Examples:
ACOUSTIC_CENTRE_FREQUENCY_BAND - BAND_1_HZ
NATIONAL_PAINT_SCHEME - constrained string "LAO_PEOPLES_DEM_REPUBLIC"
UNCOVERING_HEIGHT_KNOWN - boolean EDCS_TRUE
Part 2: Mapping Tables for EDCS Version 3.1 to EDCS Version 4.0
Part 3: Mapping API for EDCS Version 3.x to EDCS Version 4.0
This section describes the EDCS Version 3.x to EDCS Version 4.0 Mapping API
functions, data structures, and use examples.
1. Mapping API Functions
-
EDCS 3.x to EDCS 4.0 Mapping Functions
2. Mapping API Data Structures
-
EDCS 4.0 main mapping data structures:
-
EDCS 4.0 common mapping data structures used in the main structures:
3. Mapping API Use Examples
- Concept mapping from EDCS Version 3.x classifications
-
map_3p1_classification.c:
A sample program taking a list of EDCS Version 3.x
classification codes or labels on the command line, and
printing out the associated EDCS Version 4.0 concept mapping information.
Example: To retrieve mapping information for ECC_ANTENNA
and ECC_ANTENNA_SUPPORT_MAST:
"map_3p1_classification ANTENNA ANTENNA_SUPPORT_MAST"
OR
"map_3p1_classification 60 61"
Example Output:
"EDCS 3.1 classification ANTENNA maps exactly to the EDCS 4.0 classification symbolic constant ECC_AERIAL
EDCS 3.1 classification ANTENNA_SUPPORT_MAST maps exactly to the EDCS 4.0 classification symbolic constant ECC_AERIAL_SUPPORT_MAST"
- Concept mapping from EDCS Version 3.x attributes
-
map_3p1_attribute.c:
A sample program taking a list of EDCS Version 3.x
attribute codes or labels on the command line, and printing out the
associated EDCS Version 4.0 concept mapping information.
Example: To retrieve mapping information for
EAC_MEDIAN and EAC_MEDIAN_WIDTH:
"map_3p1_attribute MEDIAN MEDIAN_WIDTH"
OR
"map_3p1_attribute 657 658"
Example Output:
"EDCS 3.1 attribute MEDIAN maps exactly to the EDCS 4.0 attribute symbolic constant EAC_LAND_TRNSP_MEDIAN_PRESENT.
EDCS 3.1 attribute MEDIAN_WIDTH maps exactly to the EDCS 4.0 attribute symbolic constant EAC_LAND_TRNSP_MEDIAN_WIDTH."
- Concept mapping from EDCS Version 3.x attribute enumerants
-
map_3p1_enumerant.c:
A sample program taking a list of comma separated pairs of
EDCS Version 3.x attribute codes and enumerant codes or attribute labels
and enumerant labels on the command line, and printing out the
associated EDCS Version 4.0 concept mapping information.
Example: To find mapping information for
EAC_COMMUNICATION_TYPE with the enumerant value of EEC_COMMTY_BEACON, and
EAC_CLOUD_CEILING_METHOD with the value of EEC_CLDCEILMETH_RADAR:
"map_3p1_enumerant COMMUNICATION_TYPE,BEACON 196,7
Example Output:
EDCS 3.1 attribute COMMUNICATION_TYPE with enumerant BEACON maps exactly to the EDCS 4.0 attribute symbolic constant EAC_COMMUNICATION_STRUCTURE_TYPE with the enumerant symbolic constant EEC_COMMSTRTY_BEACON
EDCS 3.1 attribute CLOUD_CEILING_METHOD with enumerant RADAR maps exactly to the EDCS 4.0 attribute symbolic constant EAC_ATM_CEILING_METHOD with the enumerant symbolic constant EEC_ATMCEILMETH_RADAR
- Concept mapping from EDCS Version 3.x groups
-
map_3p1_group.c:
A sample program taking a list of EDCS Version 3.x
group codes or labels on the command line, and printing out the
associated EDCS Version 4.0 concept mapping information.
Example: To retrieve mapping information for
EGC_GEN_ABSTRACT_CONCEPT and EGC_GEN_BATHYMETRY:
"map_3p1_group ABSTRACT_CONCEPT BATHYMETRY"
OR
"map_3p1_group 1 13"
Example Output:
EDCS 3.1 group ABSTRACT_CONCEPT maps exactly to the EDCS 4.0 group symbolic constant EGC_GEN_ABSTRACT_OBJECT
EDCS 3.1 group BATHYMETRY maps exactly to the EDCS 4.0 group symbolic constant EGC_GEN_HYDROLOGY
- Concept mapping from EDCS Version 3.x metadata
-
map_3p1_metadata.c:
A sample program taking a list of EDCS Version 3.x
metadata codes or labels on the command line, and printing out the
associated EDCS Version 4.0 concept mapping information.
Example: To retrieve mapping information for
EMC_SIGNIFICANT_DIGITS and EMC_TOLERANCE:
"map_3p1_metadata SIGNIFICANT_DIGITS TOLERANCE"
OR
"map_3p1_metadata 12 13"
Example Output:
"EDCS 3.1 metadata SIGNIFICANT_DIGITS maps to no EDCS 4.0 concept. The concept was deleted.
"Notes: No mapping
EDCS 3.1 metadata TOLERANCE maps exactly to the EDCS 4.0 metadata symbolic constant EVC_TOLERANCE
Return to:
Migration Index,
EDCS Home
Last updated: July 16, 2004
|
Copyright © 2004 SEDRIS
|
|