]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
9 years agoMake simple GPSBabel filter options use the updated acquire framework options.
Rob Norris [Tue, 28 Apr 2015 21:20:39 +0000 (22:20 +0100)]
Make simple GPSBabel filter options use the updated acquire framework options.

These filter options don't have to be shell commands anymore and so should work cross platform.

9 years agoRework Acquire framework process function options for maintainability and understanding.
Rob Norris [Tue, 28 Apr 2015 21:18:11 +0000 (22:18 +0100)]
Rework Acquire framework process function options for maintainability and understanding.

Instead of overloaded parameters, use a structure with fields for the specific processing types and gpsbabel options.

Thus rename functions and parameter variables, update the usage thereof and simplify code as applicable.

9 years agoFix stability of some 32 bit builds.
Rob Norris [Mon, 20 Apr 2015 23:04:14 +0000 (00:04 +0100)]
Fix stability of some 32 bit builds.

Forcing 64bit types seems to improve reliability of these timestamp operations.

9 years agoFix tracks and routes not displayed when downloaded via the GPS Layer.
Rob Norris [Sat, 18 Apr 2015 09:01:50 +0000 (10:01 +0100)]
Fix tracks and routes not displayed when downloaded via the GPS Layer.

Need to calculate the bounding box of these, which is performed in the post read function.

9 years agoFix availability of the Google routing direction engine
Rob Norris [Thu, 16 Apr 2015 22:56:07 +0000 (23:56 +0100)]
Fix availability of the Google routing direction engine

9 years agoPrevent crashing on direction requests when no engine is available.
Rob Norris [Thu, 16 Apr 2015 22:54:38 +0000 (23:54 +0100)]
Prevent crashing on direction requests when no engine is available.

9 years ago[QA] Rename routing engine function as it gives URLs
Rob Norris [Thu, 16 Apr 2015 22:53:28 +0000 (23:53 +0100)]
[QA] Rename routing engine function as it gives URLs

9 years agoFix display of map tile source information when it has extended characters.
Rob Norris [Thu, 16 Apr 2015 19:33:25 +0000 (20:33 +0100)]
Fix display of map tile source information when it has extended characters.

Since the dialog text uses Pango markup, need to escape the input string.

9 years ago[WINDOWS] Remove usage of 'filter with' functions as these don't work in Windows.
Rob Norris [Thu, 16 Apr 2015 19:30:17 +0000 (20:30 +0100)]
[WINDOWS] Remove usage of 'filter with' functions as these don't work in Windows.

Since these functions are bash shell commands they only work on Unix like systems.

9 years ago[WINDOWS] Fix a missing \ in a potential gpsbabel location.
Rob Norris [Thu, 16 Apr 2015 19:28:13 +0000 (20:28 +0100)]
[WINDOWS] Fix a missing \ in a potential gpsbabel location.

9 years agoUpdate Help to wiki conversion method as the wiki is now in Markdown.
Rob Norris [Thu, 16 Apr 2015 19:26:37 +0000 (20:26 +0100)]
Update Help to wiki conversion method as the wiki is now in Markdown.

9 years agodatasources.xml file should be packaged
Rob Norris [Thu, 16 Apr 2015 19:25:18 +0000 (20:25 +0100)]
datasources.xml file should be packaged

9 years agoFix warning in a test program.
Rob Norris [Sat, 4 Apr 2015 15:29:42 +0000 (16:29 +0100)]
Fix warning in a test program.

9 years ago[DOC] Update copyright year
Rob Norris [Sat, 4 Apr 2015 15:28:24 +0000 (16:28 +0100)]
[DOC] Update copyright year

9 years agoFix potential broken builds.
Rob Norris [Sun, 29 Mar 2015 22:47:45 +0000 (23:47 +0100)]
Fix potential broken builds.

Annoyingly g_str_to_ascii() is actually a recent addition to GLIB,
 despite the manual not stating which version it is available in
 (hence I thought it was always available).

