thipages/quickgpx

Quick gpx parser

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

This package is auto-updated.

Last update: 2025-04-16 19:35:33 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 ]