GPX-PlotElevation

 view release on metacpan or  search on metacpan

lib/GPX/PlotElevation.pm  view on Meta::CPAN

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
                gpxfile => undef,
                gpxfh => undef,
                gpx => undef,
                title => "Hoehenprofil",
                xlabel => 'Entfernung [km]',
                ylabel => 'Hoehe [m]',
                output => undef,
                fileformat => 'png',
                width => 10,
                height => 7,
                formula => 'hsin',
                _points => [],
                _wp_points => [],
                _total_dist => 0,
                _gpx => undef,
                _geodist => Geo::Distance->new(),
                @_
        };
        bless($self, $class);
 
        $self->{'_geodist'}->formula($self->{'formula'});
        $self->_load_gpx();
        $self->fileformat($self->{'fileformat'});
 
        return($self);
}
 
sub fileformat {
        my $self = shift();
        my $fileformat = shift();



( run in 0.299 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )