-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3549 from pavelmachek/m_31_trail
trail: initial import
- Loading branch information
Showing
7 changed files
with
687 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0.01: New App! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Trail Rail ![](app.png) | ||
|
||
Simple app to follow GPX track | ||
|
||
Written by: [Pavel Machek](https://github.com/pavelmachek) | ||
|
||
After GPS fix is acquired, it displays familiar arrow with road in | ||
front of you. It never stores whole track in memory, so it should work | ||
with fairly large files. | ||
|
||
GPX files can be obtained from various services, www.mapy.cz is one of | ||
them (actually uses openstreetmap data for most of the world). | ||
|
||
## Preparing data | ||
|
||
"gpx2egt.sh < file.gpx > t.name.egt" can be used to prepare data, then | ||
upload it to watch. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require("heatshrink").decompress(atob("mEwhHXAH4AHgAqpvownEQ4wEMEYw8YMgw4F84wwMH4woeQQvlEwwvCGFgvqE4gvDGFAvHAFQv/AH74YElYvjF3Je/FzV9F8wuLF8QhHL34u/RqSOjFxYvpF2gvlRQwuoAAIvqFoQvJFsoupF9wtFF+CNuX34xfF1YwDF9oA/AH4AyA==")) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
grep "trkpt lat" | sed 's/.*trkpt.lat=.//' | sed 's/. lon=./ /' | sed 's/".$//' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ "id": "trail", | ||
"name": "Trail Rail", | ||
"version":"0.01", | ||
"description": "Follow a GPX track in car or on bike", | ||
"icon": "app.png", | ||
"readme": "README.md", | ||
"supports" : ["BANGLEJS2"], | ||
"tags": "outdoors,gps,osm", | ||
"storage": [ | ||
{"name":"trail.app.js","url":"trail.app.js"}, | ||
{"name":"trail.img","url":"app-icon.js","evaluate":true} | ||
] | ||
} |
Oops, something went wrong.