Recommend this page to a friend! |
Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-Point.md | Download |
|
![]() phpGPX\Models\PointClass Point GPX point representation according to GPX 1.1 specification.
ConstantsWAYPOINT
TRACKPOINT
ROUTEPOINT
Properties$latitude
The latitude of the point. Decimal degrees, WGS84 datum. Original GPX 1.1 attribute.
$longitude
The longitude of the point. Decimal degrees, WGS84 datum. Original GPX 1.1 attribute.
$elevation
Elevation (in meters) of the point. Original GPX 1.1 attribute.
$time
Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Fractional seconds are allowed for millisecond timing in tracklogs.
$magVar
Magnetic variation (in degrees) at the point Original GPX 1.1 attribute.
$geoidHeight
Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message. Original GPX 1.1 attribute.
$name
The GPS name of the waypoint. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS. Original GPX 1.1 attribute.
$comment
GPS waypoint comment. Sent to GPS as comment. Original GPX 1.1 attribute.
$description
A text description of the element. Holds additional information about the element intended for the user, not the GPS. Original GPX 1.1 attribute.
$source
Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g. Original GPX 1.1 attribute.
$links
Link to additional information about the waypoint. Original GPX 1.1 attribute.
$symbol
Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out. Original GPX 1.1 attribute.
$type
Type (classification) of the waypoint. Original GPX 1.1 attribute.
$fix
Type of GPS fix. none means GPS had no fix. To signify "the fix info is unknown, leave out fixType entirely. pps = military signal used Possible values: {'none'|'2d'|'3d'|'dgps'|'pps'} Original GPX 1.1 attribute.
$satellitesNumber
Number of satellites used to calculate the GPX fix. Always positive value. Original GPX 1.1 attribute.
$hdop
Horizontal dilution of precision. Original GPX 1.1 attribute.
$vdop
Vertical dilution of precision. Original GPX 1.1 attribute.
$pdop
Position dilution of precision. Original GPX 1.1 attribute
$ageOfGpsData
Number of seconds since last DGPS update. Original GPX 1.1 attribute.
$dgpsid
ID of DGPS station used in differential correction. Original GPX 1.1 attribute.
$difference
Difference in in distance (in meters) between last point. Value is created by phpGPX library.
$distance
Distance from collection start in meters. Value is created by phpGPX library.
$extensions
Objects stores GPX extensions from another namespaces.
$pointType
Type of the point (parent collation type (ROUTE|WAYPOINT|TRACK))
Methods__construct
Point constructor.
Arguments
getPointType
Return point type (ROUTE|TRACK|WAYPOINT)
toArray
Serialize object to array
|