← 返回命令列表

Linux command

josm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Launch JOSM editor

josm

Open OSM file

josm [file.osm]

Download area by bounding box

josm --download=[minlat],[minlon],[maxlat],[maxlon]

Start in offline mode

josm --offline=all

Set window geometry

josm --geometry=[800]x[600]+[100]+[100]

说明

josm is the Java OpenStreetMap Editor, a feature-rich desktop application for editing OpenStreetMap data. It supports loading and saving OSM data files, GPS tracks, imagery layers, and provides advanced editing tools for mapping.

参数

--download=_bounds_
Download bounding box (minlat,minlon,maxlat,maxlon).
--downloadgps=_bounds_
Download GPS traces for area.
--offline=_mode_
Start in offline mode (osm_api, josm_website, all).
--geometry=_WxH+X+Y_
Set window size and position.
--language=_lang_
Set interface language.
--selection=_query_
Select objects matching search.
--version
Display version information.

FAQ

What is the josm command used for?

josm is the Java OpenStreetMap Editor, a feature-rich desktop application for editing OpenStreetMap data. It supports loading and saving OSM data files, GPS tracks, imagery layers, and provides advanced editing tools for mapping.

How do I run a basic josm example?

Run `josm` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --download=_bounds_ do in josm?

Download bounding box (minlat,minlon,maxlat,maxlon).