GPS::BabelGPS::Babel is a Perl interface to gpsbabel. | |
Download |
GPS::Babel Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andy Armstrong
- Publisher web site:
- http://search.cpan.org/~andya/
GPS::Babel Tags
GPS::Babel Description
GPS::Babel is a Perl interface to gpsbabel. GPS::Babel is a Perl interface to gpsbabel.SYNOPSIS use GPS::Babel; my $babel = GPS::Babel->new(); # Read an OZIExplorer file into a data structure my $data = $babel->read('route.ozi', 'ozi'); # Convert a file automatically choosing input and output # format based on extension $babel->convert('points.wpt', 'points.gpx', { all => 1 }); # Call gpsbabel directly $babel->direct(qw(gpsbabel -i saroute,split -f in.anr -f in2.anr -o an1,type=road -F out.an1));From http://gpsbabel.org/: GPSBabel converts waypoints, tracks, and routes from one format to another, whether that format is a common mapping format like Delorme, Streets and Trips, or even a serial upload or download to a GPS unit such as those from Garmin and Magellan. By flattening the Tower of Babel that the authors of various programs for manipulating GPS data have imposed upon us, it returns to us the ability to freely move our own waypoint data between the programs and hardware we choose to use.As I write this gpsbabel supports 96 various GPS related data formats. In addition to file conversion it supports upload and download to a number of serial and USB devices. This module provides a (thin) wrapper around the gpsbabel binary making it easier to use in a perlish way.GPSBabel supports many options including arbitrary chains of filters, merging data from multiple files and many format specific parameters. This module doesn't attempt to provide an API wrapper around all these options. It does however provide for simple access to the most common operations. For more complex cases a passthrough method (direct) passes its arguments directly to gpsbabel with minimal preprocessing.GPSBabel is able to describe its built in filters and formats and enumerate the options they accept. This information is available as a perl data structure which may be used to construct a dynamic user interface that reflects the options available from the gpsbabel binary. Requirements: · Perl
GPS::Babel Related Software