Skip to content

et/gpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gpx

Travis Hex.pm

GPX is a parser for the GPS Exchange Format.

Usage

Use Gpx.parse to return a List of Gpx.Points.

{:ok, content} = File.read("/path/to/file.gpx")
points = Gpx.parse(content)
=> [%Gpx.Point{ele: 4.46, lat: 47.644548, lon: -122.326897, time: ~N[2016-10-31 22:30:27]}
   ...]

Installation

  1. Add gpx to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:gpx, "~> 0.1.0"}]
end
```
  1. Ensure gpx is started before your application:
```elixir
def application do
  [applications: [:gpx]]
end
```

About

GPX parsing tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages