All Versions
31
Latest Version
Avg Release Cycle
62 days
Latest Release
60 days ago

Changelog History
Page 1

  • v3.0.0

    February 07, 2020

    🔄 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
  • v2.6.0

    February 05, 2020

    ➕ 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

  • v2.5.0

    February 04, 2020

    ➕ Added

    • method getMidpoint() to the Line class which calculates the midpoint of a line by following the Great Circle between the two line ends and dividing the line into two halves.
    • utility class Cartesian which abstracts three-dimensional cartesian coordinates x, y, and z
  • v2.4.1

    January 29, 2020

    🔄 Changed

    • access modifier for the tolerance attribute is now protected (SimplifyDouglasPeucker)
  • v2.4.0

    January 27, 2020

    ➕ Added

    • BoundsFactory to create a bounds instance for a center point and a given distance to the bounds' corners. Thanks @sdennler!
  • v2.3.1

    December 21, 2019

    🛠 Fixed

    • 👌 improve precision in PointToLineDistance
  • v2.3.0

    December 19, 2019

    ➕ Added

    • PointToLineDistance calculates the smallest distance between a point and a line
  • v2.2.0

    November 25, 2019

    ➕ Added

    • 0️⃣ hasSameLocation() checks if two points share the same location (optionally within a distance which defaults to 0.001 m = 1 mm)
    • addUniquePoint adds unique points to a polyline (i.e., points that doesn't already exist in that polyline)
    • getAveragePoint() returns the average value of latitude and longitude values for a polyline

    🛠 Fixed

    • wrongly placed parenthesis in Polygon::contains()
  • v2.1.0

    March 22, 2019

    ➕ Added

    • The bounds for a Polyline can now be retrieved in form of a Bound object.

    🔄 Changed

    • The auto-loader is now PSR-4 compatible; directory structure was flattened by one level.
  • v2.0.5

    February 27, 2019

    🔄 Changed

    • 👌 improvements to the Douglas-Peucker processor. Thanks @iamskey!