alex-kalanis / kw_coordinates
Transcode between coordinates - base libraries
Requires
- php: >=7.4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=7.2 <=9
- shipmonk/composer-dependency-analyser: ^1.4
This package is auto-updated.
Last update: 2024-11-29 06:47:44 UTC
README
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.