Leonardo "Direct flight upload"

1.  Interface

In order to "direct upload" a flight tracklog in a leonardo server:

2. Parameters of the HTTP POST request

Name

Description

Example

user The username of the pilot on the Leonardo server testuser
pass The password of the pilot on the Leonardo server mypass

igcfn

The filename of the IGC flight track file without extension.

286a0ab1

or

2006_01_02_13_56 Nice flight at the beach

Klasse

Competition class with one of the following values:
1 = Flexible Wing
2 = Rigid Wing
3 = Paraglider (open)
4 = Paraglider (sport)
5 = Paraglider (Tandem)

3

OLC Classis: The coordinates of the waypoints 1 – 7.
The questionmark denote values in the range from [0..6]

w?bh

Latitude - hemisphere N/S

N

w?bg

Latitude – degrees

52

w?bm

Latitude – full minutes

37

w?bmd

Latitude – thousandth part of the minutes

690

w?lh

Longitude - hemisphere E/W

E

w?lg

Longitude – degrees

52

w?lm

Longitude – full minutes

37

w?lmd

Longitude – thousandth part of the minutes

002

FAI Triangle: The coordinates of the waypoints 1 – 5.
The questionmark denote values in the range from [0..4]

fai?bh

Latitude - hemisphere N/S

N

fai?bg

Latitude – degrees

52

fai?bm

Latitude – full minutes

37

fai?bmd

Latitude – thousandth part of the minutes

690

fai?lh

Longitude - hemisphere E/W

E

fai?lg

Longitude – degrees

52

fai?lm

Longitude – full minutes

37

fai?lmd

Longitude – thousandth part of the minutes

002

**** If no turnpoints are supplied, Leonardo computes its own solution.****

IGCigcIGC The contents of the corrosponding IGC flight track file (as it is).  
mindist **optional**
Leonardo will see the pre-computed turnpoints and will prefer a smaller "free distance" score if this gives > " mindist" km instead of a triangle solution with more points but < "mindist" km. For example the DHV rules for the german league set mindist=15 if not set or set to zero, the highest score will always be prefered
15
     

3. Notes for the IGC flight track file.

No requirements consering valid G-records. Leonardo accepts both valid and invalid tracklogs and this only does matter in some valuations.
All fligths get listed in the daily scores regardlees of valid g-record.

No special restrictions for the filename. Any length of chars (not only 8).

 

4. submission URL

Each leonardo server has it's own submission url and it's own set of users/passwords.

The submission URL of a leonardo server is usually:
http://server_address/extra_path_if_present/modules/leonardo/flight_submit.php

Some examples:



Leonardo on www.paraglidingforum.com runs on

http://www.paraglidingforum.com/modules.php?name=leonardo

so the submission url is

 http://www.paraglidingforum.com/modules/leonardo/flight_submit.php

Leonardo on DHV runs on

     http://xc.dhv.de/xc/modules.php?name=leonardo

so the submission url is

http://xc.dhv.de/xc/modules/leonardo/flight_submit.php

(note the extra /xc/ )


a list of leonardo servers can be found on
http://www.paraglidingforum.com/modules.php?name=leonardo&op=program_info