Command Line Interface#
Command line options for app
python -m app [OPTIONS] input
Options#
| Option | Type | Description | Default | Choices |
|---|---|---|---|---|
input |
str | Path to input (file or folder) | required | - |
--output |
str | Path to output destination | required | - |
--min_dist |
int | Maximum distance between two waypoints | 20 | - |
--extract_waypoints |
bool | Extract starting points of each track as waypoint | True | [True, False] |
--elevation |
bool | Include elevation data in waypoints | False | [True, False] |
Examples#
1. Basic usage#
python -m app input
2. With verbose logging#
python -m app -v input
python -m app --verbose input
3. With quiet mode#
python -m app -q input
python -m app --quiet input
4. With min_dist parameter#
python -m app --min_dist 20 input
5. With extract_waypoints parameter#
python -m app --extract_waypoints True input
6. With elevation parameter#
python -m app --elevation True input