Name : perl-Geo-Coordinates-Transform
| |
Version : 0.10
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.6.1
| Date : 2023-07-20 16:28:11
|
Group : Development/Libraries/Perl
| Source RPM : perl-Geo-Coordinates-Transform-0.10-lp155.6.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Transform Latitude/Longitude between various different coordinate
|
Description :
There are several formats used to present geographic coordinates. For example:
* DMS Degrees:Minutes:Seconds (48 30 30, -117 30\' 30\") * DM Degrees:Decimal-Minutes (48 30.5, -117 30.5\'), * DD Decimal-Degrees (48.5083333, -17.5083333)
This module converts a list of provided latitude and longitude coordinates in any of the three formats above (mixed input is ok) and converts to the desired format. Note that special characters or non-numerical characters such as \" will throw an warning and return NaN for that list item.
In addition, the input does not interpert N,S,W,E designators but expects coordinates to be in positive or negative representation.
Format of the output can be controlled via input arguments in the constructor. The arguments are expected to be in the form of a hash reference. For example:
my $cnv = new Geo::Coordinates::Convert( {dd_fmt=>\'%3.2f\', dm_fmt=>\'%3.1f\', ds_fmt=>\'%d\'} );
Minimal sanity checks are performed. 75 minutes will be handled as 1 degree and 15 minutes.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-G/15.5/noarch |