Changes between Version 12 and Version 13 of Help/CommandLineOptions
- Timestamp:
- 2015-04-08T17:35:40+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/CommandLineOptions
v12 v13 24 24 --version Displays the JOSM version and exits 25 25 --debug Print debugging messages to console 26 --skip-plugins Skip loading plugins 26 27 --offline=<osm_api|josm_website|all> Disable access to the given resource(s), separated by comma 27 28 }}} 28 29 options provided as Java system properties 29 30 {{{ 30 -Djosm.home=/path/to/JOSM/folder/ Change the folder for all user settings 31 -Djosm.pref=/PATH/TO/JOSM/PREF Set the preferences directory 32 -Djosm.userdata=/PATH/TO/JOSM/USERDATA Set the user data directory 33 -Djosm.cache=/PATH/TO/JOSM/CACHE Set the cache directory 34 -Djosm.home=/PATH/TO/JOSM/HOMEDIR Relocate all 3 directories to homedir. 35 -Djosm.home=/path/to/JOSM/folder/ Change the folder for all user settings. Cache directory will be in homedir/cache 31 36 }}} 37 **Note**: `-Djosm.home` has lower precedence, i.e. the specific setting overrides the general one 38 32 39 For some tasks, JOSM needs a lot of memory. It can be necessary to add the following Java option to specify the maximum size of allocated memory in megabytes. On the other hand, on slow systems or those with less memory, you can make JOSM more stable by restricting its memory use: 33 40 {{{ … … 39 46 #!sh 40 47 java -jar josm.jar track1.gpx track2.gpx london.osm 41 java -jar josm.jar https://www.openstreetmap.org/ index.html?lat=43.2&lon=11.1&zoom=1348 java -jar josm.jar https://www.openstreetmap.org/#map=13/43.2/11.1 42 49 java -jar josm.jar london.osm --selection=http://www.ostertag.name/osm/OSM_errors_node-duplicate.xml 43 50 java -jar josm.jar 43.2,11.1,43.4,11.4 51 java -jar josm.jar --set=expert=true 52 java -Djosm.pref=$XDG_CONFIG_HOME -Djosm.userdata=$XDG_DATA_HOME -Djosm.cache=$XDG_CACHE_HOME -jar josm.jar 44 53 java -Djosm.home=/home/user/.josm_dev -jar josm.jar 45 java -Xmx400m -jar josm.jar 46 java -jar josm.jar --set=expert=true 54 java -Xmx1024m -jar josm.jar 47 55 }}} 48 56 49 57 Parameters `--download`, `--downloadgps` and `--selection` are processed in this order. 50 58 Make sure you load some data if you use `--selection`. 51