Changes between Version 13 and Version 49 of Help/Action/OpenLocation
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/OpenLocation
v13 v49 3 3 = File > Open Location = 4 4 5 [[ Image(source:/trunk/images/openlocation.png)]] ''Keyboard shortcut:'''''{{{Ctrl-L}}}'''5 [[JOSMImage(openlocation,middle,link=,margin-right=20,48)]] ''Keyboard shortcut:'' **`Ctrl+L`** 6 6 7 '''Load OSM data from an URL either in the current data layer or in a new data layer.''' 7 [[PageOutline(2-3,Table of Contents)]] 8 8 9 The following dialog is displayed: 9 **Open an URL.** 10 10 11 [[Image(download-location.png)]] 11 [[Image(Help/Action/OpenLocation:download-location.png,right,link=,margin-left=15,margin-right=10)]] 12 This action interprets various kinds URLs to download several types of OSM and JOSM data. 12 13 13 You can enter the URL where to download data from and click '''Download URL'''. 14 It handles the URLs being dropped by mouse or pasted via clipboard into the [wikitr:/Help/MapView Mapview], too. 15 This happens by silently reusing the current state of the check-boxes of the dialog. 14 16 15 You can control whether the data is loaded into the current or in a new layer: 16 * if '''Separate Layer''' is selected, the data is loaded in a new layer 17 * if '''Separate Layer''' is not selected, the data is loaded in the current data layer 17 The ''Download as new layer'' checkbox controls if the data is loaded in a new layer. 18 18 19 If there isn't a data layer yet, a new data layer is always created. 19 By default the map view pans to the downloaded data. 20 When checking ''Zoom to downloaded data'' off no panning is done in [wikitr:/Help/ExpertMode expert mode]. 21 22 **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. 20 23 21 24 == Data sources == 22 The OSM web server is the maindata sourceyou can use here. For instance, if you know the [wiki:/Help/Concepts/Object object id] of a [wiki:/Help/Concepts/Object node, way, or relation] you can load the respective object with one of thefollowing URLs:25 If the URL matches several data sources, a window will follow to choose the type of data to download. 23 26 24 * for a node the URL is `http://api.openstreetmap.org/api/0.6/node/123456789` (replace `123456789` with the node id) 25 * for a way the URL is `http://api.openstreetmap.org/api/0.6/way/123456789` (replace `123456789` with the way id) 26 * for a relation the URL is `http://api.openstreetmap.org/api/0.6/relation/123456789` (replace `123456789` with the relation id) 27 Examples of data sources are listed hereafter. 27 28 28 TODO: [http://wiki.openstreetmap.org/wiki/Xapi XAPI servers] 29 === OSM data === 30 ==== Current version of objects ==== 31 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). 29 32 30 == Older versions of objects == 31 You can also load older versions of an object 32 * for a node the URL is `http://api.openstreetmap.org/api/0.6/node/<node id>/123` (replace `123` with the version number) 33 * for a way the URL is `http://api.openstreetmap.org/api/0.6/way/<way id>/123` (replace `123` with the version number) 34 * for a relation the URL is `http://api.openstreetmap.org/api/0.6/relation/<relation id>/123` (replace `123` with the version number) 33 Example of an API URL: `https://api.openstreetmap.org/api/0.6/way/123456789`\\ 34 Example of an URL from the slippy map: `https://www.openstreetmap.org/node/123456789` 35 36 ==== Older version of objects ====#Olderversionofobjects 37 You can also load older versions of an object (replace `123` with the version number) 38 Example of an API URL: `https://api.openstreetmap.org/api/0.6/relation/<relation id>/123` 39 40 ==== Changeset ==== 41 For all objects belonging to a changeset the URL is `https://www.openstreetmap.org/changeset/123456` (replace `123456` with the changeset id) 42 43 ==== Area ==== 44 For all objects in an area the URL is `https://www.openstreetmap.org/#map=18/46.20140/4.27022` 45 46 ==== Other servers ==== 47 Additional to the main osm server listed above, other servers are available too, e.g.: 48 * [osmwiki:Xapi XAPI servers] 49 * [osmwiki:Overpass_API Overpass API] 50 51 52 === geo: URIs/URLs === 53 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` 54 55 === Notes === 56 * 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. 57 * If the URL contains `&layers=N` you can choose if you also want to download the Notes in the given area. 58 59 === GPS === 60 * URLs ending with .gpx 61 * OSM user traces in the format `https://www.openstreetmap.org/user/foo/traces/2277313` 62 * OSM user traces in the format `https://www.openstreetmap.org/edit?gpx=2277313` 63 * 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]) 64 65 The full list of supported data sources and URL patterns is shown when an invalid URL was entered. 66 35 67 36 68 == See also == 37 * [[Image(source:/trunk/images/open.png)]] [wiki:/Help/Action/Open Open ...] 38 * [[Image(source:/trunk/images/openrecent.png)]] [wiki:/Help/Action/OpenRecent Open Recent] 69 * [[JOSMImage(downloadprimitive)]] [wikitr:/Help/Action/DownloadObject Download object] To download an object together with its referrers 70 * [[JOSMImage(download)]] [wikitr:/Help/Action/Download Download data] 71 * [[JOSMImage(downloadprimitive)]] [wikitr:/Help/Action/DownloadObject Download object] 72 * [[JOSMImage(download)]] [wikitr:/Help/Action/DownloadParentWaysAndRelation Download parent ways and relations] 73 * [[JOSMImage(download_in_view)]] [wikitr:/Help/Action/DownloadOsmInView Download in current view] 74 * [[Image(https://raw.githubusercontent.com/JOSM/continuos-download/master/images/continuous-download.png,middle,link=)]] [osmwiki:JOSM/Plugins/continuosDownload continuosDownload Plugin] 75 * [[JOSMImage(open)]] [wikitr:/Help/Action/Open Open ...] 76 * [[JOSMImage(openrecent)]] [wikitr:/Help/Action/OpenRecent Open Recent] 39 77 40 78 ---- 41 Back to [wiki:/Help/Menu/File Menu File][[Br]]42 Back to [wiki :Help MainHelp]79 Back to [wikitr:/Help/Menu/File File menu] \\ 80 Back to [wikitr:/Help Main help]
