lib to handle geo-shapes

1.1.0 2017-11-30 10:27 UTC

This package is auto-updated.

Last update: 2024-10-23 09:33:05 UTC


README

Build Status Coverage Status

This Module contains Classes to handle Geolocation-Data

Documentation

Usage

The main Part is the Point-Class that references any Point by Latitude/Longitude.

Multiple points can be combined to a Polygon and multiple Polygons can be combined to a Shape.

Such a Polygon or a Shape has a bounding box defined as a Rectangle.

Thats it.

Nothing more.

Oh, and you can convert such a Shape (or multiple shapes if you want) to an SVG via Shape::render() by providing an instance of the Svg-Renderer.

Requirements

This Package requires at least PHP >= 5.3

Installation

composer require org_heigl/geo