You are here

private function GPX::pointToGPX in geoPHP 8

Same name and namespace in other branches
  1. 7 geoPHP/lib/adapters/GPX.class.php \GPX::pointToGPX()
1 call to GPX::pointToGPX()
GPX::geometryToGPX in geoPHP/lib/adapters/GPX.class.php

File

geoPHP/lib/adapters/GPX.class.php, line 154

Class

GPX
PHP Geometry/GPX encoder/decoder

Code

private function pointToGPX($geom) {
  return '<' . $this->nss . 'wpt lat="' . $geom
    ->getY() . '" lon="' . $geom
    ->getX() . '" />';
}