science/p5-Geo-Coordinates-Transform: Add p5-Geo-Coordinates-Transform 0.10

There are several formats used to present geographic coordinates.

Geo::Coordinates::Transform 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.
This commit is contained in:
Po-Chuan Hsieh 2022-12-30 16:36:10 +08:00
parent a314895d38
commit a6a8beb91d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 37 additions and 0 deletions

View File

@ -259,6 +259,7 @@
SUBDIR += p5-Geo-Calc
SUBDIR += p5-Geo-Coordinates-Converter
SUBDIR += p5-Geo-Coordinates-Converter-iArea
SUBDIR += p5-Geo-Coordinates-Transform
SUBDIR += p5-Geo-WebService-Elevation-USGS
SUBDIR += p5-Mcstas-Tools
SUBDIR += p5-PerlMol

View File

@ -0,0 +1,19 @@
PORTNAME= Geo-Coordinates-Transform
PORTVERSION= 0.10
CATEGORIES= science perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Transform Latitude/Longitude between various different coordinate functions
WWW= https://metacpan.org/dist/Geo-Coordinates-Transform
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1669057507
SHA256 (Geo-Coordinates-Transform-0.10.tar.gz) = d4cfee41cded0e06cf7e5ab5f5f35f54c3c28f89cf4287e6b306f5fb2c9446c6
SIZE (Geo-Coordinates-Transform-0.10.tar.gz) = 4319

View File

@ -0,0 +1,12 @@
There are several formats used to present geographic coordinates.
Geo::Coordinates::Transform 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.

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Geo/Coordinates/Transform.pm
%%PERL5_MAN3%%/Geo::Coordinates::Transform.3.gz