thipages/quickgpx

Quick gpx parser

v0.2.0 2020-08-16 09:33 UTC

This package is auto-updated.

Last update: 2024-05-16 17:46:20 UTC


README

Quick GPX parser

Installation

composer require thipages\quickgpx

API

    QGpx::parse($filename,$withOriginalTime=false):array

returns an array of array defined as

  • latitude
  • longitude
  • elevation
  • UTC unix time
  • iso time (if $withOriginalTime is set to true)
    QGpx::analyze($gpxAsArray):array

returns an associated array describing some stats properties

  • timeRange : [ minUnixTime, maxUnixTime ]