fitconv

command
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

README

Fitconv

Fitconv converts the FIT file into a CSV file, allowing us to read the FIT file in a human-readable format.

Note:

  • Currently only FIT to CSV conversion is supported, other format might be added later when necessary (or requested).

Usage Examples

go run main.go activity.fit activity2.fit

# Output:
# Converted! activity.csv
# Converted! activity2.csv

ls
# activity.fit activity.csv activity2.fit activity2.csv
Options
Options Description
-v Show version
-csv Convert FIT to CSV (default if not specified)
-disk Use disk instead of load everything in memory
-unknown Print 'unknown(68)' instead of 'unknown'
-valid Print only valid value and omit invalid value
-raw Use raw value instead of scaled value
-deg Print GPS Positions in degress instead of semicircles
-trim Trim trailing commas in every line (save storage)
-no-expand [Decode Option] Do not expand components
go run main.go -deg activity.fit activity2.fit
go run main.go -raw activity.fit activity2.fit
go run main.go -deg -no-expand -trim activity.fit activity2.fit

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package fitcsv provides the implementations of FIT listener's interfaces that can listen to the events emitted by the decoder.
Package fitcsv provides the implementations of FIT listener's interfaces that can listen to the events emitted by the decoder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL