File: README

package info (click to toggle)
pytrainer 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,876 kB
  • sloc: python: 15,914; perl: 6,084; xml: 195; sql: 151; makefile: 83; sh: 45
file content (22 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This folder contains the schemas that are relevant to pytrainer 
(though they are NOT all supported yet)

The schemas are:
Topografix_gpx11.xsd - The base GPX schema from Topografix (version 1.1)
Cluetrust_gpxdata10.xsd - The Cluetrust (also known as GPXDATA) extensions used by pytrainer for heartrate (and lap) support
GarminTrainingCenterDatabase_v1.xsd - Garmin Training Center version 1 
GarminTrainingCenterDatabase_v2.xsd - Garmin Training Center version 2 (TCX) 

Internally pytrainer uses Topografix_gpx11.xsd with Cluetrust_gpxdata10.xsd extensions

validate_gpsfile.py is a command line tool that allows files to be validated against the schemas (requires lxml)
Usage: validate_gpsfile.py [options] filename

Options:
  -h, --help            show this help message and exit
  -s SCHEMA, --schema=SCHEMA
                        specify schema to validate FILE against
  -v, --verbose         show extra information (including why validation
                        fails)

If a schema is not specified the tool will try to validate against all four schemas