1#!/bin/sh 2 3 4# Magellan serial 5# TODO 6 7 8# 9# GPX routes -- since GPX contains a date stamp, tests will always 10# fail, so we use magellan as an interim format... 11# 12rm -f ${TMPDIR}/gpxroute.gpx ${TMPDIR}/maggpx.rte 13gpsbabel -r -i gpx -f ${REFERENCE}/route/route.gpx -o gpx \ 14 -F ${TMPDIR}/gpxroute.gpx 15gpsbabel -r -i gpx -f ${TMPDIR}/gpxroute.gpx -o magellan \ 16 -F ${TMPDIR}/maggpx.rte 17compare ${REFERENCE}/route/magellan.rte ${TMPDIR}/maggpx.rte 18 19# 20# GPX tracks -- since GPX contains a date stamp, tests will always 21# fail, so we use magellan as an interim format... 22# 23rm -f ${TMPDIR}/gpxtrack.gpx ${TMPDIR}/maggpx.trk 24gpsbabel -t -i gpx -f ${REFERENCE}/track/tracks.gpx -o gpx \ 25 -F ${TMPDIR}/gpxtrack.gpx 26gpsbabel -t -i magellan -f ${REFERENCE}/track/meridian.trk -o gpx \ 27 -F ${TMPDIR}/maggpx.trk 28compare ${TMPDIR}/maggpx.trk ${TMPDIR}/gpxtrack.gpx 29 30