Changes between Version 42 and Version 43 of Help/Action/OpenLocation


Ignore:
Timestamp:
2020-03-07T10:41:04+01:00 (6 years ago)
Author:
Hb---
Comment:

examples shortened

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/OpenLocation

    v42 v43  
    22
    33= File > Open Location =
    4 == Dialog ==
    5 [[Image(source:trunk/images/openlocation.png,middle)]] ''Keyboard shortcut:'' **`Ctrl+L`**
    64
    7 [[PageOutline(2-4,Table of Contents)]]
     5[[JOSMImage(openlocation,middle,link=,margin-right=20,48)]] ''Keyboard shortcut:'' **`Ctrl+L`**
    86
    9 **Load OSM data from an URL either in the current data layer or in a new data layer.**
     7[[PageOutline(2-2,Table of Contents)]]
    108
    11 The following dialog is displayed:
     9**Open an URL.**
    1210
    13 [[Image(download-location.png)]]
     11[[Image(Help/Action/OpenLocation:download-location.png,right, link=,margin-left=15,margin-right=10)]]
     12This action interprets various kinds URLs to download several types of OSM and JOSM data.
    1413
    15 You can enter the URL where to download data from and click **Download URL**.
     14It handles the URLs being dropped by mouse or pasted via clipboard into the [wikitr:/Help/MapView Mapview], too.
     15This happens by silently reusing the current state of the checkboxes of the dialog.
    1616
    17 '''It is also possible to simply drop or paste (CTRL+V) the URL into the JOSM [wiki:Help/MapView Map View] without using the Open Location window. It only requires at least one [wiki:Help/Dialog/LayerList data layer].''' Note, that the current state of the "Separate Layer" check box in the Open location window influences also this feature.
     17The ''Download as new layer'' checkbox controls if the data is loaded in a new layer.
    1818
    19 == Check boxes ==
    20  Download as new layer::
    21   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.)
    22  Zoom to downloaded data::
    23   If checked the map view will move to the downloaded data after downloading, if not checked it will stay at its current position. (If [ExpertMode expert mode] is off this checkbox is not displayed.)
     19By default the map view pans to the downloaded data.
     20When checking ''Zoom to downloaded data'' off no panning is done in [ExpertMode expert access] mode.
    2421
    2522== Data sources ==
    26 '''To see the full list of supported data sources open the Open Location window, enter nothing and press the Download URL button.'''
    2723
    28 Examples of the most important data sources are listed hereafter.
     24If the URL matches several data sources, a window will follow to choose the type of data to download.
    2925
    30 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.
     26Examples of data sources are listed hereafter.
    3127
    3228=== OSM data ===
    3329==== Current version of objects ====
    34 The OSM web server is the main data source you can use here. For instance, if you know the [Concepts/Object#Objectids object id] of  a [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).
     30The OSM servers are the main data source you can use here. For instance, if you know the [Concepts/Object#Objectids object id] of  a [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).
    3531
    36 * for a node the URL is `https://api.openstreetmap.org/api/0.6/node/123456789`
    37 * for a way the URL is `https://api.openstreetmap.org/api/0.6/way/123456789`
    38 * for a relation the URL is `https://api.openstreetmap.org/api/0.6/relation/123456789`
    39 
    40 You can also use the URL format of osm.org:
    41 
    42 * for a node the URL is `https://www.openstreetmap.org/node/123456789`
    43 * for a way the URL is `https://www.openstreetmap.org/way/123456789`
    44 * for a relation the URL is `https://www.openstreetmap.org/relation/123456789`
     32Example of an API URL: `https://api.openstreetmap.org/api/0.6/way/123456789`\\
     33Example of an URL from the slippy map: `https://www.openstreetmap.org/node/123456789`
    4534
    4635==== Older version of objects ====
    4736You can also load older versions of an object (replace `123` with the version number)
    48 * for a node the URL is `https://api.openstreetmap.org/api/0.6/node/<node id>/123`
    49 * for a way the URL is `https://api.openstreetmap.org/api/0.6/way/<way id>/123`
    50 * for a relation the URL is `https://api.openstreetmap.org/api/0.6/relation/<relation id>/123`
     37Example of an API URL: `https://api.openstreetmap.org/api/0.6/relation/<relation id>/123`
    5138
    5239==== Changeset ====
    53 * for all objects belonging to a changeset the URL is `https://www.openstreetmap.org/changeset/123456789` (replace `123456789` with the changeset id)
     40For all objects belonging to a changeset the URL is `https://www.openstreetmap.org/changeset/123456` (replace `123456` with the changeset id)
    5441
    5542==== Area ====
    56 * for an area the URL is `https://www.openstreetmap.org/#map=18/46.20140/4.27022`
     43For all objects in an area the URL is `https://www.openstreetmap.org/#map=18/46.20140/4.27022`
    5744
    5845==== Other servers ====
     
    6148* [osmwiki:Overpass_API Overpass API]
    6249
    63 ==== geo: URIs/URLs ====
    64 * downloads osm data at a small area around the given location, e.g. `geo:37.786971,-122.399677`
     50=== geo: URIs/URLs ===
     51The 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`
    6552
    6653=== Notes ===
     
    7461* 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])
    7562
     63The full list of supported data sources and URL patterns is shown when an invalid URL was entered.
     64
    7665== See also ==
     66* [[JOSMImage(downloadprimitive,middle)]] [wikitr:/Help/Action/DownloadObject Download object] To download an object together with its referrers
    7767* [[Image(source:trunk/images/download.png,middle)]] [wiki:Help/Action/Download Download data]
    7868* [[Image(source:trunk/images/downloadprimitive.png,middle)]] [DownloadObject Download object]
     
    8474
    8575----
    86 Back to [Menu/File Menu File][[Br]]
    87 Back to [wiki:/Help Main Help]
     76Back to [wikitr:/Help/Menu/File File menu][[Br]]
     77Back to [wikitr:/Help Main help]