Importer for manually entered positions

package org.routamc.positioning

 Methods

import (array $log, integer $person_id)

Import manually entered log entry.

The entries are associative arrays containing some or all of the following keys:

  • latitude
  • longitude
  • altitude
  • city
  • country
  • aerodrome
  • timestamp

Parameters

$log

arrayLog entry in Array format specific to importer

$person_id

integerID of the person to import logs for

Returns

booleanIndicating success.

normalize_country ($country)

Modify country to conform to ISO standards

Parameters

$country