geospatial

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.

License: PHP 3.01

Latest releases

Version Release Download
0.3.1 2021-01-28 geospatial-0.3.1.tgz
0.2.1 2019-01-08 geospatial-0.2.1.tgz
0.2.0 2017-12-29 geospatial-0.2.0.tgz
0.1.0 2015-12-04 geospatial-0.1.0.tgz
Show all releases

Changelog

Version Message
0.3.1 - Added support for PHP 8
- Drop support for PHP 5
0.2.1 - Fixed issue #22: Compile failure with PHP 5.6 on Windows using VC11
- Fixed issue #26: Initial Bearing Calculation Error
- Fix possible integer overflow in memory allocation with negative precision in
geohash_encode (Emir Beganovic)
0.2.0 - Fixed issue #16: Segfault on rdp_simplify for GeoJSON
- Add Travis tests (Emir Beganovic)
- Fixed issue #20: Add Geo Hashing functions geohash_encode and geohash_decode. (Emir Beganovic)
0.1.0 Initial release on PECL (with PHP 7 support).
Show complete changelog