Kazuhiro Osawa > Geo-Coordinates-Converter-0.02 > Geo::Coordinates::Converter::Point

Download:
Geo-Coordinates-Converter-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: Geo-Coordinates-Converter-0.13

NAME ^

Geo::Coordinates::Converter::Point - the coordinates object

SYNOPSIS ^

    use strict;
    use warnings;

    use Geo::Coordinates::Converter::Point;

    my $point = Geo::Coordinates::Converter::Point->new({
        lat    => '35.65580',
        lng    => '139.65580',
        datum  => 'wgs84',
        format => 'degree',
    });

    my $point = Geo::Coordinates::Converter::Point->new({
        lat    => '35.39.24.00',
        lng    => '139.40.15.05',
        datum  => 'wgs84',
        format => 'dms',
    });

    my $clone = $point->clone;

DESCRIPTION ^

accessor of data concerning coordinates. data is not processed at all.

METHODS ^

new

constructor

lat

accessor of latitude

latitude

alias of lat

lng

accessor of longitude

longitude

alias of lng

datum

accessor of datum

format

accessor of coordinates format

clone

clone object

AUTHOR ^

Kazuhiro Osawa <ko@yappo.ne.jp>

LICENSE ^

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

syntax highlighting: