Geo::Coordinates::ITM(3pm)

Geo::Coordinates::ITM3pm

Convert coordinates between lat/lon and irish transverse mercator

Usage

  use Geo::Coordinates::ITM qw( ll_to_grid grid_to_ll );
  my ( $lat, $lon ) = grid_to_ll( $east, $north );
  my ( $east, $north ) = ll_to_grid( $lat, $lon );

Version

This document describes Geo::Coordinates::ITM version 0.02

Overview

Convert back and forth between Irish Transverse Mercator grid and WGS84. The conversion code was stolen wholesale from <http://bit.ly/ZqpUA>.

  http://svn.geograph.org.uk/svn/branches/british-isles/libs/geograph \
    /conversionslatlong.class.php

Nothing is exported by default. The exportable functions are "ll_to_grid" and "grid_to_ll".

Interface

"ll_to_grid"

Convert a latitude, longitude (WGS84) coordinate pair into an ITM easting and northing.

  my ( $east, $north ) = ll_to_grid( $lat, $lon );

"grid_to_ll"

Convert an ITM easting, northing pair to a WGS84 latitude, longitude.

  my ( $lat, $lon ) = grid_to_ll( $east, $north );

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7–8
  2. 9–10
  3. 11
  4. 12–13

Bugs

Please report any bugs or feature requests to "[email protected]", or through the web interface at <http://rt.cpan.org>.

Author

Andy Armstrong "<[email protected]>"

Code gratefully stolen from <http://bit.ly/ZqpUA>

  http://svn.geograph.org.uk/svn/branches/british-isles/libs/geograph \
    /conversionslatlong.class.php

From libgeo-coordinates-itm-perl 0.02-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.