Rob Norris [Wed, 2 Oct 2013 20:27:44 +0000 (21:27 +0100)]
SF Features#116: Add an Acquire From URL option.
Add a dialog to download a file from a specific URL directly into Viking,
using the datasource methods.
By default the downloaded file will be opened as a GPX,
but any file type supported by GPSBabel can be specified
(as used by the Import from File option).
If the URL does not resolve, does not return a file, or the file can not be interpreted,
then simply this will give 'Acquisition Error'
Rob Norris [Wed, 2 Oct 2013 01:45:54 +0000 (02:45 +0100)]
Fix the default value for getting the GPS Protocol in acquire.
Not quite sure what I was thinking when I originally wrote this,
as the 'garmin_entry' variable is never really used.
Subsequently I have had to replace my GPS, which now uses the file system,
so I don't use the GPS Protocol method any more so I didn't notice this issue.
Rob Norris [Sat, 28 Sep 2013 12:21:20 +0000 (13:21 +0100)]
Fix incorrectly updating files during geotagging that are read only.
No need to remove the file first (which always works),
since the file is truncated on successful fopen(..,"wb").
Now the fopen() call will not succeed on a read only file and so will not attempt to write.
Rob Norris [Sat, 28 Sep 2013 10:42:07 +0000 (11:42 +0100)]
SF Features#115: Part 1. Add the ability to Geotag multiple images against a Waypoint.
Reuse the general Geotagging Dialog and disable the create/update waypoint options when invoked on a waypoint.
When run against waypoints simply use the position of the waypoint to geotag each image (no interpolation required).
Add feedback to the statusbar should writing the EXIF fail.
Rob Norris [Sun, 15 Sep 2013 13:16:59 +0000 (14:16 +0100)]
Show Map License information for each map type only once.
Instead of showing the license each time a map type is added,
save the map types already used into the Viking settings and only display when a new map type is used.
Settings is extended to handle integer lists to achieve this.
Capture changing the map type in the map layer properties which it did not do previously.
Also make the map license information available all of the time from the map layer right click menu.
Rob Norris [Mon, 9 Sep 2013 23:35:43 +0000 (00:35 +0100)]
Add Waypoint List dialog.
The enables viewing lots them with their basic properties (name, date, altitude + comment).
Being in a simple (treeview) list, each column is sortable.
Implementation is very similar to the Track List dialog.
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.