htdocs/lib2/logic/coordinate.class.php 1 location
|
@@ 278-284 (lines=7) @@
|
| 275 |
|
} |
| 276 |
|
|
| 277 |
|
// return string |
| 278 |
|
public function getGK() |
| 279 |
|
{ |
| 280 |
|
$pdResult = $this->wgs2pot($this->nLat, $this->nLon); |
| 281 |
|
$result = $this->geo2gk($pdResult[1], $pdResult[0]); |
| 282 |
|
|
| 283 |
|
return 'R ' . floor($result[0]) . ' H ' . floor($result[1]); |
| 284 |
|
} |
| 285 |
|
|
| 286 |
|
/** |
| 287 |
|
* @param int $bw |
htdocs_symfony/src/Repository/CoordinatesRepository.php 1 location
|
@@ 336-343 (lines=8) @@
|
| 333 |
|
* |
| 334 |
|
* @return string |
| 335 |
|
*/ |
| 336 |
|
public function getGK() |
| 337 |
|
: string |
| 338 |
|
{ |
| 339 |
|
$pdResult = $this->wgs2pot($this->nLat, $this->nLon); |
| 340 |
|
$result = $this->geo2gk($pdResult[1], $pdResult[0]); |
| 341 |
|
|
| 342 |
|
return 'R ' . floor($result[0]) . ' H ' . floor($result[1]); |
| 343 |
|
} |
| 344 |
|
|
| 345 |
|
/** |
| 346 |
|
* @param float $bw |