]> git.street.me.uk Git - andy/viking.git/commit - src/viktrwlayer.c
Add support for GPX routes - as a new sublayer type of the now less accurately named...
authorRob Norris <rw_norris@hotmail.com>
Wed, 17 Oct 2012 00:37:18 +0000 (01:37 +0100)
committerRob Norris <rw_norris@hotmail.com>
Sat, 5 Jan 2013 12:47:39 +0000 (12:47 +0000)
commit0d2b891f5f4673f0dd1142dcd7e1eb08e4248090
tree7c911a758c652f84323dc1cc599a2cb1033a5187
parent0d80642e646924bdd854c6b3b5ca9dc6e2b1114a
Add support for GPX routes - as a new sublayer type of the now less accurately named TrackWaypoint layer

Most previous track functionality is made avaliable on this Route type.
Routepoints can have an elevation property.
GPX Routes can be optionally downloaded/uploaded from GPS devices via the Acquire, GPS layer or menu methods.
GPX files with routes may be imported and exported.
Viking .vik files save route and routepoints.

Internally, a route is implemented as a simple boolean flag as part of the track's property.
15 files changed:
src/acquire.c
src/datasource_gps.c
src/datasource_gps.h
src/file.c
src/gpspoint.c
src/gpx.c
src/gpx.h
src/osm-traces.c
src/vikgpslayer.c
src/vikgpslayer.h
src/viktrack.c
src/viktrack.h
src/viktrwlayer.c
src/viktrwlayer.h
src/viktrwlayer_propwin.c