MoSync 3.0.1
MALocation Struct Reference

A geographical location specified by latitude and longitude, horizontal and vertical accuracy, and altitude. More...

#include <maapi.h>

List of all members.

Public Attributes

int state
double lat
double lon
double horzAcc
double vertAcc
float alt

Detailed Description

A geographical location specified by latitude and longitude, horizontal and vertical accuracy, and altitude.

Only if state equals MA_LOC_QUALIFIED do the other members contain valid data.

Coordinates are in the WGS84 datum.

The horizontal accuracy is the RMS (root mean square) of east accuracy (latitudinal error in meters, 1-sigma standard deviation), north accuracy (longitudinal error in meters, 1-sigma).

The vertical accuracy is in meters in vertical direction (orthogonal to ellipsoid surface, 1-sigma standard deviation).

Accuracy values may be NaN, if accuracy is unknown.

See also:
maLocationStart()

Member Data Documentation

The validity of the coordinates. One of the MA_LOC constants.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines