You are here

private function GPX::pointToGPX in geoPHP 7

Same name and namespace in other branches
  1. 8 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() . '" />';
}