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:37]
mjallison [View Elements]
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"​ },
trackwork/trackview.1484354244.txt.gz · Last modified: 2017/01/14 00:37 by mjallison