9 years agoReleasing Viking 1.6
Rob Norris [Sun, 29 Mar 2015 21:40:28 +0000 (22:40 +0100)]
Releasing Viking 1.6

9 years agoFix new test programs to work under 'make distcheck'
Rob Norris [Sun, 29 Mar 2015 21:23:58 +0000 (22:23 +0100)]
Fix new test programs to work under 'make distcheck'

9 years agoFix renamed file
Rob Norris [Sun, 29 Mar 2015 21:20:42 +0000 (22:20 +0100)]
Fix renamed file

9 years ago[DOC] Improve formal docbook compliance.
Rob Norris [Sun, 29 Mar 2015 21:19:12 +0000 (22:19 +0100)]
[DOC] Improve formal docbook compliance.

9 years agoAdd more files that have i18n.
Rob Norris [Sun, 29 Mar 2015 21:16:51 +0000 (22:16 +0100)]
Add more files that have i18n.

9 years agoDebian #746815: Fix loading image thumbnails when some Unicode chars in the pathname
Rob Norris [Sun, 29 Mar 2015 13:23:35 +0000 (14:23 +0100)]
Debian #746815: Fix loading image thumbnails when some Unicode chars in the pathname

9 years ago[QA] White space fixes
Rob Norris [Sun, 29 Mar 2015 12:56:59 +0000 (13:56 +0100)]
[QA] White space fixes

9 years agoDetect gdk_pixbuf_save failures in thumbnail generation
Rob Norris [Sun, 29 Mar 2015 12:56:34 +0000 (13:56 +0100)]
Detect gdk_pixbuf_save failures in thumbnail generation

9 years agoDebian #761966: Remove an incorrect accelerator in the German translation.
Rob Norris [Sun, 29 Mar 2015 11:56:21 +0000 (12:56 +0100)]
Debian #761966: Remove an incorrect accelerator in the German translation.

9 years agoDocument previous translation updates
Rob Norris [Fri, 6 Mar 2015 21:36:00 +0000 (21:36 +0000)]
Document previous translation updates

9 years agoImport Launchpad translation updates
Rob Norris [Fri, 6 Mar 2015 21:34:58 +0000 (21:34 +0000)]
Import Launchpad translation updates

9 years ago[DOC] Interpolate Times
Rob Norris [Sat, 28 Mar 2015 14:53:30 +0000 (14:53 +0000)]
[DOC] Interpolate Times

9 years agoPrevent potential infinite speeds in interpolating time function.
Rob Norris [Sat, 28 Mar 2015 11:05:14 +0000 (11:05 +0000)]
Prevent potential infinite speeds in interpolating time function.

Some points may end up with the same time so simply remove them.

9 years agoInterpolate timestamps of a track between first and last trackpoint
Christian Müller [Sat, 28 Mar 2015 10:02:14 +0000 (10:02 +0000)]
Interpolate timestamps of a track between first and last trackpoint

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoExtend TrackWaypoint layer tooltip to include the total length of routes.
Rob Norris [Sat, 28 Mar 2015 09:34:10 +0000 (09:34 +0000)]
Extend TrackWaypoint layer tooltip to include the total length of routes.

9 years agoFix mislabelled distance markers when using Nautical Miles.
Rob Norris [Sat, 28 Mar 2015 09:32:44 +0000 (09:32 +0000)]
Fix mislabelled distance markers when using Nautical Miles.

Add the missing case for Nautical Miles.

9 years ago[QA] Fix (an unused) function parameter type.
Rob Norris [Sat, 28 Mar 2015 09:25:54 +0000 (09:25 +0000)]
[QA] Fix (an unused) function parameter type.

9 years agoEnable a method to copy the time in the Trackpoint and Waypoint Edit dialogs.
Rob Norris [Sat, 28 Mar 2015 00:57:37 +0000 (00:57 +0000)]
Enable a method to copy the time in the Trackpoint and Waypoint Edit dialogs.

9 years agoEnable invoking Web Tools via right click menus on selected layers or points.
Rob Norris [Fri, 27 Mar 2015 23:47:49 +0000 (23:47 +0000)]
Enable invoking Web Tools via right click menus on selected layers or points.

Extend Web Tools to accept a coordinate parameter,
 so that it can use that location in forming the URL.

9 years ago[QA] Prevent a Gtk-Critical warning.
Rob Norris [Sat, 28 Mar 2015 11:01:47 +0000 (11:01 +0000)]
[QA] Prevent a Gtk-Critical warning.

9 years ago[QA] Update comment regarding GPSBabel version for Overpass API query result handling.
Rob Norris [Fri, 27 Mar 2015 23:05:47 +0000 (23:05 +0000)]
[QA] Update comment regarding GPSBabel version for Overpass API query result handling.

9 years agoImprove layout of the Edit Trackpoint dialog.
Christian Müller [Thu, 19 Mar 2015 21:28:39 +0000 (21:28 +0000)]
Improve layout of the Edit Trackpoint dialog.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoFix initialization so that preferences aren't accessed too early.
Rob Norris [Wed, 18 Mar 2015 01:14:57 +0000 (01:14 +0000)]
Fix initialization so that preferences aren't accessed too early.

Use a two stage pass, since several initialization functions now read preferences as part of their process.

This is due to the first time a_preferences_get() is called it loads any preferences values from disk,
 but of course for preferences not registered yet it can't actually understand them.
Thus subsequent initial attempts to get unregistered preferences would not return the expected values.

9 years agoFix toolbar preference types
Rob Norris [Wed, 18 Mar 2015 00:38:36 +0000 (00:38 +0000)]
Fix toolbar preference types

9 years agoFix changed Wikimedia Toolserver GeoHack URL
Rob Norris [Tue, 17 Mar 2015 23:05:15 +0000 (23:05 +0000)]
Fix changed Wikimedia Toolserver GeoHack URL

9 years agoAdd built in support for OSM Query requests.
Rob Norris [Tue, 17 Mar 2015 22:54:32 +0000 (22:54 +0000)]
Add built in support for OSM Query requests.

9 years ago[QA] Normalize OSM URL.
Rob Norris [Tue, 17 Mar 2015 22:51:36 +0000 (22:51 +0000)]
[QA] Normalize OSM URL.

9 years ago[QA] Improve tool_edit_trackpoint_click() comments
Rob Norris [Tue, 17 Mar 2015 22:34:49 +0000 (22:34 +0000)]
[QA] Improve tool_edit_trackpoint_click() comments

9 years agoAdd advanced setting to create TrackWaypoint layers without asking for details.
Rob Norris [Tue, 17 Mar 2015 22:26:11 +0000 (22:26 +0000)]
Add advanced setting to create TrackWaypoint layers without asking for details.

9 years agoFix enable selecting trackpoints/routepoints via Edit Trackpoint tool when the other...
Rob Norris [Mon, 16 Mar 2015 20:54:00 +0000 (20:54 +0000)]
Fix enable selecting trackpoints/routepoints via Edit Trackpoint tool when the other kind is invisible.

9 years agoSF Bugs#118: Fix route point selection via the Edit Trackpoint tool.
Rob Norris [Mon, 16 Mar 2015 20:52:17 +0000 (20:52 +0000)]
SF Bugs#118: Fix route point selection via the Edit Trackpoint tool.

9 years agoAllow re-sizing the width of the layers panel to smaller than the initial value.
Rob Norris [Mon, 16 Mar 2015 20:08:58 +0000 (20:08 +0000)]
Allow re-sizing the width of the layers panel to smaller than the initial value.

9 years agoSF Bugs#117: Confirm capability with GPSD_API_MAJOR_VERSION=6 (gpsd 3.12 / libgps...
Rob Norris [Mon, 9 Mar 2015 23:25:15 +0000 (23:25 +0000)]
SF Bugs#117: Confirm capability with GPSD_API_MAJOR_VERSION=6 (gpsd 3.12 / libgps.so.22)

9 years ago[WINDOWS] Update to GPSBabel 1.5.2
Rob Norris [Sun, 8 Mar 2015 11:27:18 +0000 (11:27 +0000)]
[WINDOWS] Update to GPSBabel 1.5.2

9 years ago[WINDOWS] Enable faster building by using all available CPUs.
Rob Norris [Sun, 8 Mar 2015 11:26:22 +0000 (11:26 +0000)]
[WINDOWS] Enable faster building by using all available CPUs.

9 years agoUse the correct variable name!
Rob Norris [Sun, 8 Mar 2015 10:54:38 +0000 (10:54 +0000)]
Use the correct variable name!

Fixes crashing under Windows and probably more reliable sublayer ordering.

9 years ago[QA] Force integer type in calls to abs() as x,y in GdkEventButton are doubles.
Rob Norris [Fri, 6 Mar 2015 19:04:44 +0000 (19:04 +0000)]
[QA] Force integer type in calls to abs() as x,y in GdkEventButton are doubles.

9 years ago[QA] Use labs() instead of abs() in comparison of timestamps to avoid truncation...
Rob Norris [Fri, 6 Mar 2015 19:03:23 +0000 (19:03 +0000)]
[QA] Use labs() instead of abs() in comparison of timestamps to avoid truncation issues

9 years ago[QA] Fix clang warning: format string is not a string literal
Rob Norris [Fri, 6 Mar 2015 18:39:30 +0000 (18:39 +0000)]
[QA] Fix clang warning: format string is not a string literal

9 years agoFix building when geotagging is disabled.
Rob Norris [Thu, 12 Feb 2015 23:11:02 +0000 (23:11 +0000)]
Fix building when geotagging is disabled.

9 years agoSF Features#122: Export Track, Route and Waypoint Lists as text.
Rob Norris [Tue, 24 Feb 2015 23:02:10 +0000 (23:02 +0000)]
SF Features#122: Export Track, Route and Waypoint Lists as text.

Thus enable multi-select and a new right click option 'Copy Data',
 which copies each field as text separated by a tab.

This can then be pasted into another program - i.e. a spreadsheet application.
[Tested with LibreOffice Calc]

9 years agoWhite space fixes.
Rob Norris [Tue, 24 Feb 2015 22:55:57 +0000 (22:55 +0000)]
White space fixes.

9 years ago[QA] List display of maximum track height could be a negative value.
Rob Norris [Tue, 24 Feb 2015 22:54:55 +0000 (22:54 +0000)]
[QA] List display of maximum track height could be a negative value.

9 years agoMerge branch 'TimeSort'
Rob Norris [Tue, 24 Feb 2015 23:06:48 +0000 (23:06 +0000)]
Merge branch 'TimeSort'

9 years agoImprove date treeview storage consistency by updating TRW layer when sublayers are...
Rob Norris [Sun, 15 Feb 2015 10:32:42 +0000 (10:32 +0000)]
Improve date treeview storage consistency by updating TRW layer when sublayers are deleted.

9 years agoAdd ability to sort Aggregate layers and sublayers of Tracks and Waypoints by date.
Rob Norris [Sun, 15 Feb 2015 10:30:31 +0000 (10:30 +0000)]
Add ability to sort Aggregate layers and sublayers of Tracks and Waypoints by date.

Store the timestamp in the treeview on layer/sublayer creation to enable the comparison.
Add comparison functions.

9 years agoRefactor getting first timestamp for VikTrwlayers (and sublayers) into reuse-able...
Rob Norris [Sat, 14 Feb 2015 12:14:34 +0000 (12:14 +0000)]
Refactor getting first timestamp for VikTrwlayers (and sublayers) into reuse-able functions.

