NAME

WebService::OpenSky::Core::Waypoint - Waypoint class

VERSION

version 0.2

SYNOPSIS

use WebService::OpenSky;
my $opensky = WebService::OpenSky->new;
my $flights  = $opensky->get_arrivals_by_airport('KLAX', $start, $end);
while ( my $flight = $flights->next ) {
    say $flight->callsign;
}

DESCRIPTION

This class is not to be instantiated directly. It is a read-only class representing OpenSky waypoint responses.

All attributes are read-only.

METHODS

time

Time which the given waypoint is associated with in seconds since epoch (Unix time).

latitude

WGS-84 latitude in decimal degrees. Can be null.

longitude

WGS-84 longitude in decimal degrees. Can be null.

baro_altitude

Barometric altitude in meters. Can be null.

true_track

True track in decimal degrees clockwise from north (north=0°). Can be null.

on_ground

Boolean value which indicates if the position was retrieved from a surface position report.

AUTHOR

Curtis "Ovid" Poe <curtis.poe@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by Curtis "Ovid" Poe.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)