Display of GPS-data on map.
Hello all,
This is not a question as much as it is a tip. The next script massages the output file of the command
to a gpx-file. The output of the script can be fed into: http://
-------------
$ cat igot2gpx
#
# http://
#
echo "<gpx><
cat $1 | sed -e 's/^Record.*$//' \
-e 's/^ Date.*$//' \
-e 's/^ Latitude /<trkpt lat="/' \
-e 's/^ Longitude /" lon="/' \
-e 's/^ Elevation .* m$/"><ele>&/' \
-e 's/^ Speed /<\/ele><speed>/' \
-e 's/ m$//' \
-e 's/ km\/s$/
-e 's/^ Course.*$//' \
-e 's/^ EHPE.*$//' \
-e 's/^ Satellites.*$//' \
-e 's/^ Flags.*$//' \
-e 's/^ Timeout.*$//' \
-e 's/^ MSVs_QCN.*$//' \
-e 's/^ Weight.*$//' \
-e 's/^ Sleep.*$//'
echo "</trkseg>
-------------
Then do: "chmod 755 igot2gpx" and voila !
------
73's PE1GDK.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- igotu2gpx Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- pe1gdk
- Solved:
- Last query:
- Last reply: