GpsMaster/Documentation/Config
< GpsMaster | Documentation
Jump to navigation
Jump to search
Configuration File
The config file is named GpsMaster.config and is located in the current directory. As there is no GUI support yet to change the configuration, it is advised to edit the config file manually. The content is simple XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config> <activitySupport>true</activitySupport> <colors> <name>RAL 1003 Signal Yellow</name> <RGBA>f7ba0bff</RGBA> </colors> <colors> <name>RAL 2010 Signal Orange</name> <RGBA>d4652fff</RGBA> </colors><colors> <onlineTileSources> <maxZoom>0</maxZoom> <name>Stamen Toner</name> <url>http://tile.stamen.com/toner/{zoom}/{x}/{y}.png</url> </onlineTileSources> <onlineTileSources> <maxZoom>0</maxZoom> <name>Google Maps</name> <url>http://mt{switch:0,1,2,3}.google.com/vt/lyrs=m&x={x}&y={y}&z={zoom}</url> </onlineTileSources> <dbConfig> <compression>true</compression> <DSN>jdbc:sqlite:D:\\Data\\gpsmaster.db</DSN> <username>gpsmaster</username> <password>gpsmaster</password> </dbConfig> <defaultExt>gpx</defaultExt> <gpsiesUsername>gpsmaster</gpsiesUsername> <lastOpenDirectory>D:\Touring\GPSTracks</lastOpenDirectory> <lastSaveDirectory>D:\Touring\Exports</lastSaveDirectory> <lat>55.57863578072483</lat> <lon>13.420829772949219</lon> <positionZoom>13</positionZoom> <proxyHost>127.0.0.1</proxyHost> <proxyPort>8000</proxyPort> <screenTime>15</screenTime> <showScalebar>true</showScalebar> <showWarning>true</showWarning> <tempDirectory></tempDirectory> <trackLineWidth>2.5</trackLineWidth> <unitSystem>METRIC</unitSystem> <zoomControls>false</zoomControls></config> </config>
XML Tag | allowed values | Description | Comment |
---|---|---|---|
activitySupport | true, false | enables/disables the widget to display, set and save the activity performed when the GPS track was recorded. | |
positionZoom | 1 .. 19 | Zoom level of slippy map, set on program start | overwritten on program exit |
lat, lon | (double) | Latitude, longitude of slippy map center, set on program start | overwritten on program exit |
lastOpenDirectory, lastSaveDirectory | (string) | name says all. | overwritten on program exit |
screenTime | (integer) | number of seconds after which volatile messages are removed from screen. | |
showWarnings | true, false | show/hide warnings, i.e. generated when loading GPX files. | |
proxyHost | host name or IP address | Proxy Host | |
proxyPort | 0 ... 65535 | Proxy Port | |
tempDirectory | (string) | name says all. | |
trackLineWidth | (double) | line width of GPS tracks, as painted on the map. | |
unitSystem | METRIC, IMPERIAL, NAUTICAL | System of measurement for numerical values, as displayed in properties table etc. | |
zoomControls | true, false | show/hide zoom controls (zoom slider) on the slippy map | |
showScalebar | true, false | if the scale bar in the lower left corner of the map is to be shown |