Advanced geometry operations in PHP

dev-master 2024-12-27 12:42 UTC

This package is auto-updated.

Last update: 2024-12-27 12:42:46 UTC


README

GeoPHP is an open-source PHP library designed for advanced geometry operations. It enables developers to handle various geometric computations and spatial data manipulations with ease.

Features

  • Support for multiple geometric formats: WKT, WKB, GeoJSON, KML, GPX, and GeoRSS.
  • Operations on Simple-Feature geometries: Point, LineString, Polygon, GeometryCollection, etc.
  • Calculation of centroids, bounding boxes, area, and more.
  • Optional integration with the GEOS PHP extension for enhanced performance and additional functionalities.

Installation

Install GeoPHP using Composer:

composer require shahbazhafeez/geophp