9 years agoRefactor sublayer sort to use a common function.
Rob Norris [Sat, 14 Feb 2015 12:06:19 +0000 (12:06 +0000)]
Refactor sublayer sort to use a common function.

9 years agoFix uniquify tracks to use the appropriate sort order.
Rob Norris [Sat, 14 Feb 2015 12:02:50 +0000 (12:02 +0000)]
Fix uniquify tracks to use the appropriate sort order.

9 years agoRemove 'has_visibile_column' from treeview as it's always true.
Rob Norris [Fri, 13 Feb 2015 22:46:11 +0000 (22:46 +0000)]
Remove 'has_visibile_column' from treeview as it's always true.

9 years agoMerge branch 'MapnikRenderingLayer'
Rob Norris [Sun, 22 Feb 2015 15:48:48 +0000 (15:48 +0000)]
Merge branch 'MapnikRenderingLayer'

9 years agoTest file zoom out so it's more obvious the location.
Rob Norris [Thu, 12 Feb 2015 22:58:25 +0000 (22:58 +0000)]
Test file zoom out so it's more obvious the location.

9 years ago[DOC] Add some words about Advanced Prefrences.
Rob Norris [Tue, 10 Feb 2015 21:00:18 +0000 (21:00 +0000)]
[DOC] Add some words about Advanced Prefrences.

9 years agoDisplay attribution on Mapnik Renderings.
Rob Norris [Tue, 10 Feb 2015 20:59:06 +0000 (20:59 +0000)]
Display attribution on Mapnik Renderings.

Use 'attribution' or 'copyright' parameters from the Mapnik configuration.

OSM-Bright Mapnik stylesheet has an 'attribution' parameter.

9 years agoEnable displaying of Mapnik configuration extra parameters.
Rob Norris [Tue, 10 Feb 2015 20:51:55 +0000 (20:51 +0000)]
Enable displaying of Mapnik configuration extra parameters.

Extend the sample configuration with some such parameters.

9 years agoSeparate thread pool for Mapnik rendering defaulting to just 1 task.
Rob Norris [Tue, 10 Feb 2015 20:47:35 +0000 (20:47 +0000)]
Separate thread pool for Mapnik rendering defaulting to just 1 task.

The size of the pool is configurable in the preferences.
The default of 1 is chosen to mitigate against multi-threading issues using Mapnik Rendering.

The user can try running more threads and see how stable it is for them.

9 years agoWorld Countries test data and configuration for Mapnik Rendering.
Rob Norris [Thu, 5 Feb 2015 01:23:07 +0000 (01:23 +0000)]
World Countries test data and configuration for Mapnik Rendering.

Admin 0 – Countries boundaries version 2.0.0 acquired from:
http://www.naturalearthdata.com/downloads/110m-cultural-vectors/

9 years agoMapnik library needs full filename for the configuration file.
Rob Norris [Wed, 4 Feb 2015 23:16:57 +0000 (23:16 +0000)]
Mapnik library needs full filename for the configuration file.

9 years ago[DOC] Document the Mapnik Rendering Layer capability.
Rob Norris [Sat, 31 Jan 2015 11:39:34 +0000 (11:39 +0000)]
[DOC] Document the Mapnik Rendering Layer capability.

Also mention that Viking now uses some C++.

9 years ago[QA] Minor document correction.
Rob Norris [Sat, 31 Jan 2015 11:34:13 +0000 (11:34 +0000)]
[QA] Minor document correction.

9 years agoFix displaying refreshed map tiles.
Rob Norris [Thu, 29 Jan 2015 02:07:29 +0000 (02:07 +0000)]
Fix displaying refreshed map tiles.

I'd brokem map cache reset, incorrectly assumed the name would be null, but it is the string "" - which gives a non zero hash value.
Thus always need to pass in the name to ensure the cache look up works.

9 years agoAdd mapnik rendering tile info.
Rob Norris [Tue, 27 Jan 2015 22:29:15 +0000 (22:29 +0000)]
Add mapnik rendering tile info.

