Annotation list CSV import file format

From CwWiki

Jump to: navigation, search
# track,section,group,text,type,[position],url
1. "track"
A text string. Should have a track with the same name created before you load the CSV annotation file.

2. "section"
A text string. Should have a image section loaded with the same name loaded before you load the CSV annotation list file.

3. "group"
One out of 8 groups: UNDEFINED, SEDIMENTOLOGY, GEOPHYSICS, BIOCHEMISTRY, OPERATIONAL, EDUCATIONAL, LITHOLOGY, PETROLOGY
Will have different color coding in visualization.

4. "text"
A short text string.

5. "type" and 6. - 9. position (4 values, including depths)
Type: One out of 3 types: CORE_POINT_MARKER, CORE_SPAN_MARKER or CORE_OUTLINE_MARKER.

About 4 position values (topDepth, topWidth, bottomDepth, bottomWidth) (Shown as p0, p1, p2, p3 in the following screenshots):
If the measurement along the depth is using 'mbsf', instead of down core measurement, in "p0" column of the first line of CSV
file need to be specified as "p0:mbsf"

CORE_POINT_MARKER:
topDepth: depth-direction measurement
topWidth: cross-core-direction measurement

CORE_SPAN_MARKER:
topDepth: the start interval
topWidth: will be ignored
bottomDepth: the end interval
bottomWidth: will be ignored

CORE_OUTLINE_MARKER:
(topDepth, topWidth) specify the upper left corner measures of the outlined rectangle.
(bottomDepth, bottomWidth) specify the lower right corner measure of the outlined rectangle.

Measurements: Here shows the diagram of measurements relative to the origin of a core section image. If the "mbsf" option is specified in the title column, the measurements (depth) will be made from the depth '0' (bottom of the sea floor). The unit is in meters.

Image:Relative_CORE_POINT_MARKER.jpg

Image:Relative_CORE_SPAN_MARKER.jpg

Image:Relative_CORE_OUTLINE_MARKER.jpg

10. "url"
a. The number of values in the line is 10, and the 10th value is a URL string, then a annotation marker will be created
using the URL as associated annotation content.

b. If each line having more than 10 values, all strings after 10. (including 10.) will be put into the annotation file content.
  • Example (Coming soon)
    • Example CML session file with no annotations
    • Annotation CSV list example file