PHP code example of movisio / jtsk-converter

1. Go to this page and download the library: Download movisio/jtsk-converter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

movisio / jtsk-converter example snippets


$converter = new JTSK\Converter();
$latlon = $converter->JTSKtoWGS84(1104335.13, 707849.38); // returns array ['lat', 'lon']
$jtsk = $converter->WGS84toJTSK(49.582556081943, 15.015852481984); // returns array ['x', 'y']