MathExtensionsCalculateErrorInMeters Method

Calculates the error (in meters) of a GPS location based on the signal strength, satellite count and HDOP.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static double CalculateErrorInMeters(
	int signalStrength,
	int satelliteCount,
	double hdop
)

Parameters

signalStrength  Int32
GSM signal strength
satelliteCount  Int32
Amount of satellites the device has found.
hdop  Double
Horizontal Dilution of Precision

Return Value

Double
Estimated error, in meters.

Remarks

The following algorithm is used: Base error (BaseGpsError) x hdop (value higher than 1, can go beyond 5; the higher, the less accurate the signal) - Log10(Double)(satelliteCount + 1) - Log10(Double)(signalStrength + 1)

Note how the satellite count and signal strength only really become a factor if the HDOP is low to begin with. (lower than 3)

See Also