The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::Spline - Calculate geographic locations between GPS fixes.

SYNOPSIS

use Geo::Spline; my $p0={time=>1160449100.67, lat=>39.197807, lon=>-77.263510, speed=>31.124, heading=>144.8300}; my $p1={time=>1160449225.66, lat=>39.167718, lon=>-77.242278, speed=>30.615, heading=>150.5300}; my $spline=Geo::Spline->new($p0, $p1); my $pt=$spline->time(1160449150); print "Lon", $pt->{"lat"}, "Lat", $pt->{"lon"}, "\n"; my @point=$spline->(); #default is int(t2-t1+.5)

DESCRIPTION

This module is a pure Perl port of the NGS program in the public domain "forward" by Robert (Sid) Safford and Stephen J. Frakes.

METHODS

TODO

BUGS

LIMITS

AUTHOR

Michael R. Davis qw/perl michaelrdavis com/

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Net::GPSD Math::Spline