Phpgeo Versions Save

Simple Yet Powerful Geo Library for PHP

3.2.0

3 years ago

Added

Changed

  • change static to self to prevent accidentally calling the constructor with wrong arguments in child classes (Ellipsoid, Line, Polygon, Polyline)

3.1.0

3 years ago

Polygons can now be simplified as well. Take a look at the simplifyGeometry() methods in SimplifyDouglasPeucker and SimplifyBearing.

3.0.0

4 years ago

Changed

  • phpgeo requires PHP >= 7.2 now
  • backwards compatibility breaking: fix double space in Ellipsoid Name World␣Geodetic␣System␣␣1984World␣Geodetic␣System␣1984 (#49)
  • updated tests for PHPUnit 8

Added

  • class constant visibiliy modifiers

Removed

  • support for PHP 7.0 and PHP 7.1 from Travis CI config

2.6.0

4 years ago

Added method getIntermediatePoint() to the Line class which calculates an intermediate point on a line by following the Great Circle between the two line ends and dividing the line by the given fraction in the range between 0.0 and 1.0.

Documentation

2.1.0

5 years ago
  • The bounds for a Polyline can now be retrieved in form of a Bound object.
  • The auto-loader is now PSR-4 compatible; directory structure was flattened by one level.