Version 41 (modified by 9 years ago) ( diff ) | ,
---|
Languages:
- dansk
- English
- español
- français
- 日本語
- Nederlands
- русский
- українська
Table of Contents
Preferences > Advanced Preferences
Advanced preferences gives you a view of all your raw preferences data. This setting requires expert mode.
The majority of preference settings can be more easily and safely modified via the other preference panels. Normally you should not need to use this display to change settings. Do so with caution because there is no validation, and invalid or missing settings can cause unexpected errors and/or loss of data. You may be instructed to change or add settings here in order to access experimental or under-development features e.g. if somebody developed a plugin and provided a setting, but didn't get around to creating a more attractive interface for changing it.
As you can see, your preference data is composed of a set of name->value pairs. The setting names are often "namespaced" with dot ('.') separated words. Many JOSM plugins will store preferences grouped in a namespace.
You can get a similar raw view by viewing this file, but this 'Advanced' preferences panel is intended to provide a easier alternative.
Explanation
Please note that if key was utilized by menu (Help/Keys by menu), it won't be listed here. I.e. list below contains only hidden to the end user settings:
Single key or group? | Key | Values | Default | Description |
group | changesetdialog.buttonhiding; commandstack.buttonhiding; conflict.buttonhiding; filter.buttonhiding; layerlist.buttonhiding; mapstyle.buttonhiding; notes/note_open.buttonhiding; propertiesdialog.buttonhiding; relationlist.buttonhiding; selectionlist.buttonhiding; userlist.buttonhiding; validator.buttonhiding | DYNAMIC or ALWAYS_HIDDEN or ALWAYS_SHOWN | DYNAMIC | explained at JOSM interface customization |
group | changesetdialog.minimized; commandstack.minimized; conflict.minimized; filter.minimized; layerlist.minimized; mapstyle.minimized; notes/note_open.minimized; propertiesdialog.minimized; relationlist.minimized; selectionlist.minimized; userlist.minimized; validator.minimized | true or false | false | explained at JOSM interface customization |
group | changesetdialog.docked; commandstack.docked; conflict.docked; filter.docked; layerlist.docked; mapstyle.docked; notes/note_open.docked; propertiesdialog.docked; relationlist.docked; selectionlist.docked; userlist.docked; validator.docked | true or false | false | explained at JOSM interface customization |
group | starts with draw.anglesnap. and probably keys starting with color.draw.angle.snap | mixed | mixed | should be explained at Help/Action/Draw under "Angle snapping" section |
single | edit.initial-move-threshold | pixels | was explained at Help/Action/Select#Advanceddetails | |
single | edit.initial-move-delay | ms | was explained at Help/Action/Select#Advanceddetails | |
single | upload.comment.max-age | was explained at Help/Concepts/Changeset#Upload comment and other changeset tags | ||
single | draw.fullscreen | true or false | false | Help/Action/FullscreenView and JOSM interface customization |
single | createcircle.nodecount | Help/Action/CreateCircle#AdvancedPreferences | ||
single | zoom.undo.delay | Help/Action/ZoomToPrevious#AdvancedPreferences | ||
single | zoom.undo.max | Help/Action/ZoomToPrevious#AdvancedPreferences | ||
single | properties.presets.top | true | Help/Dialog/TagsMembership#AdvancedPreferences | |
single | url.openstreetmap-wiki | https://wiki.openstreetmap.org/wiki/ | Help/Dialog/TagsMembership#AdvancedPreferences | |
single | splitway.segment-selection-dialog | Help/Action/SplitWay#AdvancedPreferences |
Details
The list of preferences is build like this:
- First, JOSM only knows the settings from your preference file. Note that a setting is not saved in the preference file, unless the value is different from the default.
- Whenever JOSM internally requests the value of a particular setting, it remembers the key and the default value for the current session.
This means, that settings related to download may not be in the list, before you did your first download. However, if you already know the key, you can still set it explicitly.
Values which have changed atleast once appear bold and with a yellow background. Values which you just changed get a green background. When you close and reopen the preference window, they get also the yellow background.
Import and export features
- Read from file button can be used to open JOSM custom configuration XML file. It can contain preferences modifications, commands to download some files or plugins, and even JavaScript code.
After file import is complete, you can see a detailed log and the changed preferences will be represented. You can reject these changes by pressing Cancel button. Caution: You can not undo reject file or plugin operations (download, delete, etc.), so be careful and do not open scripts from untrusted sources! - Export selected items button allows to generate a custom configuration XML file automatically. When reading this file, the key-value pairs will replace existing ones or be appended to them (in case of properties containing lists or maps). You can use it together with the Search field to find all preferences you need to backup or share.
More
More button launches the popup menu with extra actions:
- Save ... profile - save part of preferences related to shortcuts, colors, toolbar and imagery to separate custom configuration XML files.
- Load profile - replace existing part of preferences with previously saved fragment (for example, reset all shortcuts to default and then load them from file). User should press OK to confirm changes.
- Reset preferences - delete all entries from preferences.xml (files are not deleted).
See also
- Reset preferences
- More information on custom configuration XML scripts, file format and example code
Back to Preferences
Back to Main Help
Attachments (3)
- AdvancedPreferences.png (131.9 KB ) - added by 10 years ago.
- AdvancedPreferencesTab.png (96.0 KB ) - added by 7 years ago.
-
PreferencesAdvancedPreferences.png
(223.7 KB
) - added by 4 years ago.
new screenshot
Download all attachments as: .zip