The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GIS::Distance::Formula::GeoEllipsoid - Geo::Ellipsoid distance calculations.

SYNOPSIS

  my $gis = GIS::Distance->new();
  
  $gis->formula( 'GeoEllipsoid', { ellipsoid => 'WGS84' } );

DESCRIPTION

This module is a wrapper around Geo::Ellipsoid for GIS::Distance.

Normally this module is not used directly. Instead GIS::Distance is used which in turn interfaces with the various formula classes.

FORMULA

See the documentation for Geo::Ellipsoid.

ATTRIBUTES

ellipsoid

  $calc->ellipsoid( 'AIRY' );

Set and retrieve the ellipsoid object. If a string is passed then it will be coerced in to an object.

METHODS

distance

This method is called by GIS::Distance's distance() method.

SEE ALSO

GIS::Distanc

Geo::Ellipsoid

AUTHOR

Aran Clary Deltac <bluefeet@cpan.org>

LICENSE

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