Skip to the content.

phpGPX\Models\Extensions\TrackPointExtension

Class TrackPointExtension Extension version: v2 Based on namespace: http://www.garmin.com/xmlschemas/TrackPointExtensionv2.xsd

Constants

EXTENSION_V1_NAMESPACE

const EXTENSION_V1_NAMESPACE = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1'

EXTENSION_V1_NAMESPACE_XSD

const EXTENSION_V1_NAMESPACE_XSD = 'http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd'

EXTENSION_NAMESPACE

const EXTENSION_NAMESPACE = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v2'

EXTENSION_NAMESPACE_XSD

const EXTENSION_NAMESPACE_XSD = 'http://www.garmin.com/xmlschemas/TrackPointExtensionv2.xsd'

EXTENSION_NAME

const EXTENSION_NAME = 'TrackPointExtension'

EXTENSION_NAMESPACE_PREFIX

const EXTENSION_NAMESPACE_PREFIX = 'gpxtpx'

Properties

$aTemp

public float $aTemp

Average temperature value measured in degrees Celsius.

$wTemp

public float $wTemp

$depth

public float $depth

Depth in meters.

$heartRate

public float $heartRate

Heart rate in beats per minute.

$hr

public float $hr

Heart rate in beats per minute.

$cadence

public float $cadence

Cadence in revolutions per minute.

$cad

public float $cad

Cadence in revolutions per minute.

$speed

public float $speed

Speed in meters per second.

$course

public integer $course

Course. This type contains an angle measured in degrees in a clockwise direction from the true north line.

$bearing

public integer $bearing

Bearing. This type contains an angle measured in degrees in a clockwise direction from the true north line.

$namespace

public string $namespace

XML namespace of extension

$extensionName

public string $extensionName

Node name extension.

Methods

__construct

mixed phpGPX\Models\Extensions\AbstractExtension::__construct(string $namespace, string $extensionName)

AbstractExtension constructor.

Arguments

toArray

array phpGPX\Models\Summarizable::toArray()

Serialize object to array