Changes between Version 12 and Version 13 of Help/CommandLineOptions


Ignore:
Timestamp:
2015-04-08T17:35:40+02:00 (10 years ago)
Author:
skyper
Comment:

updates according to latest

Legend:

Unmodified
Added
Removed
Modified
  • Help/CommandLineOptions

    v12 v13  
    2424--version                                 Displays the JOSM version and exits
    2525--debug                                   Print debugging messages to console
     26--skip-plugins                            Skip loading plugins
    2627--offline=<osm_api|josm_website|all>      Disable access to the given resource(s), separated by comma
    2728}}}
    2829options provided as Java system properties
    2930{{{
    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
    3136}}}
     37**Note**: `-Djosm.home` has lower precedence, i.e. the specific setting overrides the general one
     38
    3239For 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:
    3340{{{
     
    3946#!sh
    4047java -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=13
     48java -jar josm.jar https://www.openstreetmap.org/#map=13/43.2/11.1
    4249java -jar josm.jar london.osm --selection=http://www.ostertag.name/osm/OSM_errors_node-duplicate.xml
    4350java -jar josm.jar 43.2,11.1,43.4,11.4
     51java -jar josm.jar --set=expert=true
     52java -Djosm.pref=$XDG_CONFIG_HOME -Djosm.userdata=$XDG_DATA_HOME -Djosm.cache=$XDG_CACHE_HOME -jar josm.jar
    4453java -Djosm.home=/home/user/.josm_dev -jar josm.jar
    45 java -Xmx400m -jar josm.jar
    46 java -jar josm.jar --set=expert=true
     54java -Xmx1024m -jar josm.jar
    4755}}}
    4856
    4957Parameters `--download`, `--downloadgps` and `--selection` are processed in this order.
    5058Make sure you load some data if you use `--selection`.
    51