User Tools

Site Tools


trackwork:trackview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trackwork:trackview [2017/01/14 00:33]
mjallison [Example view]
trackwork:trackview [2017/01/18 17:34] (current)
mjallison [Encoding and data]
Line 66: Line 66:
      * A segmented track, specified by the base track id, and a series of segments.      * A segmented track, specified by the base track id, and a series of segments.
      * Segments are composed of start/end times, and a descriptive text string.      * Segments are composed of start/end times, and a descriptive text string.
-     * Segments ​which extend before ​the track start, or track end, may be clipped for display.+     * Segments ​times must not exceed ​the start/end times of the parent track. Start of the first segmentand end of the last segment must also conform to the projects working time. Segments are adjust to fit within the track period and then the working time (if any)
      * Zero or more cycle-lines. For zero cycle lines, do not add the cycle-line field.      * Zero or more cycle-lines. For zero cycle lines, do not add the cycle-line field.
    * The only currently defined UI components are:    * The only currently defined UI components are:
Line 103: Line 103:
                         { "​start":​ 28800,                         { "​start":​ 28800,
                           "​end" ​ : 41400,                           "​end" ​ : 41400,
-                          "text" : "Clay layer",​+                          "label" : "Clay layer",​
                           "​calcStats":​ true },                           "​calcStats":​ true },
                         { "​start":​ 43080,                         { "​start":​ 43080,
                           "​end" ​ : 61200,                           "​end" ​ : 61200,
-                          "text" : "​Sand",​+                          "label" : "​Sand",​
                           "​calcStats":​ false }  ]                           "​calcStats":​ false }  ]
                   },                   },
Line 114: Line 114:
                        "​segments"​ : [ { "​start":​ 28800,                        "​segments"​ : [ { "​start":​ 28800,
                           "​end" ​ : 41400,                           "​end" ​ : 41400,
-                          "text" : "Clay layer" } ],+                          "label" : "Clay layer" } ],
                         "​cycle-line":​ [ [37.1, -121.8, 90], [37.11, -121.81, 90.1]],                         "​cycle-line":​ [ [37.1, -121.8, 90], [37.11, -121.81, 90.1]],
                         "​notes"​ : [ { "​time":​ 41400, "​text"​ : "Pizza arrived"​ },                         "​notes"​ : [ { "​time":​ 41400, "​text"​ : "Pizza arrived"​ },
Line 158: Line 158:
      * optional '​calcStats',​ a boolean indicating if this track contributes to statistics. Absence of the attribute is equivalent of "​true"​.      * optional '​calcStats',​ a boolean indicating if this track contributes to statistics. Absence of the attribute is equivalent of "​true"​.
      * optional '​label',​ a string value used to be a human readable note about the entire track. Absence of the attribute is equivalent of ""​      * optional '​label',​ a string value used to be a human readable note about the entire track. Absence of the attribute is equivalent of ""​
 +     * optional, '​visible',​ a boolean value indicating value of the track'​s visibility flag. Absence of this attribute is equivalent to "​true"​.
    * segment, a sub object of a track, documenting different sub-track time segments    * segment, a sub object of a track, documenting different sub-track time segments
      * required, '​start',​ the time that the track segment starts, measured in seconds from the start of the day      * required, '​start',​ the time that the track segment starts, measured in seconds from the start of the day
trackwork/trackview.1484354034.txt.gz · Last modified: 2017/01/14 00:33 by mjallison