[[TranslatedPages]] = File > Download from OSM = [[Image(source:trunk/images/download.png,middle)]] ''Keyboard shortcut:'' **{{{Ctrl+Shift+↓}}}** **Download data from server.** [[PageOutline(2-10,Table of Content)]] == Type of Data == Different types of data can be downloaded: * [[osmwiki:Downloading data|OSM data]] ([[osmwiki:Elements|nodes, ways, relations]]) * [[osmwiki:GPS traces|GPS raw data (traces)]] * [[Help/Dialog/Notes|OSM notes]] The type is chosen with the checkboxes at the top of the window. (It is possible to download all three types at once). == Area to download == The dialog has multiple tabs. The exact configuration of tabs may be dependent on plugins you have installed, but you will generally at least have the following five. When switching between tabs, the area shown in each tab will be the same. So if you select a bookmark for example and switch to the slippy map tab, the area of that bookmark is shown. **Note**: When the download dialog is called up with data already loaded, all fields are set to the currently visible bounding box. Thus a common use scenario is to first load your GPS track from a GPX file, then zoom the view so that the portion you wish to work on is fully visible, and then call up the download dialog which will reflect the visible area. === Slippy map === [[Image(download_dialog.2.png,300px,right)]] The slippy map provides a movable map like on the OSM front page with which you can interactively select the area to download. Only differences are that {{{Shift+Click}}} to zoom is not available, move the map the JOSM way by press and hold the right mouse button and select an area by press and hold the left mouse button. === Bookmarks === A Bookmarks tab where you can select from your predefined bookmarks, or create a new bookmark from the current bounding box or the area defined in another tab respectively. === Bounding Box === A Bounding Box tab where you can set the latitude/longitude bounds of the data to be downloaded, and also paste an URL from either www.openstreetmap.org. * To paste from [osmwww: the map] on the OpenStreetMap site, zoom into the area you are interested in, then either move the mouse over the "view" tab, and copy the resulting URL, or copy the permalink given in the bottom right corner. Then go to JOSM, and paste this URL into the "URL from www.openstreetmap.org" box. (In Windows to paste into the box, left click on the box, and then do CTRL+v). * To paste from [http://www.openstreetmap.org www.openstreetmap.org] zoom to the area you are interested in, and then copy the permalink location from the bottom right of the screen, and paste as described above. Instead of pasting the URL in the text box, you can press `[CTRL]+[V]` on any other tab to parse the bounds from the clipboard URL. === Area around places === On the ''Area around places'' tab you can search for specific places, street names, etc, in the OSM database. Currently, there is only one server for the search available: [osmwiki:Nominatim Nominatim]. (In the past there was also [osmwiki:Name_finder Namefinder], but this service has been retired and shut down.) After you have clicked on a search result you can switch back to the Slippy map tab (which has zoomed to the area of the search result) and adjust the bounding box. === Tile Numbers === A Tile Numbers tab where you can enter a number of tiles and a zoom level to download data of those tiles. Alternatively, you enter a Tile address. This might look a little awkward, especially when reading [osmwiki:Slippy_map_tilenames how to compute the tile numbers]. But sometimes it comes in handy. If you want to easily determine the tile numbers with the mouse, see [https://help.openstreetmap.org/questions/40163/tile-browser-link-broken this help center question]. == Area too large == To smaller the risk of a server overload, the amount of data to download at once is limited.[[BR]] There will be a red warning at the bottom left displayed if the selected area is too large for the server and will likely be answered with an error message. (You can try, though!)[[BR]] Otherwise, choose a smaller area. You can download bigger areas using several smaller ones. == Layer control == You can control whether the data is loaded into the current or in a new layer with the checkbox in the bottom left corner of the window: * if **Download as new layer** is selected, the data is loaded in a new layer * if **Download as new layer** is 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. == Display == Clicking on the [[Image(source:/trunk/images/layer-switcher-maximize.png,20,middle)]] button on the upper right gives you the option to change the displayed map (rendering machine) for this window. The available maps are based on your [[Help/Preferences/Imagery|Imagery preferences]]. An example of the displayed selection: * OpenStreetMap (Mapnik) * Cyclemap * Bing Aerial Maps * MapQuest Open Aerial == Mirror Download Plugin == * The XAPI query syntax is explained in the [osmwiki:Overpass_API/XAPI_Compatibility_Layer OSM wiki]. == See also == * [[Image(source:trunk/images/downloadprimitive.png,middle)]] [DownloadObject Download object] * [[Image(source:trunk/images/download.png,middle)]] [DownloadParentWaysAndRelation Download parent ways and relations] * [[Image(source:trunk/images/download-overpass.png,middle)]] [OverpassDownload Download from Overpass API] * [[Image(source:trunk/images/download_in_view.png,middle)]] [DownloadOsmInView Download in current view] * [[Image(source:trunk/images/openlocation.png,middle)]] [OpenLocation Open Location] ---- Back to [Menu/File Menu File][[Br]] Back to [wiki:/Help Main Help]