jeanluc-auge / gpsanapy

gps speed trace analysis for nautic sports
Apache License 2.0
4 stars 2 forks source link

GPS trace analysis for nautical activities

analyze speed performance, extracts doppler speed information out of .gpx session files.

Features:

command line use

Install dependencies

pip3 install -r requirements.txt

Analyse a local gpx file

python3 src/core/gps_analysis.py -f author_filename.gpx

author_filename.gpx is the gps session file that you want to analyse.

Options

The results of all the gpx files are ranked and aggregated in the same ranking_results.csv file (see output)

REST API

Install dependencies and run the server (Flask based):

pip3 install -r requirements.txt

pip3 install -r requirements_flask.txt

python3 src/core/flask_restplus_server.py

Go to http://127.0.0.1:9999/ to get the REST API documentation from Swagger:

2 endpoints are currently available:

Running REST API server in a Docker container

Access the server:

    http://localhost:8080/

Configuration

Analysis parameters can be modified in /config/config.yaml file

Output

The results to report are defined in the config.yaml file and are fully parametrizable:

Leveraging pandas DataFrame: