All Versions
37
Latest Version
Avg Release Cycle
92 days
Latest Release
121 days ago

Changelog History
Page 2

  • v2.4.0 Changes

    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 Changes

    December 21, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ improve precision in PointToLineDistance
  • v2.3.0 Changes

    December 19, 2019

    โž• Added

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

    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 Changes

    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 Changes

    February 27, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ improvements to the Douglas-Peucker processor. Thanks @iamskey!
  • v2.0.3 Changes

    July 19, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ”— Links to documentation in README. Thanks @JonathanMH

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ better floating point number comparisons in Vincenty
    • โž• add exception message in Vincenty
    • type-cast regexp matches before doing calculations in CoordinateFactory
  • v2.0.2 Changes

    March 27, 2018

    โž• Added

    • โœ… Information on how to run checks and tests for developers in the README.

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated internal stuff like type and return hints after running a static analysis.
    • โšก๏ธ Updated some PHPDoc blocks after running a static analysis.

    ๐Ÿ›  Fixed

    • Wrongly typed return value in BearingEllipsoidal::inverseVincenty().
  • v2.0.1 Changes

    February 16, 2018

    โž• Added

    • ๐Ÿ†• new supported format for coordinates parser. Thanks to @petrknap
  • v2.0.0 Changes

    September 27, 2017

    ๐Ÿ”„ Changed

    • License: phpgeo is now distributed under the MIT license
    • phpgeo requires at least PHP 7.0

    โœ‚ Removed

    • ๐Ÿšš deprecated class Simplify was removed; alternatives: SimplifyBearing or SimplifyDouglasPeucker
    • ๐Ÿ‘ PHP versions 5.4, 5.5, and 5.6 are no longer supported