BSD Ports

graphics/pecl-geospatial 0.3.2 DragonFly

PHP Extension to handle common geospatial functions

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PHP301
Categories
graphics
Package size
15.1 KiB, 44.9 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
DragonFlygraphics/pecl-geospatial0.3.2
FreeBSDgraphics/pecl-geospatial0.3.3
HardenedBSDgraphics/pecl-geospatial0.3.3
GhostBSDgraphics/pecl-geospatial0.3.3

Install

Binary package:

pkg install php81-pecl-geospatial

From DPorts:

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

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
php82-pecl-geospatial-0.3.2, php83-pecl-geospatial-0.3.2, php84-pecl-geospatial-0.3.2

Message after installing

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