---
name: "Geo::Coordinates::ITM"
section: "3pm"
platform: "linux"
package: "libgeo-coordinates-itm-perl"
version: "0.02-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Geo::Coordinates::ITM"
---

# Geo::Coordinates::ITM(3pm)

Convert coordinates between lat/lon and Irish Transverse Mercator

## NAME

Geo::Coordinates::ITM - Convert coordinates between lat/lon and Irish Transverse Mercator

## VERSION

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

## SYNOPSIS

```
  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 );
```

## DESCRIPTION

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 );
```

## BUGS

Please report any bugs or feature requests to `"bug-geo-coordinates-itm@rt.cpan.org"`, or through the web interface at \<http://rt.cpan.org\>.

## AUTHOR

Andy Armstrong `"<andy@hexten.net>"`

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

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

## LICENCE AND COPYRIGHT

Copyright (c) 2009, Andy Armstrong `"<andy@hexten.net>"`.

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