pavi  0.0
Map Path Viewer
track_loader.bi File Reference

Header for TrackLoader,loading track files. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrP
 Data for a single track point. More...
 
class  TrackLoader
 UDT collecting and holding the track data. More...
 

Typedefs

typedef single float
 

Functions

FUNCTION_AS_LONG latlon2zoom (BYVAL_AS_LONG, BYVAL_AS_LONG, BYVAL_AS_float, BYVAL_AS_float, BYVAL_AS_float, BYVAL_AS_float)
 Evaluate the matching zoom level for BBox. More...
 

Variables

const DOUBLE NaN = 0.0/0.0
 Not a number (error value) More...
 
const DOUBLE LN2 = LOG(2)
 natural logarythm 2.0 More...
 
const DOUBLE PI = 4 * atn(1)
 PI = 3.14... More...
 
const DOUBLE PIx2 = PI * 2
 PI * 2. More...
 
const DOUBLE PId2 = PI / 2
 PI * 2. More...
 
const DOUBLE Deg2Rad = PI / 180
 transform degree in radians More...
 
const DOUBLE Rad2Deg = 180 / PI
 transform radians in degree More...
 
const DOUBLE ERA = 3443.89849 * 1852
 earth radius [m] More...
 

Detailed Description

Header for TrackLoader,loading track files.

The TrackLoader class (UDT) is designed to load and analyse track files (*.NMEA and *.GPX, generated by MapFactor Navigator software). Individual parsers can get invoked in order to load different file formats.

Since
0.0

Definition in file track_loader.bi.


Class Documentation

◆ TrP

class TrP

Data for a single track point.

UDT used to store the point data graped from the file. Undefined values get stored as NaN entries. The LONG values [XY]pix gets computed later for the current map zoom level.

Since
0.0

Definition at line 32 of file track_loader.bi.

Collaboration diagram for TrP:
Class Members
DOUBLE Tim Date / Time.
float Lat Latitude.
float Lon Longitude.
float Ele Elevation [m].
float Spd Speed over ground [km/h].
float Ang Direction Angle.
LONG Xpix world X pixel for ploting
LONG Ypix world Y pixel for ploting

Typedef Documentation

◆ float

typedef single float

Definition at line 12 of file track_loader.bi.

Function Documentation

◆ latlon2zoom()

FUNCTION_AS_LONG latlon2zoom ( BYVAL_AS_LONG  W,
BYVAL_AS_LONG  H,
BYVAL_AS_float  La0,
BYVAL_AS_float  La1,
BYVAL_AS_float  Lo0,
BYVAL_AS_float  Lo1 
)

Evaluate the matching zoom level for BBox.

Parameters
WWidth of map widget
HHeight of map widget
La0Minimum latitude
La1Maximum latitude
Lo0Minimum longitude
Lo1Maximum longitude
Returns
Matching zoom level

This function evaluates the zoom level for the map in order to show a bounding box completely on the map.

Since
0.0

Definition at line 116 of file track_loader.bas.

Here is the caller graph for this function:

Variable Documentation

◆ NaN

const DOUBLE NaN = 0.0/0.0

Not a number (error value)

Definition at line 15 of file track_loader.bi.

◆ LN2

const DOUBLE LN2 = LOG(2)

natural logarythm 2.0

Definition at line 16 of file track_loader.bi.

◆ PI

const DOUBLE PI = 4 * atn(1)

PI = 3.14...

Definition at line 17 of file track_loader.bi.

◆ PIx2

const DOUBLE PIx2 = PI * 2

PI * 2.

Definition at line 18 of file track_loader.bi.

◆ PId2

const DOUBLE PId2 = PI / 2

PI * 2.

Definition at line 19 of file track_loader.bi.

◆ Deg2Rad

const DOUBLE Deg2Rad = PI / 180

transform degree in radians

Definition at line 20 of file track_loader.bi.

◆ Rad2Deg

const DOUBLE Rad2Deg = 180 / PI

transform radians in degree

Definition at line 21 of file track_loader.bi.

◆ ERA

const DOUBLE ERA = 3443.89849 * 1852

earth radius [m]

Definition at line 22 of file track_loader.bi.