Gpx is a module that provides functions for parsing GPX file.
Summary
Functions
Reads a GPX file and returns the list of %LocationSimulator.Gpx.GpsPoint{}.
Parses GPX content and returns the list of %LocationSimulator.Gpx.GpsPoint{}.
Expands a GPX glob pattern to matching files.
Functions
@spec read_gpx(Path.t()) :: [LocationSimulator.Gpx.GpsPoint.t()]
Reads a GPX file and returns the list of %LocationSimulator.Gpx.GpsPoint{}.
Raises when the file cannot be read.
@spec read_string_gpx(String.t()) :: [LocationSimulator.Gpx.GpsPoint.t()]
Parses GPX content and returns the list of %LocationSimulator.Gpx.GpsPoint{}.
Expands a GPX glob pattern to matching files.
Raises when nothing matches, so misconfiguration fails fast.