Rob Norris [Thu, 13 Jun 2013 19:14:58 +0000 (20:14 +0100)]
Add Track List dialog.
The enables viewing tracks with their basic properties (date, distance, length, average speed, etc...).
Being in a simple (treeview) list, each column is sortable so it's easy to find things such as a track by date or the longest track.
Rob Norris [Wed, 31 Jul 2013 22:16:51 +0000 (23:16 +0100)]
Fix crashing when attempting to download maps along a track when multiple maps are enabled.
Detection of 'duplicate' maps is in horrible C - yuck! all this array+pointer code :(
I think it mainly doesn't work as map_layers[] is accessed before being initialized.
Simply bin this stuff as it's hardly useful anyway.
If the user has more than one of the same map - so be it - display them all.
Rob Norris [Wed, 31 Jul 2013 20:05:59 +0000 (21:05 +0100)]
Add option to the cache-mbtile tool to avoid optimizing the database.
This is because the optimizing stage uses a temporary file
(often twice the size of the DB file - so it can be many Gbs in size), one may want to avoid this.
Rob Norris [Wed, 17 Jul 2013 19:29:24 +0000 (20:29 +0100)]
Add methods to smooth missing elevation data from tracks (or routes).
This is a follow up to SF Bug #100.
Two variations are made available -
a simple 'flat' method that simply applies the last known elevation value to the missing points.
an interpolated method that uses beginning and end know elevations to derive inbetween values.
Add function to refine a route with routing service
This patch add a menu entry for route in order to request a
refined version of the route.
The user is now able to plan a journey by creating a simple route
and then request a routing engine to refine this route.
This is a simple solution to extend route finder tool, adding 'via'
points in the journey.
Rob Norris [Sat, 29 Jun 2013 15:28:21 +0000 (16:28 +0100)]
Move all editable properties of a track/route to a dedicated tab.
It seems better to distinguish editable properties and computed properties (called Statistics).
Especially since there are now more track properties to control.
This patch is reworked from Guilhem Bonnefille's initial idea/work.
Rob Norris [Sun, 16 Jun 2013 14:21:09 +0000 (15:21 +0100)]
Add ability to draw track names and distance labels on the viewport.
Track labels are drawn in the appropriate track colour, when set.
Options are given to draw the track names at:
a centre position
start and end positions
centre, start and end
The default is to not draw them.
Also distance along tracks may be displayed with up to N labels at friendly distance amounts.
Originally I had worked(and reworked) over several differing commits,
but too tricky to split into back into the resulting logical commits, so combined together.
Rob Norris [Mon, 15 Jul 2013 22:06:20 +0000 (23:06 +0100)]
SF Features#113: Allow distance from track start to be shown in the Statusbar.
Use the controllable method to generate a trackpoint sting.
By default the elevation, time, distance along track and track name
will be shown for the selected trackpoint.
The settings string 'trkpt_selected_statusbar_format' can be adjusted if the different values are wanted.
Rob Norris [Mon, 15 Jul 2013 21:52:51 +0000 (22:52 +0100)]
Add a common method to produce an information message string about a Trackpoint.
Currently for ease of implementation the message format code is a string of characters.
Each character represents what should be inserted in relation to a Trackpoint.
One day it might evolve into something more user friendly with a frontend to control it, perhaps allowing arbitary text too.
However for now at least some control is offered :)
Rob Norris [Sat, 6 Jul 2013 10:16:29 +0000 (11:16 +0100)]
SF Bugs#100: Fix Crash on viewing Track Properties with extreme gradients.
Even though the code checked for end of the array, it did not set the index value correctly.
Thus it could access memory outside of the array, which could be zero and lead to divide by zero errors.
Refactor the code to use the common chunk index function.
Rob Norris [Sat, 6 Jul 2013 10:30:01 +0000 (11:30 +0100)]
SF Bugs#99: Increase limit for Map IDs
Change from a guint8 to a guint16 to enable larger map id range.
Thus prevents silently auto wrapping numbers around which may then overwrite a different map cache.
Rob Norris [Wed, 26 Jun 2013 18:19:46 +0000 (19:19 +0100)]
SF Features#114: Increase the time limit for the Tile Age and use days in the GUI.
The limit is now increased to 1 year.
Units are the more human friendly scale of days, rather than trying to deal in hundreds of thousands of seconds.
Values are still held in seconds in the preferences.