SwisTrack/Components/OutputSQLite

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

This component writes the tracking data to a SQLite database.

Input[edit | edit source]

The tracks resulting from the tracking.

Output[edit | edit source]

A SQLite3 database at the parameterized path. The database contains two tables:

  • points : contains the tracks
  • configuration : a series of key-value pairs including the configuration that was used to generate the tracks, the machine it was run on, start time, etc.

Parameters[edit | edit source]

The three parameters to this component are:

  • Directory in which to place the output database.
  • Filename to be used for said database.
  • Whether or not an existing database at the specified path should be appended to, or cleared before use.