NAME

Geo::GoogleEarth::Pluggable::Plugin::GreatCircle - Great Circle plugin for Geo::GoogleEarth::Pluggable

SYNOPSIS

use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my $arc=$document->GreatCircleArcSegment(%data);

DESCRIPTION

Calculates the Great Circle Arc between two points and creates points in between so that Google Earth can display it as "straight" lines and it still looks like a Great Circle Arc.

USAGE

METHODS

GreatCircleArcSegment

Returns a LineString object.

my $list=$folder->GreatCircleArcSegment(
                    startPoint=>{lat=>39,lon=>-77}, 
                    endPoint=>{lat=>40,lon=>-76});
my @list=$folder->GreatCircleArcSegment(
                    name=>"My Great Circle", #name passed through to LineString
                    startPoint=>{lat=>39,lon=>-77}, 
                    endPoint=>{lat=>40,lon=>-76}, 
                    span=>5000);

startPoint and endPoint can be any valid scalar structure supported by GPS::Point->newMulti() constructor

BUGS

Log on RT and send to geo-perl email list

SUPPORT

AUTHOR

Michael R. Davis
CPAN ID: MRDVT
STOP, LLC
domain=>michaelrdavis,tld=>com,account=>perl
http://www.stopllc.com/

COPYRIGHT

This program is free software licensed under the...

The BSD License

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO