1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/pecl-geospatial: Add pecl-geospatial 0.3.2

geospatial is a PHP Extension to handle common geospatial functions. The
extension currently has implementations of the Haversine and Vincenty's formulas
for calculating distances, an initial bearing calculation function, a Helmert
transformation function to transfer between different supported datums,
conversions between polar and Cartesian coordinates, conversions between
Degree/Minute/Seconds and decimal degrees, a method to simplify linear
geometries, as well as a method to calculate intermediate points on a
LineString.
This commit is contained in:
Po-Chuan Hsieh 2024-05-19 23:45:29 +08:00
parent 726b316a50
commit ce190fe74d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 27 additions and 0 deletions

View File

@ -788,6 +788,7 @@
SUBDIR += pear-Image_Graph
SUBDIR += pear-Image_GraphViz
SUBDIR += pear-Image_Transform
SUBDIR += pecl-geospatial
SUBDIR += pecl-imagick
SUBDIR += pecl-qrencode
SUBDIR += pecl-vips

View File

@ -0,0 +1,15 @@
PORTNAME= geospatial
PORTVERSION= 0.3.2
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP Extension to handle common geospatial functions
WWW= https://pecl.php.net/package/geospatial \
https://github.com/php-geospatial/geospatial
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:pecl
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1715842482
SHA256 (PECL/geospatial-0.3.2.tgz) = 3b704d44c4851f04da78ceafca14358257345b8a22d71b2fa0bd5ac705475449
SIZE (PECL/geospatial-0.3.2.tgz) = 12502

View File

@ -0,0 +1,8 @@
geospatial is a PHP Extension to handle common geospatial functions. The
extension currently has implementations of the Haversine and Vincenty's formulas
for calculating distances, an initial bearing calculation function, a Helmert
transformation function to transfer between different supported datums,
conversions between polar and Cartesian coordinates, conversions between
Degree/Minute/Seconds and decimal degrees, a method to simplify linear
geometries, as well as a method to calculate intermediate points on a
LineString.