Changeset 877


Ignore:
Timestamp:
Nov 19, 2006, 6:56:52 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

Geo::HelmertTransform? is now in CPAN, and required (closes #89)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r854 r877  
    250250        'File::Temp'                          => 0,
    251251        'Geography::NationalGrid'             => 0,
     252        'Geo::HelmertTransform'               => 0,
    252253        'LWP::Simple'                         => 0,
    253254        'Parse::RecDescent'                   => 0,
  • trunk/PREREQUISITES

    r854 r877  
    3434  Geo::Coordinates::UTM
    3535)
     36Geo::HelmertTransform
    3637LWP::Simple
    3738Module::Build (version 0.18 or later)
  • trunk/lib/OpenGuides/Utils.pm

    r872 r877  
    255255            $helmert = sub($$$) {
    256256                my ($datum,$oldlat,$oldlong) = @_;
     257                if ($datum eq 'Airy') {
     258                    $datum = 'Airy1830';
     259                }
    257260                my $datum_helper = new Geo::HelmertTransform::Datum(Name=>$datum);
    258261                my $wgs84_helper = new Geo::HelmertTransform::Datum(Name=>'WGS84');
Note: See TracChangeset for help on using the changeset viewer.