Changeset 774


Ignore:
Timestamp:
May 22, 2017, 9:44:17 PM (2 years ago)
Author:
Dominic Hargreaves
Message:

In newer Geo::Coordinates::OSGB, ll_to_grid defaults to WGS-84 and there is no shift_ll_to_WGS84

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/perllib/NPEMap/GeoConverter.pm

    r757 r774  
    4545    }
    4646    else {
    47       my ($oslat, $oslong) = Geo::Coordinates::OSGB::grid_to_ll($e, $n);
    48       my ($lat, $long, $h) = Geo::Coordinates::OSGB::shift_ll_into_WGS84($oslat, $oslong, 0);
     47      my ($lat, $long, $h) = Geo::Coordinates::OSGB::grid_to_ll($e, $n);
    4948      return ($lat, $long);
    5049    }
Note: See TracChangeset for help on using the changeset viewer.