VIKING(1) Viking 1.11 VIKING(1) (NAME) viking - GPS (SYNOPSIS) viking [-d | --debug] [-V | --verbose] [--latitude degrees --longitude degrees] [-z | --zoom ZoomLevelOSM] [-m | --map MapId] [-c | --config-dir directory] [-e | --external] [-r | --running-instance] [file...] | [-] viking [-h | --help] viking [-v | --version] (DESCRIPTION) Viking GPS . (tracks) (routes) (waypoints) OpenStreetMap (OSM) ( Mapnik) (geotag) . C C++ GTK+ 3 . POSIX . : http://viking.sf.net Viking GNU GPL . Viking . (DETAILS) . 1. (File Reference) +-------------------+-----------------------------+ | | | +-------------------+-----------------------------+ |file(s) | | | | | | | | | | | | | | | | . | +-------------------+-----------------------------+ |- | | | | | | | | | | | | | (standard in). | | | | | | | | | | | | . | +-------------------+-----------------------------+ . Viking Viking . : o viking file1.gpx file2.gpx file3.gpx GPX Viking . o viking file1.vik file2.vik Viking . o viking file1.vik file2.gpx file3.gpx GPX Viking . o viking file2.gpx file3.gpx file1.vik GPX Viking Viking . 2. (Command Line Reference) +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ | | | | | | | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-h | --help | | | | | | | | | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-V | --verbose | | | | | (verbose). | | | | | | | | | | | | Viking | | | | stdout | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-d | --debug | | | | | | | | | (debug). | | | | | | | | | | | | Viking | | | | stdout | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GUI) | | | | | | | | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-v | --version | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |N/A | --latitude | | | | | | | | | | | | | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |N/A | --longitude | | | | | | | | | | | | | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-z | --zoom | | | | | | | | | . | | | | | | | | OSM | | | | ( 0 22) . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-m | --map | | | | | | | | | | | | | (map | | | | id). | | | | | | | | | | | | | | | | Map | | | | Source Extensions | | | | . | | | | | | | | 0 | | | | | | | | | | | | . | | | | | | | | | | | | -2 | | | | | | | | | | | | ( | | | | | | | | | | | | | | | | | | | | | | | | | | | | ). | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-e | --external | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (external files) | | | | | | | | . | | | | | | | | GPX FIT KML | | | | TCX | | | | | | | | | | | | .vik | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-c | --config-dir | | | | | | | | | ( | | | | | | | | ) | | | | | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |-r | --running-instance | | | | | | | | | | | | | | | | | | | | | Viking. | | | | | | | | | | | | | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . .if n .sp | | | | 4 | | | | Windows(TM) | | | | . | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ | | | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ | 3. | | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |allbox tab( | ); | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |lB lB. | | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ | | | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |4UMaps | 801 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Bing Aerial | 212 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Blue Marble | 15 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |CalTopo | 29 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |CyclOSM | 65 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |pnvkarte Public Transport | 101 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OpenSeaMap | 600 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OpenTopo | 901 | | | | ( | | | | ) | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OSM Cycle | 17 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OSM Humanitarian | 22 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OSM Mapnik | 13 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OSM Transport | 20 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |OSM GPS Traces | 33 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails Cycling | 702 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails Hiking | 701 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails MTB | 703 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails Riding | 705 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails Skating | 704 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ |Waymarked Trails Winter | 706 | | +-------------------------------------------------------------------------+------------------------+-----------------------------------------+ Help -> Maps Information . OSM Mapnik: viking --latitude 51.4 --longitude -1.3 --zoom 12 --map 13 . Viking RFC5870[1] 'geo' . '' geo URI . geo URI : viking geo:51.4,-1.3?z=12 --map 13 -V -d Viking . ( ) ..sp .5v GTK+ Viking --display GTK+ . : viking --help-gtk VIKING (EXTENDING VIKING) Viking.PP .PP Viking . GtkBuilder : GObject . XML "objects" . "object" . : Property value Property value ... . $XDG_DATA_DIR /usr/share/viking/ C:\Program Files\Viking\data . . (object group) ( Maps Id Id ) . .PP . maps.xml User Configuration File Location . doc/examples/maps.xml. . Maps Wiki[2] . VikSlippyMapSource OpenStreetMap . : id . name ( ) () OSM Map Cache (~/.viking-maps) . label . hostname (hostname) ( "tile.openstreetmap.org"). url printf C "%d" Z X Y ( ) ( "/%d/%d/%d.png"). URL hostname . "https://tile.openstreetmap.org/%d/%d/%d.png" user-agent () user-agent HTTP . custom-http-headers () HTTP . (none) . '\n' . Z X Y ( ) url . / ()printf . : DNT: 1\nLine2: %d %d %d\nReordered: %3$d %1$d %2$d copyright () () . license () . license-url () URL . zoom-min () Tiled Web Map . 0 . zoom-max () Tiled Web Map . 18 . lat-min () . -90 . lat-max () . 90 . lon-min () . -180 . lon-max () . 180 . file-extension () . .png . PNG . (tileset) Mobile Atlas creator .png.tile . GDK Pixbuf PNG JPEG ..sp .5v '.' . use-direct-file-access () . FALSE . (tilesets) . hostname url . offset-x () (offset) x ( ) . 0.0 . . . . offset-y () y ( ) . 0.0 . . switch-xy () X Y URL. false . check-file-server-time () (timestamp) . true . use-etag () ETag[3] . false . ETag . referer () URL (referrer) HTTP ( "http://hostname"). follow-location () . -1 . 0 . tilesize-x () x . 256 . tilesize-y () y . 256 . scale () . 1 . 2 . (tilesize) 256 . VikTmsMapSource TMS . TMS ( Tile Map Service) Tile Map Service Specification[4] . ( VikSlippyMapSource ): id label hostname url custom-http-headers () copyright () license () license-url () check-file-server-time () follow-location () referer () user-agent () zoom-min () zoom-max () lat-min () lat-max () lon-min () lon-max () file-extension () scale () tilesize-x () tilesize-y () offset-x () offset-y () VikWmscMapSource WMS WMS-C . WMS ( Web Map Service) WMS Tile Caching[5] . ( VikSlippyMapSource ) : id label hostname url custom-http-headers () copyright () license () license-url () check-file-server-time () follow-location () referer () user-agent () zoom-min () zoom-max () lat-min () lat-max () lon-min () lon-max () file-extension () scale () tilesize-x () tilesize-y () offset-x () offset-y () Go-to.PP <> . goto_tools.xml (User Configuration File Location) . : doc/examples/goto_tools.xml. : VikGotoXmlTool. XML . : label Go-To url-format printf C "%s" ( ) lat-path XML ( : /root/parent/elem) lat-attr () ( ) lon-path XML ( : /root/parent/elem) lon-attr () ( ) referer () URL referer HTTP ( "http://hostname") follow-location () . -1 . 0 . user-agent () user-agent HTTP. custom-http-headers () HTTP HTTP. (none) . custom-http-headers (Tile) . ( ) XPath . lat-path ( lon-path) : /root/parent/elem@attribute. .PP . external_tools.xml (User Configuration File Location) . : doc/examples/external_tools.xml. VikWebtoolCenter Webtool . : label url (URL) printf C "%s" "%d" X Y Z ( ) ( : "http://hostname/?lat=%s&lon=%s&zoom=%d") VikWebtoolBounds Webtool (bounds) ..PP : label url printf C "%s" (left) (right) (bottom) (top) ( : "http://hostname:8111/load_and_zoom?left=%s&right=%s&bottom=%s&top=%s") .PP . routing.xml << >> . : doc/examples/routing.xml. VikRoutingWebEngine HTTP . : id label format GPSBabel . GPX . GPSBabel Viking . GPSBabel : gtrnctr ( tcx Garmin Training Center) ... gpsbabel --help . Viking gpx kml. viking-geojson-osrm OSRM[6] . url-base URL ( : "http://hostname/service?") url-start-ll URL printf C "%s" ( : "&start=%s,%s") url-stop-ll URL printf C "%s" ( : "&stop=%s,%s") url-via-ll () URL printf C "%s" ( : "&via=%s,%s") url-start-dir () URL printf C "%s" ( : "&start=%s") url-stop-dir () URL printf C "%s" ( : "&stop=%s") url-ll-lat-first () lat/long (/ ) URL Start Stop Via. TRUE . Brouter URL . FALSE . referer () URL (referer) HTTP ( : "http://hostname") follow-location () . -1 . 0 . user-agent () user-agent HTTP. custom-http-headers () HTTP HTTP. (none) . custom-http-headers . .PP GPSBabel . datasources.xml << >> . : doc/examples/datasources.xml. VikWebtoolDatasource URL . : label url URL printf C "%s". : http://hostname/getfile?lat=%s&lon=%s url_format_code url_format_code URL . B = (Bottom) L = (Left) T = (Top) R = (Right) A = (lAtitude) O = (lOngitude) Z = OSM . : Zoom Levels[7] P = (selected Point's latitude) N = (selected poiNt's longitude) S = URL AO . file_type -i GPSBabel . GPX . 'kml' 'mapsource' . GPSBabel File Formats[8] . babel_filter_args GPSBabel . "-x nuketypes,routes" . input_label . . referer () URL HTTP ( "http://hostname"). follow-location () . -1 . 0 . user-agent () user-agent HTTP. custom-http-headers () HTTP HTTP. none () . .PP UNIX(TM) (maps.xml goto_tools.xml datasources.xml external_tools.xml routing.xml) /etc/viking /usr/share/viking ( ) . $XDG_DATA_DIRS . $XDG_DATA_HOME ( ) . (FILES) Viking.PP .PP Viking (viking.prefs viking.ini viking.ini keys.rc) . Viking . UNIX(TM): v1.8 ~/.viking/ ( /home/username/.viking) v1.9 XDG Base Directory[9] ~/config/viking/ Windows(TM): v1.8 C:\Users\username\.viking v1.9 C:\Users\username\AppData\Local\viking Mac(TM): /Library/Application Support/Viking Viking v1.9 ( Viking ) : mv ~/.viking ~/.config/viking --config-dir . "Details" . .PP Viking (GUI) Preferences:??? . viking.prefs . .PP Viking viking.ini . . non-GUI () ( ). Viking . . non-GUI . o curl_cainfo=NULL : CURLOPT_CAINFO[10] o UNIX(TM): curl_ssl_verifypeer=1 Windows(TM): curl_ssl_verifypeer=0 : CURLOPT_SSL_VERIFYPEER[11] https 0 HTTPS . UNIX(TM) SSL . Viking Windows . Windows(TM) - OpenTopoMap . o curl_user_agent=NULL HTTP User-Agent ( Viking curl ) . : CURLOPT_USERAGENT[12] : User Agent / user-agent . o export_gpsmapper_option=false GPS Mapper true . o export_gpspoint_option=false GPS Point true . o geoclue_accuracy_level=4 GeoClue . GClueAccuracyLevel[13]: o 0 = GCLUE_ACCURACY_LEVEL_NONE o 1 = GCLUE_ACCURACY_LEVEL_COUNTRY o 4 = GCLUE_ACCURACY_LEVEL_CITY o 5 = GCLUE_ACCURACY_LEVEL_NEIGHBORHOOD o 6 = GCLUE_ACCURACY_LEVEL_STREET o 8 = GCLUE_ACCURACY_LEVEL_EXACT o gpx_tidy_points=true GPX ( ). o gpx_tidy_points_max_speed=340 ( ) - . o layers_create_trw_auto_default=false TrackWaypoint . o layers_panel_calendar_markup_mode=3 0= . 1= . 2= (tooltip) . 3= ( 1 ). :vik_layers_panel_calendar_update: detail level reduced as taking too long 2 - . o maps_cache_status_no_file_color=red o maps_cache_status_expired_color=yellow o maps_cache_status_download_error_color=darkred o maps_cache_status_okay_color=teal maps_cache_status_*_color gdk_color_parse()[14] . ( rgb.txt X11) "#rgb" "#rrggbb" "#rrrgggbbb" "#rrrrggggbbbb" 'r' 'g' 'b' . o maps_max_tiles=1000 o maps_min_shrinkfactor=0.0312499 o maps_max_shrinkfactor=8.0000001 o maps_real_min_shrinkfactor=0.0039062499 o maps_scale_inc_down=4 o maps_scale_inc_up=2 o maps_scale_smaller_zoom_first=true o modifications_ignore_visibility_toggle=false .vik . - true . o srtm_http_base_url=https://dds.cr.usgs.gov/srtm/version2_1/SRTM3 DEM SRTM . (Continent) . o mapnik_buffer_size=128 ( ) o osm_basic_auth=false HTTP Basic Authentication OAuth true o background_max_threads=10 o background_max_threads_local= CPU o window_default_tool=Select : Pan Zoom Ruler Select o window_menubar=true o window_copy_centre_full_format=false o window_move_scroll_timeout=5 ( ) o window_zoom_scroll_timeout=150 ( ) o window_pinch_gesture_factor=1.5 (pinch zooming). 0.5 3.0 - . o window_mount_device_id=NULL USB (mount) Viking - GARMIN UUID . Viking Help . . USB . o version_check_period_days=14 o trackwaypoint_start_end_distance_diff=100.0 o trackwaypoint_tab_default=0 . o gps_statusbar_format=GSA (Message Format Code) . o geoclue_statusbar_format=SA (Message Format Code) . o trkpt_selected_statusbar_format=KEATDN (Message Format Code) . o utils_nearest_tz_factor=1.0 o viewport_history_size=20 o viewport_history_diff_dist=500 . <> <> . . o viewport_scale=1 Viking - 2. o viewport_popup_delay=200 . Viking . ( ) . o external_diary_program=rednotebook[15] Windows : C:/Progra~1/Rednotebook/rednotebook.exe - . o external_astro_program=stellarium[16] Windows : C:/Progra~1/Stellarium/stellarium.exe - . 0.15.0 ( [17] ). o external_text_program=gedit Windows : notepad - . o bfilter_simplify=100 o bfilter_compress=0.001 o list_date_format=%Y-%m-%d %H:%M [18] strftime() . / . o export_device_path= UNIX = "/media/user/GARMIN/Garmin/GPX" WINDOWS = ":/Garmin/GPX" o export_device_trackpoint_limit=10000 ( Garmin Edge) Garmin - Etrex 20/30 o export_device_routepoint_limit=250 o kmz_default_maps_dir= : "/media/user/GARMIN/Garmin/CustomMaps" o geotag_photo_dir="/home/user/Pictures" /geotag_photo_dir/YYYY/MM/DD o gpx_comment_time_format="%d-%B-%y %H:%M:%S" (waypoints) o use_env_browser=false Viking URL gtk_show_uri_on_window() . true BROWSER <>. (profile) : BROWSER="/home/rob/Downloads/firefox/firefox -P 'Nightly' --new-tab" viking BROWSER . Windows Viking ShellExecute() URL . . Trackpoint . . :) G = - GPSD K = - Trkpt A = Trackpoint S = Trackpoint B = () C = (Course) Trackpoint L = Trackpoint T = Trackpoint M = Trackpoint Trackpoint X = (fix) Trackpoint D = Trackpoint ( ) F = Trackpoint () ( ) P = Trackpoint Trackpoint N = Trackpoint .sp E = trackpoint * ( Trackpoint ). ** 0 . (Accelerator) keys.rc User Configuration File Location . GTK Accelerator map . Viking . . (ENVIRONMENT) XDG_DATA_HOME (maps.xml goto_tools.xml datasources.xml external_tools.xml routing.xml). XDG_DATA_DIRS (maps.xml goto_tools.xml datasources.xml external_tools.xml routing.xml). VIKING_MAPS . (AUTHORS) Ralf Meyer Debian(TM) ( ). / GNU (Free Software Foundation) . Debian GNU /usr/share/common-licenses/GPL . (COPYRIGHT) Copyright (C) 2007 Ralf Meyer Copyright (C) 2010 Guilhem Bonnefille Copyright (C) 2021 Rob Norris (NOTES) 1. RFC5870 https://tools.ietf.org/html/rfc5870 2. (Maps Wiki) https://sourceforge.net/p/viking/wikiallura/Maps 3. ETag https://en.wikipedia.org/wiki/HTTP_ETag 4. Tile Map Service https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification 5. WMS Tile Caching https://wiki.osgeo.org/wiki/WMS_Tile_Caching 6. OSRM http://project-osrm.org 7. (Zoom Levels) https://wiki.openstreetmap.org/wiki/Zoom_levels 8. GPSBabel https://www.gpsbabel.org/capabilities.html 9. XDG https://specifications.freedesktop.org/basedir-spec/basedir-spec- latest.html 10. CURLOPT_CAINFO https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html 11. CURLOPT_SSL_VERIFYPEER https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html 12. CURLOPT_USERAGENT https://curl.se/libcurl/c/CURLOPT_USERAGENT.html 13. GClueAccuracyLevel https://www.freedesktop.org/software/geoclue/docs/libgeoclue/libgeoclue- gclue-enums.html#GClueAccuracyLevel 14. gdk_color_parse() https://docs.gtk.org/gdk3/type_func.Color.parse.html 15. rednotebook https://rednotebook.sourceforge.io 16. stellarium https://stellarium.org 17. (Bug) https://bugs.launchpad.net/stellarium/+bug/1410529 18. (date format description) https://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html Viking 2026-05-01 VIKING(1)