public function DMSLatitude($format = '%d %d %F %s') {

    $lat = $this->convertDecToDMS($this->latitude());

    $direction = 'N';
    if ($lat['degrees'] < 0) {
      $direction = 'S';
    }

    return sprintf($format, $lat['degrees'], $lat['minutes'], $lat['seconds'], $direction);
  }