9 years agoAllow the Mapnik rendering buffer size to be altered via the config file.
Rob Norris [Sat, 17 Jan 2015 17:31:30 +0000 (17:31 +0000)]
Allow the Mapnik rendering buffer size to be altered via the config file.

9 years agoExtend map cache data to hold extra data associated with the pixbuf.
Rob Norris [Fri, 9 Jan 2015 22:55:54 +0000 (22:55 +0000)]
Extend map cache data to hold extra data associated with the pixbuf.

ATM just a value for Mapnik rendering time, but should be easily extendable.

9 years agoAdd method to force re-running carto for a Mapnik Rendering Layer.
Rob Norris [Fri, 2 Jan 2015 21:32:53 +0000 (21:32 +0000)]
Add method to force re-running carto for a Mapnik Rendering Layer.

ATM don't have a way of detecting when any of the included files have changed within a carto project.
Thus you can do it manually.

9 years agoMapnik Layer tool.
Rob Norris [Thu, 1 Jan 2015 12:11:50 +0000 (12:11 +0000)]
Mapnik Layer tool.

Right click menu options.
Enable (re)rendering request of a specific tile.

9 years ago[QA] Prevent some Gtk-CRITICAL messages about values out of range.
Rob Norris [Thu, 1 Jan 2015 11:38:04 +0000 (11:38 +0000)]
[QA] Prevent some Gtk-CRITICAL messages about values out of range.

9 years ago[WINDOWS] Explore compiling against mapnik with g++ - but ultimately disable it.
Rob Norris [Sat, 13 Dec 2014 13:05:27 +0000 (13:05 +0000)]
[WINDOWS] Explore compiling against mapnik with g++ - but ultimately disable it.

