import_gpx()

Usage

add(gpxString)

Description
Imports a GPX string and returns a complex object with its contents.

Example

${ import_gpx( get_content( first(find('File', 'name', '20090815.gpx')) ) ) }

would return something like the following. (Note: Indentation added for documentation purposes)

{
  tracks = [
    {
      segments = [
        {
          points = [
            {latitude=50.121096, longitude=8.641047, time=2009-08-15T08:37:23Z, altitude=168.3, horizontalDilution=3.2, verticalDilution=1.0, positionDilution=3.3},
            {latitude=50.12099, longitude=8.639938, time=2009-08-15T08:37:37Z, altitude=168.3, horizontalDilution=3.2, verticalDilution=1.0, positionDilution=3.3}
          ]
        }
      ]
    }
  ]
}

Graph-Browser