Version 41 (modified by 7 years ago) ( diff ) | ,
---|
Languages:
- Deutsch
- English
- español
- français
- 日本語
- Nederlands
- русский
- українська
File > Open Location
Dialog
Table of Contents
Load OSM data from an URL either in the current data layer or in a new data layer.
The following dialog is displayed:
You can enter the URL where to download data from and click Download URL.
It is also possible to simply drop or paste (CTRL+V) the URL into the JOSM Map View without using the Open Location window. It only requires at least one data layer. Note, that the current state of the "Separate Layer" check box in the Open location window influences also this feature.
Check boxes
- Separate Layer
- If checked, the data is loaded in a new layer, if not selected, the data is loaded in the current data layer. (If there isn't any data layer yet, a new data layer is always created.)
- Zoom to downloaded data
- If checked the map view will move to the downloaded data after downloading, if not checked it will stay at its current position. (If expert mode is off this checkbox is not displayed.)
Data sources
To see the full list of supported data sources open the Open Location window, enter nothing and press the Download URL button.
Examples of the most important data sources are listed hereafter.
If the URL you entered matches several data sources, a window will pop up where you can choose which of the data sources you want to download.
OSM data
Current version of objects
The OSM web server is the main data source you can use here. For instance, if you know the object id of a node, way, or relation you can load the respective object with one of the following URLs (replace 123456789
with the object id).
- for a node the URL is
https://api.openstreetmap.org/api/0.6/node/123456789
- for a way the URL is
https://api.openstreetmap.org/api/0.6/way/123456789
- for a relation the URL is
https://api.openstreetmap.org/api/0.6/relation/123456789
You can also use the URL format of osm.org:
- for a node the URL is
https://www.openstreetmap.org/node/123456789
- for a way the URL is
https://www.openstreetmap.org/way/123456789
- for a relation the URL is
https://www.openstreetmap.org/relation/123456789
Older version of objects
You can also load older versions of an object (replace 123
with the version number)
- for a node the URL is
https://api.openstreetmap.org/api/0.6/node/<node id>/123
- for a way the URL is
https://api.openstreetmap.org/api/0.6/way/<way id>/123
- for a relation the URL is
https://api.openstreetmap.org/api/0.6/relation/<relation id>/123
Changeset
- for all objects belonging to a changeset the URL is
https://www.openstreetmap.org/changeset/123456789
(replace123456789
with the changeset id)
Area
- for an area the URL is
https://www.openstreetmap.org/#map=18/46.20140/4.27022
Other servers
Additional to the main osm server listed above, other servers are available too, e.g.:
geo: URIs/URLs
- downloads osm data at a small area around the given location, e.g.
geo:37.786971,-122.399677
Notes
- If the URL contains
/note/123456
you can choose if you also want to download the Note with the given id. - If the URL contains
&layers=N
you can choose if you also want to download the Notes in the given area.
GPS
- URLs ending with .gpx
- OSM user traces in the format
https://www.openstreetmap.org/user/foo/traces/2277313
- OSM user traces in the format
https://www.openstreetmap.org/edit?gpx=2277313
- OSM user traces in the format
https://www.openstreetmap.org/edit?gpx=2277313#map=14/-20.7321/-40.5328
(which can also be found at the osm user traces page)
See also
Download data
Download object
Download parent ways and relations
Download in current view
continuosDownload Plugin
Open ...
Open Recent
Attachments (2)
- Download location 11223.png (20.3 KB ) - added by 8 years ago.
- download-location.png (10.4 KB ) - added by 7 years ago.
Download all attachments as: .zip