|
|
# Developer documentation
|
|
|
|
|
|
# Overview
|
|
|
|
|
|
This app is composed by 3 distinct parts :
|
|
|
|
|
|
* the html/javascript/jquery GUI
|
|
|
* the php controllers that interact with Owncloud/Nextcloud system
|
|
|
* the python scripts used to analyse and compare tracks
|
|
|
|
|
|
The GUI uses ajax calls to controller methods to get information from the server side. It uses JS libraries that are all included in the "js" directory. The map is displayed using Leaflet with many activated extensions.
|
|
|
|
|
|
The php controllers are in charge of DB communication, python script calls, OC/NC filesystem and filesharing access.
|
|
|
|
|
|
There are 2 python scripts, gpxpod.py and gpxvcomp.py. The first is used to produce geojson content and marker information from the gpx files. Those informations are then stored in the database. The second is used to compare a set of gpx files and produce two geojson files for each gpx file pair. The geojsons are then displayed in the GUI with colors on divergent parts and local/global stats.
|
|
|
|
|
|
# GUI
|
|
|
|
|
|
# Controllers
|
|
|
|
|
|
# Python scripts |
|
|
\ No newline at end of file |