org_heigl / geo
lib to handle geo-shapes
1.1.0
2017-11-30 10:27 UTC
Requires
- php: ^7.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.11
- phing/phing: ^2.14
- phpdocumentor/phpdocumentor: ^2.9
- phpunit/phpunit: ^5.3
This package is auto-updated.
Last update: 2024-10-23 09:33:05 UTC
README
This Module contains Classes to handle Geolocation-Data
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