PHPGeo v4.2.0 Release Notes

Release Date: 2022-07-25 // almost 2 years ago

Previous changes from v4.1.0

  • ๐Ÿš€ This release has no breaking changes.

    Thanks, @nilshoerrmann, for contributing!

    โž• Added

    • method Bounds::getAsPolygon() which returns a polygon containing the four nodes of the Bounds instance
    • methods Bounds::getNorthEast() and Bounds::getSouthWest()
    • ๐Ÿ†• new public methods: CardinalDirection::isStrictlyNorth(), CardinalDirection::isStrictlyEast(), CardinalDirection::isStrictlySouth() and CardinalDirection::isStrictlyWest()
    • ๐Ÿ†• new class Direction for checking if one point is north, eat, south or west from another point
    • ๐Ÿ†• new Class Intersection for checking if two geometries intersect each other