Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Geo::Coordinates::ConvUserrContributed PeGeo::Coordinates::Converter::Point(3)

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;

	   my $new_point = $point->converter( degree =>	'wgs84'	);

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

       height
	   sea level (meters).

       datum
	   accessor of datum. default is "wgs84".

       format
	   accessor of coordinates format

       clone
	   clone object

       converter
	   wrapper of Geo::Coordinates::Converter->convert.

	       my $new_point = $point->converter(degree	=> 'wgs84');

	   the method same code	is under.

	       my $new_point = Geo::Coordinates::Converter->new(
		   point => $point,
	       )->convert(degree => 'wgs84');

AUTHOR
       Kazuhiro	Osawa <yappo {at} shibuya {dot}	pl>

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

perl v5.32.1			  2012-10Geo::Coordinates::Converter::Point(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Geo::Coordinates::Converter::Point&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help