GIS::Distance::Fast - C implementation of GIS::Distance formulas.


GIS-Distance-Fast documentation Contained in the GIS-Distance-Fast distribution.

Index


Code Index:

NAME

Top

GIS::Distance::Fast - C implementation of GIS::Distance formulas.

DESCRIPTION

Top

This distribution re-implements some, but not all, of the formulas that come with GIS::Distance in the C programming language. C code is generally much faster than the perl equivilent.

In most of my testing I've found that the C version of the formulas outperform the Perl equivelent by at least 2x.

This module need not be used directly. GIS::Distance will automatically use the ::Fast formulas when they are available.

FORMULAS

Top

GIS::Distance::Formula::Cosine::Fast

GIS::Distance::Formula::Haversine::Fast

GIS::Distance::Formula::Vincenty::Fast

BUGS

Top

The GIS::Distance::Formula::Vincenty::Fast produces slightly different results than GIS::Distance::Formula::Vincenty. Read the POD for GIS::Distance::Formula::Vincenty::Fast for details.

AUTHOR

Top

Aran Clary Deltac <bluefeet@cpan.org>

LICENSE

Top

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


GIS-Distance-Fast documentation Contained in the GIS-Distance-Fast distribution.

package GIS::Distance::Fast;

use strict;
use warnings;

our $VERSION = '0.06';
our @ISA;

eval {
   require XSLoader;
   XSLoader::load('GIS::Distance::Fast', $VERSION);
   1;
} or do {
   require DynaLoader;
   push @ISA, 'DynaLoader';
   bootstrap GIS::Distance::Fast $VERSION;
};

1;
__END__