]>
git.street.me.uk Git - andy/viking.git/log
Guilhem Bonnefille [Sat, 5 Oct 2013 09:47:35 +0000 (11:47 +0200)]
Fix export dialog title
Rob Norris [Fri, 4 Oct 2013 18:33:40 +0000 (19:33 +0100)]
SF Features#116: Add an Acquire From URL option.
D'oh!.
Remember to add the new file.
Guilhem Bonnefille [Thu, 3 Oct 2013 21:52:20 +0000 (23:52 +0200)]
Fix gpsbabel capabilities parsing
The read BabelMode was incorrect and resulted in random data.
With the fix, BabelMode is nicely affected.
Check possible with (due to new g_debug messages):
src/viking -d 2>&1 | less
Guilhem Bonnefille [Wed, 2 Oct 2013 21:01:06 +0000 (23:01 +0200)]
QA: minor refactor to reduce code
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:52:06 +0000 (02:52 +0100)]
Fix not moving the viewport to the data when using TrackWaypoint->Acquire methods.
Autoview relies on the bounds being set up, thus is must happen after the post read stage.
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 [Sun, 29 Sep 2013 09:58:55 +0000 (10:58 +0100)]
Add tooltip to help align the name in TrackWaypoint->Acquire menu to the File->Acquire menu
Rob Norris [Sat, 28 Sep 2013 13:01:12 +0000 (14:01 +0100)]
[DOC] Mention ability to set a waypoint's altitude from DEM data.
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 12:01:37 +0000 (13:01 +0100)]
Update libjpeg utilities from exif command line tool to version 0.6.21
jpeg-data.c now at revision 1.24
Rob Norris [Sat, 28 Sep 2013 11:01:21 +0000 (12:01 +0100)]
SF Features#115: Part 2. Update working directory when loading images for geotagging
However one may still need to set the value StartupMode=cwd in:
~/.config/gtk-2.0/gtkfilechooser.ini
At least I think the directory will now get set into the recently used directory list.
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.
Update the manual accordingly.
Rob Norris [Sat, 28 Sep 2013 10:57:00 +0000 (11:57 +0100)]
[QA] Fix not showing new waypoints after geotagging due to not setting waypoint bounds.
Missed from commit SHA:
aa0665e5c2a3269c2f0de8ea9fb6932fd2272365
Rob Norris [Sat, 28 Sep 2013 09:27:07 +0000 (10:27 +0100)]
Only allow JPGs in the file selector for Geotagging.
NB Writing of EXIF information only works on JPGs so make the file selection more explicit.
Rob Norris [Thu, 26 Sep 2013 18:34:51 +0000 (19:34 +0100)]
Fix broken map layer property tooltip.
Accidentally broken by commit SHA1:
a87f8fa1508fea5fb89fa9075df8e139e22fdb3f
Rob Norris [Thu, 26 Sep 2013 19:06:59 +0000 (20:06 +0100)]
Add support for OSM Humanitarian (HOT) Style Map.
Since this has been added to the main OSM.org page, this option is built in.
Rob Norris [Tue, 24 Sep 2013 18:17:20 +0000 (19:17 +0100)]
[QA] These functions should be static to match the definition
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 [Sat, 21 Sep 2013 09:00:26 +0000 (10:00 +0100)]
Ensure consistent view of waypoint changes.
Update treeview+display when applying changes from the properties dialog which was invoked by the waypoint list dialog.
Rob Norris [Sat, 21 Sep 2013 08:57:43 +0000 (09:57 +0100)]
Support Waypoint timestamps in .vik files.
Follow on from commit SHA1:
f5ef9b950e896dbce8db12bbbb21c509859aa6d2
Rob Norris [Wed, 18 Sep 2013 18:37:28 +0000 (19:37 +0100)]
[QA] Use specific type
Rob Norris [Sat, 14 Sep 2013 11:17:02 +0000 (12:17 +0100)]
Always open new .vik file in current window when no .vik file is loaded.
This is particularly for the case when a .vik file is loaded via drag and drop.
Rob Norris [Sat, 14 Sep 2013 10:01:34 +0000 (11:01 +0100)]
[DOC] Images for the Track properties - since this has changed for version 1.5
Rob Norris [Sat, 14 Sep 2013 09:36:31 +0000 (10:36 +0100)]
Allow some redirects for routing web sites by default.
Rob Norris [Sat, 14 Sep 2013 09:35:47 +0000 (10:35 +0100)]
Improve item list dialogs to handle long text values better.
Also allow resizing and reordering of columns too.
Rob Norris [Thu, 12 Sep 2013 23:16:28 +0000 (00:16 +0100)]
Always create a menu separator for waypoints as now there is always at least the transform menu option
Rob Norris [Thu, 5 Sep 2013 12:46:47 +0000 (13:46 +0100)]
Fix opening files with spaces in them when using the drag and drop mechanism
Rob Norris [Wed, 11 Sep 2013 22:12:44 +0000 (23:12 +0100)]
[DOC] Update help with text and images for multi-layer TrackWaypoint lists and statistics dialogs.
Rob Norris [Wed, 11 Sep 2013 21:40:31 +0000 (22:40 +0100)]
Merge branch 'WaypointsList'
Rob Norris [Mon, 9 Sep 2013 13:17:33 +0000 (14:17 +0100)]
Use Waypoint list dialog from Aggregate Layer menus.
Rob Norris [Mon, 9 Sep 2013 13:15:49 +0000 (14:15 +0100)]
Use Waypoint list dialog in TrackWaypoint layer menus.
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 [Mon, 9 Sep 2013 23:31:08 +0000 (00:31 +0100)]
Expose functions for reuse and promote types.
Rob Norris [Wed, 11 Sep 2013 21:05:36 +0000 (22:05 +0100)]
[QA] Update year values.
Rob Norris [Wed, 4 Sep 2013 18:33:06 +0000 (19:33 +0100)]
[DOC] Transform menu help
Rob Norris [Wed, 4 Sep 2013 17:59:31 +0000 (18:59 +0100)]
[DOC] Maps download region including image of the dialog
Rob Norris [Wed, 4 Sep 2013 17:34:30 +0000 (18:34 +0100)]
[DOC] Improve Trackpoint edit dialog description and add example image.
Rob Norris [Wed, 4 Sep 2013 17:15:42 +0000 (18:15 +0100)]
[DOC] Selected trackpoint operations: inserting and deleting in Track/Route menu.
Rob Norris [Wed, 11 Sep 2013 18:20:18 +0000 (19:20 +0100)]
Actually make intended debug messages print only in debug instead of warnings.
Rob Norris [Wed, 11 Sep 2013 18:07:41 +0000 (19:07 +0100)]
SF Features#76: Fix Trackpoint copying after the introduction of trackpoint naming.
Also correct the signature of the focus-out-event callback function handling the name change.
Rob Norris [Tue, 10 Sep 2013 23:24:18 +0000 (00:24 +0100)]
SF Features#53: Part2: Keep the size and zoom options next to each other in the Image Generation dialog.
By moving the PNG/JPEG choice to the top.
Rob Norris [Wed, 21 Aug 2013 22:31:43 +0000 (23:31 +0100)]
Add some safety checks and don't add the pixbuf into the cache if it's invalid.
Rob Norris [Sun, 18 Aug 2013 11:03:39 +0000 (12:03 +0100)]
In the Goto Lat/Lon dialog, allow the return key to accept the entry values.
Rob Norris [Sun, 4 Aug 2013 00:13:32 +0000 (01:13 +0100)]
[QA] Include your own header file.
Rob Norris [Tue, 10 Sep 2013 22:03:08 +0000 (23:03 +0100)]
[QA] Fixup if statement intention.
Highlighted as issue when compiling with clang 3.2
Rob Norris [Tue, 10 Sep 2013 21:46:52 +0000 (22:46 +0100)]
[QA] Shift Viking dependent functions in 'util' to 'vikutils'
Rob Norris [Mon, 9 Sep 2013 22:53:19 +0000 (23:53 +0100)]
SF Features#76: Add ability to handle and name trackpoints.
Normally these are more useful for named routepoints, but applies to trackpoints as well.
Process named points in GPX files.
Extend .vik files to save named trackpoints.
Rework Trackpoint dialog to display and make trackpoint name editable.
Shift the TrackWaypoint name into Trackpoint dialog title.
Extend the statusbar to display trackpoint name when selected trackpoint has a name.
Rob Norris [Mon, 9 Sep 2013 13:13:42 +0000 (14:13 +0100)]
[QA] Fix some clang compiler warnings.
Rob Norris [Wed, 4 Sep 2013 23:31:17 +0000 (00:31 +0100)]
Expand list of potentially used libraries.
Rob Norris [Tue, 3 Sep 2013 21:40:01 +0000 (22:40 +0100)]
[DOC] Add help for DEM File Information dialog
Rob Norris [Tue, 3 Sep 2013 16:07:29 +0000 (17:07 +0100)]
[DOC] Improve help for map tile information
Rob Norris [Tue, 3 Sep 2013 18:58:37 +0000 (19:58 +0100)]
Ignore new output from autotools build system.
Rob Norris [Wed, 4 Sep 2013 23:16:09 +0000 (00:16 +0100)]
Enable compiling with older glib versions (a function used is 2.32+ only)
Improve feedback in processing malformed bzip files
Rob Norris [Wed, 4 Sep 2013 23:13:42 +0000 (00:13 +0100)]
[WINDOWS] Installer improvement
Rob Norris [Wed, 4 Sep 2013 23:13:12 +0000 (00:13 +0100)]
[WINDOWS] Need to specify magic database location.
Rob Norris [Tue, 3 Sep 2013 18:27:11 +0000 (19:27 +0100)]
[WINDOWS] Add libmagic DLL 5.03 for Windows build.
Rob Norris [Tue, 3 Sep 2013 18:25:59 +0000 (19:25 +0100)]
[WINDOWS] Add use of libbz2 (bzip2) 1.0.6 DLL for Windows build
Rob Norris [Mon, 2 Sep 2013 21:21:23 +0000 (22:21 +0100)]
Fix files missing for translation
Rob Norris [Fri, 30 Aug 2013 08:42:13 +0000 (09:42 +0100)]
[QA] Use the common map_utils_mpp_to_zoom function
It was introduced in commit SHA1:
e1dde2a674348cf8d8805242561df4b0aab55490
However the later merge of DatasourceRemoteFile brought in an earlier version (and different location) of this common method.
So make the webtool_datasource use the new function and remove the old version.
Rob Norris [Thu, 29 Aug 2013 19:07:24 +0000 (20:07 +0100)]
Merge branch 'TrackList'
Rob Norris [Mon, 26 Aug 2013 19:58:18 +0000 (20:58 +0100)]
[QA] Remove unused function parameter
Rob Norris [Sat, 23 Mar 2013 19:21:50 +0000 (19:21 +0000)]
Add Track list output from aggregate layers.
Rob Norris [Thu, 13 Jun 2013 19:17:09 +0000 (20:17 +0100)]
Add track list capability to the track sublayer container.
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 [Thu, 22 Aug 2013 23:37:39 +0000 (00:37 +0100)]
Functions for reuse and promote a type.
Rob Norris [Sun, 7 Jul 2013 20:29:01 +0000 (21:29 +0100)]
Refactor track and layer list creation code for better reuse.
Rob Norris [Wed, 28 Aug 2013 11:17:08 +0000 (12:17 +0100)]
Fix spelling of visible.
Rob Norris [Wed, 28 Aug 2013 11:12:07 +0000 (12:12 +0100)]
Remove compiler warning on 32bit systems.
Rob Norris [Wed, 28 Aug 2013 00:30:47 +0000 (01:30 +0100)]
Fix statusbar info format message to not display '(null)' repeatedly at the end.
Rob Norris [Wed, 28 Aug 2013 00:12:41 +0000 (01:12 +0100)]
Enable inserting a trackpoint before or after the selected trackpoint from the TrackWaypoint layer menu.
Rob Norris [Wed, 28 Aug 2013 00:10:23 +0000 (01:10 +0100)]
Enable direct deletion of a selected trackpoint from the TrackWaypoint layer menu.
Restructure the code a litle bit for reuse.
Update the existing delete trackpoint from the track edit dialog to use this method.
Rob Norris [Wed, 28 Aug 2013 00:02:17 +0000 (01:02 +0100)]
Maintain trackpoint selected when moving it.
Otherwise it's annoying to have to reselect it, especially when wanting to go to the previous or next point.
Rob Norris [Tue, 27 Aug 2013 21:40:04 +0000 (22:40 +0100)]
[QA] Function should use a constant name parameter
Rob Norris [Wed, 24 Jul 2013 18:22:46 +0000 (19:22 +0100)]
[QA] Function should use a constant name parameter
Rob Norris [Wed, 24 Jul 2013 19:23:23 +0000 (20:23 +0100)]
Fix coord layer copying so the copied one is actually drawn.
Ensure the GC gets enabled for the new coord layer.
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 21:07:22 +0000 (22:07 +0100)]
[QA] Remove unused function
Rob Norris [Wed, 31 Jul 2013 20:07:33 +0000 (21:07 +0100)]
[QA] Remove an unused function parameter.
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.
Guilhem Bonnefille [Wed, 7 Aug 2013 19:56:34 +0000 (21:56 +0200)]
Fix missing question mark
Rob Norris [Mon, 26 Aug 2013 19:30:35 +0000 (20:30 +0100)]
Merge branch 'StatusBarInfoControl'
Conflicts:
help/C/viking.xml
Plus fix some minor help text grammar.
Rob Norris [Mon, 26 Aug 2013 19:22:09 +0000 (20:22 +0100)]
Merge branch 'TrackLabelling'
Rob Norris [Mon, 26 Aug 2013 19:16:50 +0000 (20:16 +0100)]
Merge branch 'TransformUtils'
Rob Norris [Mon, 26 Aug 2013 17:50:45 +0000 (18:50 +0100)]
Merge branch 'DownloadDecompression'
Rob Norris [Wed, 24 Jul 2013 00:07:35 +0000 (01:07 +0100)]
Add 'Transform' abilities to set DEM information for Waypoints.
Allow setting elevations to an individual waypoint or all waypoints in a layer.
Rob Norris [Wed, 24 Jul 2013 00:05:29 +0000 (01:05 +0100)]
Refactor to use the new function to get the waypoint height.
Rob Norris [Wed, 24 Jul 2013 00:04:13 +0000 (01:04 +0100)]
Add function to set waypoint height from DEM information.
Rob Norris [Thu, 18 Jul 2013 18:23:56 +0000 (19:23 +0100)]
Add an option to anonymize track timestamps on upload to OSM Traces.
Only make available for an individual track upload
(as ATM the anonymize times can't be applied to a layer).
Rob Norris [Thu, 18 Jul 2013 18:17:33 +0000 (19:17 +0100)]
Make the anonymize timestamp method available in the GUI.
Rob Norris [Thu, 18 Jul 2013 18:16:50 +0000 (19:16 +0100)]
Add function to anonymize timestamps of a track.
Rob Norris [Wed, 17 Jul 2013 20:35:00 +0000 (21:35 +0100)]
Make the downloading SRTM error visible in the GUI.
Rob Norris [Wed, 17 Jul 2013 20:31:51 +0000 (21:31 +0100)]
Add warning of when trying to apply DEM data, but no DEM layers are available.
Rob Norris [Wed, 17 Jul 2013 20:28:54 +0000 (21:28 +0100)]
Improve options for applying DEM Data to a track/route.
Make explicit the option that overwrites all existing elevation data.
Add new option to only update missing elevation data.
Always report the number of points modified.
Rob Norris [Wed, 17 Jul 2013 19:31:59 +0000 (20:31 +0100)]
Make the track/route elevation smoothing methods available in the GUI.
The number of points adjusted is reported to the user.
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.
The number of points adjusted is returned.
Rob Norris [Tue, 16 Jul 2013 21:32:32 +0000 (22:32 +0100)]
Create and use new menu level 'Transform' for some track/route operations.
This is a holdall for methods that manipulate track values but don't add/remove points.
Move the 'Apply DEM Data' and 'Convert to X' functions here.
Guilhem Bonnefille [Tue, 23 Jul 2013 21:01:29 +0000 (23:01 +0200)]
Check size of route before refining it
Before computing a route refining on an excessively long route,
request confirmation from user.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 23 Jul 2013 21:01:29 +0000 (23:01 +0200)]
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.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 23 Jul 2013 20:53:11 +0000 (22:53 +0200)]
[DOC] Tag some contextual restrictions as 'note'