The acquired mapnik.dll is not compatible with the g++ compiler,
 as I believe the mapnik.dll is generated with MS Visual Studio and thus not binary compatible;
 as it fails at the link stage :(

Thus in light of not compiling mapnik.dll (and possibly other dependencies) from source myself,
 disable using mapnik on Windows for now.

9 years agoEnable using an optional file cache for Mapnik Renderings.
Rob Norris [Sat, 13 Dec 2014 17:57:03 +0000 (17:57 +0000)]
Enable using an optional file cache for Mapnik Renderings.

Using the full OSM Carto style - Mapnik Renderings at zoomed out levels can be quite slow.
Only re-render when necessary:
. tile in file cache doesn't exist
. tile timestamp is over a certain age (default 7 days) configurable in Mapnik preferences.
. when timestamp of the file ~/.viking-maps/planet-import-complete is newer
  (i.e. to trigger rerendering everything)

9 years agoAdd Refresh to consider reloading a Mapnik Rendering configuration.
Rob Norris [Sat, 13 Dec 2014 17:49:45 +0000 (17:49 +0000)]
Add Refresh to consider reloading a Mapnik Rendering configuration.

9 years agoUse threading with Mapnik Renderings layer.
Rob Norris [Sun, 14 Dec 2014 11:44:09 +0000 (11:44 +0000)]
Use threading with Mapnik Renderings layer.

9 years agoPass Mapnik loading errors around and display in the GUI.
Rob Norris [Thu, 11 Dec 2014 22:20:56 +0000 (22:20 +0000)]
Pass Mapnik loading errors around and display in the GUI.

9 years agoAdd GUI About Mapnik information.
Rob Norris [Sun, 7 Dec 2014 12:00:40 +0000 (12:00 +0000)]
Add GUI About Mapnik information.

9 years agoCarto CSS support to generate Mapnik XML.
Rob Norris [Sat, 6 Dec 2014 23:46:27 +0000 (23:46 +0000)]
Carto CSS support to generate Mapnik XML.

Most Map style sheets have moved to Carto CSS for ease of writing them.

Run the external program 'carto' to generate the XML configuration
 (when deemed necessary - i.e. when file.mml is newer than file.xml)

The 'carto' program can be configured to whatever particular binary is for your system.

9 years agoCreate a mapnik interface object so each Mapnik Layer will render using a separate...
Rob Norris [Sat, 6 Dec 2014 23:25:48 +0000 (23:25 +0000)]
Create a mapnik interface object so each Mapnik Layer will render using a separate mapnik::map

9 years agoA Mapnik Rendering layer
Rob Norris [Sun, 14 Dec 2014 11:12:38 +0000 (11:12 +0000)]
A Mapnik Rendering layer

This uses the Mapnik C++ library to render images given an XML configuration file
 (which describes the datasources and how to render them).
The interfacing code is in C++, hence the need for a C++ compiler.
This has been primarily tested with Mapnik 2.2.0 but should work with other versions.

Images are generated at 256x256 pixels in an OSM Tileset manner and are stored directly in the memory map cache.

More complex configurations/datasources (e.g. the main OSM.org Mapnik Stylesheet)
 can make the rendering relatively slow - sometimes several seconds per tile.
For the first iteration this all happens in the main program thread,
 but will be addressed in subsequent commits.

All this can be disabled at the configure stage with '--disable-mapnik'

9 years agoSplit background threads into two pools.
Rob Norris [Thu, 1 Jan 2015 11:50:31 +0000 (11:50 +0000)]
Split background threads into two pools.

One pool is for remote (i.e. downloading) requests.
One pool is for local CPU tasks.
 Thus for best performance the number of CPU bound tasks should not be more than the number of CPUs available.
 Whereas for network requests, the number of active tasks can be higher.

9 years agoSimple function to add a file into the GTK+ Recent list.
Rob Norris [Tue, 2 Dec 2014 20:36:29 +0000 (20:36 +0000)]
Simple function to add a file into the GTK+ Recent list.

9 years agoAdd Inverse TMS to Spherical Mercator VikCoord conversion (top left corner)
Rob Norris [Wed, 3 Dec 2014 01:48:37 +0000 (01:48 +0000)]
Add Inverse TMS to Spherical Mercator VikCoord conversion (top left corner)

9 years agoShift Inverse TMS MapCoord <=> Spherical Mercator VikCoord functions for global access.
Rob Norris [Wed, 3 Dec 2014 01:44:07 +0000 (01:44 +0000)]
Shift Inverse TMS MapCoord <=> Spherical Mercator VikCoord functions for global access.

9 years agoAdd ability to remove the map cache for a single map type.
Rob Norris [Sun, 30 Nov 2014 11:40:35 +0000 (11:40 +0000)]
Add ability to remove the map cache for a single map type.

Adjust internal map cache hash key structure order.
Hence map type is the first part to make easy identification of related keys.

Presently not a normal user feature so only available in the GUI in debug mode.

9 years agoAdd function to get number of processors.
Rob Norris [Wed, 3 Dec 2014 00:32:28 +0000 (00:32 +0000)]
Add function to get number of processors.

Would be simple if only GLib 2.36+, but need to support older versions.
Particularly for Windows builds which ATM uses GLib 2.28

9 years agoAdd XML as file entry filter option.
Rob Norris [Sun, 30 Nov 2014 11:41:24 +0000 (11:41 +0000)]
Add XML as file entry filter option.

9 years ago[DOC] Add command line synopsis from the man page into the help.
Rob Norris [Tue, 27 Jan 2015 23:20:05 +0000 (23:20 +0000)]
[DOC] Add command line synopsis from the man page into the help.

9 years agoAllow starting Viking with command line parameters to set position, zoom and map...
Rob Norris [Tue, 27 Jan 2015 21:12:10 +0000 (21:12 +0000)]
Allow starting Viking with command line parameters to set position, zoom and map type.

--latitude <degrees>
--longitude <degrees>
--zoom <ZoomLevelOSM>
--map <MapID>

e.g.:
    viking --latitude 51.4 --longitude -1.3 --zoom 12 --map 13