BSD Ports

graphics/pecl-geospatial 0.3.3 FreeBSD

PHP Extension to handle common geospatial functions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
PHP301
Categories
graphics
Package size
17.6 KiB, 47.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDgraphics/pecl-geospatial0.3.3
DragonFlygraphics/pecl-geospatial0.3.2

Install

Binary package:

pkg install php82-pecl-geospatial

From the ports tree:

cd /usr/ports/graphics/pecl-geospatial/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-pecl-geospatial>0:graphics/pecl-geospatial

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.30.3.3-0.3.30.3.3
FreeBSD:14:quarterly0.3.30.3.3n/a0.3.30.3.3
FreeBSD:15:latest0.3.30.3.3n/a0.3.30.3.3
FreeBSD:15:quarterly0.3.30.3.3n/an/an/a
FreeBSD:16:latest0.3.30.3.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
php:pecl
Service scripts
none
Flavors
php83-pecl-geospatial-0.3.3, php84-pecl-geospatial-0.3.3, php85-pecl-geospatial-0.3.3, php86-pecl-geospatial-0.3.3

Message after installing

This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-geospatial.ini.sample

Files

distinfo 1
FileSizeSHA256
PECL/geospatial-0.3.3.tgz12972370f1f72bbd4d7d48f2b925f94aab5d35b587f82fe0366a9e09c92aa3bcf337d

Commit history 0

No commits in the history this site was built from.