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
Version | Release | Download |
0.3.5 | 2025-07-01 | geospatial-0.3.5.tgz |
0.3.3 | 2025-06-19 | geospatial-0.3.3.tgz |
0.3.2 | 2022-08-11 | geospatial-0.3.2.tgz |
0.3.1 | 2021-01-28 | geospatial-0.3.1.tgz |
0.2.1 | 2019-01-08 | geospatial-0.2.1.tgz |
Version | Message |
0.3.5 |
- Fixed compilation on Windows (Jean-Baptiste Nahan) - Fixed tests on aarch64 (Remi Collet) |
0.3.3 |
- Drop support for PHP 7 - Added support for PIE - Convert extension to use stubs files |
0.3.2 | - Fixed a bug with polar_to_cartesian and cartesian_to_polar having the wrong arginfo |
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) |