sembruk / RogainingRoutes

Display rogainers routes on the competition map.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RogainingRoutes

Display rogainers routes on the competition map.

Example

Installation

pip install -r requirements.txt

Usage

./rogainingroutes [-h] [-c COORDS_FILE] [-m MAP_FILE] -x START_X -y START_Y [-d MAP_DPI] [-l MAP_SCALE] [-a ANGLE]
                       [-o OUTPUT_DIR]
                       [file]

Command line utility to generate routes.

positional arguments:
  file                  results file: SportOrg JSON, CSV, WinOrient or SFR splits HTML (default: splits.html)

options:
  -h, --help            show this help message and exit
  -c COORDS_FILE, --coords-file COORDS_FILE
                        coords GPX or CSV file (default: coords.csv)
  -m MAP_FILE, --map-file MAP_FILE
                        map file (default: map.jpg)
  -x START_X, --start-x START_X
                        start X offset in pixels of the map (default: None)
  -y START_Y, --start-y START_Y
                        start Y offset in pixels of the map (default: None)
  -d MAP_DPI, --map-dpi MAP_DPI
                        map DPI (default: 72)
  -l MAP_SCALE, --map-scale MAP_SCALE
                        map scale (default: 25000)
  -a ANGLE, --angle ANGLE
                        map rotate angle (default: 0.0)
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        output directory (default: output)

About

Display rogainers routes on the competition map.

License:GNU General Public License v3.0


Languages

Language:Python 83.5%Language:HTML 12.7%Language:CSS 3.5%Language:Shell 0.3%