PHPGeo v4.1.0 Release Notes

Release Date: 2022-06-03 // 8 months ago
  • 🚀 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