X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/1a358f701ff063d3dc0f1ae87fcc70f3dd12660a..44d6bd848a2837d9c8d2a6097a8ee16d282e8596:/help/C/commandline.xml?ds=sidebyside diff --git a/help/C/commandline.xml b/help/C/commandline.xml index 2f1cdf2a..89eb33e9 100644 --- a/help/C/commandline.xml +++ b/help/C/commandline.xml @@ -1,18 +1,78 @@ ] + [ + + + ] >
Command Line +
+Overview &appname; being a Graphical User Interface program only has a few command line options. - -viking [OPTIONS...] files+ - + + + + &dhpackage; + program to manage GPS data + + + + &dhpackage; + + + + + + + + + + + degrees + + + degrees + + + + + ZoomLevelOSM + + + + MapId + + + file + + + &dhpackage; + + + + + + + &dhpackage; + + + + + + + + + + + +
+
Details Note that the ordering of files can be important depending on their file type. Subsequent non Viking project files are loaded into the previous Viking project, with the files being processed left to right. @@ -57,10 +117,44 @@ This also enables some extra information features in the GUI itself, primarily o --version Show the version and then exit. + + N/A + --latitude + Set the initial position to the specified latitude in decimal degrees. + + + N/A + --longitude + Set the initial position to the specified longitude in decimal degrees. + + + -z + --zoom + Set the initial zoom level. The value is the OSM zoom level (0 - 22). + + + -m + --map + Add a map layer by specifying the map id. The value needs to match one of the internal ids or an id from the . + Specifying a value of 0 will use the configured map layer default. + + + Internal Map Ids: + OSM Mapnik = 13 + OSM Cycle = 17 + Mapquest OSM = 19 + + + +An example to open at a specified location with an OSM Mapnik map layer: +viking --latitude 51.4 --longitude -1.3 --zoom 12 --map 13 +If a file is also specified on the command line, the command line location and zoom parameters will take precendence. + + As a special combination when both -V and -d are both enabled at the same time, &appname; will not delete some of the temporary files created during the program run. @@ -74,3 +168,4 @@ This is especially useful to monitor results of download requests (which need to
+