NAME

GPS::Lowrance::Waypoints - support for waypoints

SYNOPSIS

use GPS::Lowrance::Waypoints;

$wpts = new GPS::Lowrance::Waypoints;
...
$wpts->write_gpx( $fh );

REQUIREMENTS

The following modules are required to use this module:

Carp::Assert
GPS::Lowrance::Trail
XML::Generator

This module should work with Perl 5.6.x. It has been tested on Perl 5.8.2.

Installation

It is included with the GPS::Lowrance distribution.

DESCRIPTION

This module is a subclass of GPS::Lowrance::Trail. It shares the same methods with exceptions outlined below.

Methods

add_point
$wpt->add_point( $lat, $lon, $name, $date, $sym_num, $wpt_num );

Add a new waypoint.

trail_num

This method always returns 0.

write_gpx
$wpt->write_gpx( $fh );

This function writes a GPX file containing waypoints instead of tracks.

SEE ALSO

GPS::Lowrance::Trail

AUTHOR

Robert Rothenberg <rrwo at cpan.org>

Suggestions and Bug Reporting

Feedback is always welcome. Please report any bugs using the CPAN Request Tracker at http://rt.cpan.org.

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Robert Rothenberg <rrwo at cpan.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.