alex-kalanis/kw_coordinates

Transcode between coordinates - base libraries

v3.0.0 2024-03-29 05:01 UTC

This package is auto-updated.

Last update: 2024-10-29 06:41:49 UTC


README

Build Status Scrutinizer Code Quality Latest Stable Version Minimum PHP Version Downloads License Code Coverage

Work with coordinates, have some basic stuff to expand to local or remote services.

PHP Installation

composer.phar require alex-kalanis/kw_coordinates

(Refer to Composer Documentation if you are not familiar with composer)

PHP Usage

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the correct libraries to your code.

4.) Extend your libraries by interfaces inside the package.

5.) Just call setting and render

Caveats

You might not be able to extend these interfaces directly to use other coordinate systems due limitations of php math functions (like pow() - tested, got problematic results) and you might need the external service that calculates the results in another language and here comes only adapting the code into your current one.