[[TranslatedPages]] = File > Open Location = [[JOSMImage(openlocation,middle,link=,margin-right=20,48)]] ''Keyboard shortcut:'' **`Ctrl+L`** [[PageOutline(2-3,Table of Contents)]] **Open an URL.** [[Image(Help/Action/OpenLocation:download-location.png,right,link=,margin-left=15,margin-right=10)]] This action interprets various kinds URLs to download several types of OSM and JOSM data. It handles the URLs being dropped by mouse or pasted via clipboard into the [wikitr:/Help/MapView Mapview], too. This happens by silently reusing the current state of the check-boxes of the dialog. The ''Download as new layer'' checkbox controls if the data is loaded in a new layer. By default the map view pans to the downloaded data. When checking ''Zoom to downloaded data'' off no panning is done in [wikitr:/Help/ExpertMode expert mode]. **Note**: [[JOSMImage(paste,link=,24,middle)]] [wikitr:/Help/Action/Paste Pasting] the URL with an active data layer bypasses the dialog while using the previously set options. == Data sources == If the URL matches several data sources, a window will follow to choose the type of data to download. Examples of data sources are listed hereafter. === OSM data === ==== Current version of objects ==== The OSM servers are the main data source you can use here. For instance, if you know the [wikitr:/Help/Concepts/Object#ObjectId object id] of a [wikitr:/Help/Concepts/Object#NodesWaysRelations node, way, or relation] you can load the respective object with one of the following URLs (replace `123456789` with the object id). Example of an API URL: `https://api.openstreetmap.org/api/0.6/way/123456789`\\ Example of an URL from the slippy map: `https://www.openstreetmap.org/node/123456789` ==== Older version of objects ====#Olderversionofobjects You can also load older versions of an object (replace `123` with the version number) Example of an API URL: `https://api.openstreetmap.org/api/0.6/relation//123` ==== Changeset ==== For all objects belonging to a changeset the URL is `https://www.openstreetmap.org/changeset/123456` (replace `123456` with the changeset id) ==== Area ==== For all objects in 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.: * [osmwiki:Xapi XAPI servers] * [osmwiki:Overpass_API Overpass API] === geo: URIs/URLs === The geographic URL format can be used to download 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 [wikitr:/Help/Dialog/Notes 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 [osmwww:user/Skippern/traces/2277313 osm user traces page]) The full list of supported data sources and URL patterns is shown when an invalid URL was entered. == See also == * [[JOSMImage(downloadprimitive)]] [wikitr:/Help/Action/DownloadObject Download object] To download an object together with its referrers * [[JOSMImage(download)]] [wikitr:/Help/Action/Download Download data] * [[JOSMImage(downloadprimitive)]] [wikitr:/Help/Action/DownloadObject Download object] * [[JOSMImage(download)]] [wikitr:/Help/Action/DownloadParentWaysAndRelation Download parent ways and relations] * [[JOSMImage(download_in_view)]] [wikitr:/Help/Action/DownloadOsmInView Download in current view] * [[Image(https://raw.githubusercontent.com/JOSM/continuos-download/master/images/continuous-download.png,middle,link=)]] [osmwiki:JOSM/Plugins/continuosDownload continuosDownload Plugin] * [[JOSMImage(open)]] [wikitr:/Help/Action/Open Open ...] * [[JOSMImage(openrecent)]] [wikitr:/Help/Action/OpenRecent Open Recent] ---- Back to [wikitr:/Help/Menu/File File menu] \\ Back to [wikitr:/Help Main help]