Changes between Initial Version and Version 1 of Help/CommandLineOptions


Ignore:
Timestamp:
2010-01-07T22:25:43+01:00 (16 years ago)
Author:
bomm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/CommandLineOptions

    v1 v1  
     1usage:
     2{{{
     3java -jar josm.jar <options>...
     4}}}
     5options:
     6{{{
     7--help|-?|-h                              Show this help
     8--geometry=widthxheight(+|-)x(+|-)y       Standard unix geometry argument
     9[--download=]minlat,minlon,maxlat,maxlon  Download the bounding box
     10[--download=]<url>                        Download the location at the url (with lat=x&lon=y&zoom=z)
     11[--download=]<filename>                   Open file (any file type that can be opened with File/Open)
     12--downloadgps=minlat,minlon,maxlat,maxlon Download the bounding box as raw gps
     13--selection=<searchstring>                Select with the given search
     14--[no-]maximize                           Launch in maximized mode
     15--reset-preferences                       Reset the preferences to default
     16--language=<language>                     Set the language
     17}}}
     18options provided as Java system properties
     19{{{
     20-Djosm.home=/PATH/TO/JOSM/FOLDER/         Change the folder for all user settings
     21}}}
     22note: 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:
     23{{{
     24-Xmx...m
     25}}}
     26
     27examples
     28{{{
     29java -jar josm.jar track1.gpx track2.gpx london.osm
     30java -jar josm.jar http://www.openstreetmap.org/index.html?lat=43.2&lon=11.1&zoom=13
     31java -jar josm.jar london.osm --selection=http://www.ostertag.name/osm/OSM_errors_node-duplicate.xml
     32java -jar josm.jar 43.2,11.1,43.4,11.4
     33java -Djosm.home=/home/user/.josm_dev -jar josm.jar
     34java -Xmx400m -jar josm.jar
     35}}}
     36
     37Parameters are read in the order they are specified, so make sure you load
     38some data before --selection
     39
     40
     41Note: Currently you can also specify {{{<url>}}} or {{{<filename>}}} arguments to {{{--downloadgps}}}. In this case it is the same as {{{--download}}}. This is not a supported usage and may be illegal in future versions.
     42