| | 11 | [[JOSMImage(data/relation,middle,inline,link=)]] Relation:: A relation is an ordered sequence of ways and nodes, a logical container used to group elements. Only [taginfo:reports/database_statistics 1% of the data] is modeled using relations. |
| | 12 | |
| | 13 | [[JOSMImage(data/closedway,middle,inline,link=)]] Area:: An area is a way whose ends are connected. |
| | 14 | |
| | 15 | [[JOSMImage(dialogs/propertiesdialog,middle,16,inline,link=)]] Tag:: Tags describe what each node, way or relation represents. Tags are pairs of key and value. Keys are basically larger categories, such as "Highway" or "Land Use," while values are specific features, such as "Primary Road" or "Residential Street," and "Residential" or "Retail" land use. For example `highway=residential` is pair of key `highway` and value `residential` and represents a residential street. |
| | 16 | |
| | 17 | If a road, track or path is curved, the curve is approximated using a number of nodes within a way, and short lines connecting them. If a way has a direction, that is indicated partly by using tags. For example, "oneway=yes" is a road that goes only in one direction. Other tags refer to being on the left and right of the direction of way along the way (ie. Coastline). |
| | 18 | |
| | 19 | |
| | 20 | == Launch JOSM == |
| | 21 | JOSM is a Java program, can be obtained from the [wikitr:/Download#Recommendedoptions Download page] which contains download links and link to further help. |
| | 22 | |
| | 23 | If you don't know how to start it, ask someone familiar with your platform or [osmwiki:Contact_channels other OSM mappers] how to run a Java program. |
| | 24 | |
| | 25 | |
| | 26 | == Your first edit with JOSM == |
| | 27 | === Welcome screen === |
| 35 | | To add a node, highlight the "Node" button, either by clicking the 2nd button in the left menu bar, or by hitting the "A" key on the keyboard (the 2nd button should then be highlighted). Then, move the mouse cursor over where you want the node, over a way or over your GPS track (if you uploaded one) and left click wherever you want a node. A white dot (a selected node) should appear and a rubber-line span from that dot to the mouse cursor. If you create subsequent nodes, the earlier nodes will be shown as yellow dots. |
| | 47 | === Enable Aerial imagery ===#EnableAerialimagery |
| | 48 | For most places on earth there is at least one imagery available. You can pick one from the [wikitr:/Help/Menu/Imagery Imagery menu] at the top of the editor. Bing and Mapbox are popular, but there may be more recent resources for your locality. Note that all local imagery resources, which are available for the region you are currently working, are displayed in the lower part of the Imagery menu. |
| | 49 | |
| | 50 | Imageries may have different levels of detail and clarity in different places, so it is often worth checking different imageries. Simply select one of them from the imagery menu and you're ready to go. |
| | 51 | |
| | 52 | [[Image(enable-imagery.gif,link=)]] |
| | 53 | |
| | 54 | When using imagery, keep in mind that imagery may be offset. That is, due to complexities in processing satellite imagery, features on imagery may not be at the same location as they are in the real world. For reference, check existing features in OpenStreetMap data and compare them with the imagery or download GPS tracks. To download GPS tracks from OpenStreetMap, check the "Raw GPS" box in the download dialog. If you observe an offset in the imagery, you can correct for it by selecting the "New offset" item in the "Imagery" menu. |
| | 55 | |
| | 56 | === Editing in JOSM === |
| | 57 | JOSM is an offline editor which means everything you do won't be visible for anyone else until you upload it to the server. This makes it possible to experiment with moving, tagging, adding and deleting elements repeatedly without breaking anything. Subsequent actions on a single element will go into the database as a single modification when uploaded. |
| | 58 | |
| | 59 | === Adding a Node or a Way === |
| | 60 | The first step of actual editing is to [wikitr:/Help/Action/Draw add a node or way] to the OSM data. You can add standalone nodes or you can add nodes to ways, especially where there is a [wikitr:/Help/Action/Draw#Commonnodeswithanotherway junction between two ways]. |
| | 61 | |
| | 62 | To add a node, activate "Draw Nodes" [wikitr:/Help/EditToolbar#Workingmodes mode], ''either by clicking the [[JOSMImage(mapmode/node/autonode,20,middle,link=)]] button in the left menu bar, or by hitting the "A" key on the keyboard (the button should then be highlighted)''. |
| | 63 | |
| | 64 | Then move the mouse cursor over where you want the node, over a way or over your GPS track (if you uploaded one) and left click wherever you want to place the node. A red dot (a selected node) should appear and a rubber-line spans from that node to the mouse cursor. If you create subsequent nodes, the earlier nodes will be shown as yellow nodes. |
| 45 | | To edit the properties of a node or way (such as adding a tag) in the Properties Panel, the way or node must be selected. |
| 46 | | 1. Enter Select mode by clicking the first of the left-hand icons or hitting the "S" key. |
| 47 | | 2. Highlight the way or point you wish to select. Click the "Add" button. |
| 48 | | 3. A dialog box will appear, and you will be asked to select a key and a value for each tag. Type in the key/value pair that represents the tag you are creating. For example, for the key, you might type "highway," and for the value "secondary" (no quotes). |
| 49 | | 4. Click OK. You have now tagged your way. |
| | 75 | To edit the properties of a node or way (such as adding a tag) in the Tags/Membership window, the way or node must be selected. |
| | 76 | 1. ''Enter [wikitr:/Help/Action/Select Select mode] by clicking on [[JOSMImage(mapmode/move/move,20,middle,link=)]] of the left-hand icons or by hitting the `S` key.'' |
| | 77 | 1. ''Highlight the way or node you wish to select, then click the [[JOSMImage(dialogs/add,20,middle,link=)]]**Add** button.'' |
| | 78 | 1. ''A [wikitr:/Help/Dialog/AddValue dialog box] will appear, and you will be asked to select a key and a value for each tag. Type in the key/value pair that represents the tag you are creating. For example, for the key you might type "amenity" and for the value "fountain" (without quotes).'' |
| | 79 | 1. ''Click OK. You have now tagged your way. You can add several tags to one object.'' |
| | 80 | [[Image(poi-restourant.gif,link=)]] |
| | 81 | [[Image(poi-fountain.gif,link=)]] |
| | 82 | |
| | 83 | === Presets ===#Presets |
| | 84 | Instead of adding tags manually you can also use [wikitr:/Help/Concepts/Object#presets Presets]. |
| | 85 | |
| | 86 | All presets can be found: |
| | 87 | 1. at the [wikitr:/Help/Menu main menu] (shown below on the left) |
| | 88 | 1. at the [wikitr:/Help/MainToolbar main toolbar] (no picture below) |
| | 89 | 1. at the pop-up menu with the `F3` shortcut (shown below on the right) |
| | 90 | |
| | 91 | [[Image(presets-from-main-menu.png,link=)]] |
| | 92 | [[Image(presets-f3-search.png,link=)]] |
| | 93 | |
| | 94 | Presets for the [wikitr:/Help/Dialog/SelectionList#Selection currently selected object(s)] are displayed above the tags in the [wikitr:/Help/Dialog/TagsMembership Tags/Memberships window]: |
| | 95 | |
| | 96 | [[Image(presets-in-tag-toggle.png,link=)]] |
| | 97 | |
| | 98 | === Left mouse click on respective preset heading will open complete preset view ===#Leftmouseclickonrespectivepresetheadingwillopencompletepresetview |
| | 99 | |
| | 100 | [[Image(single-preset-shown-in-context-of-tagsmemberships-single-object.png,link=)]] |
| | 101 | |
| | 102 | === Uploading to OSM ===#UploadingtoOSM |
| | 103 | If you are happy with all that you have done then you must upload your work to the OSM server. Click on the [[JOSMImage(upload,20,middle,link=)]] button. |
| | 104 | |
| | 105 | This will automatically trigger a [wikitr:/Help/Validator validation] of your changes. Review all validation warnings and try to resolve them before you upload. This will prevent unfortunate mistakes such as un-tagged objects or unconnected roads. Note that validator warnings can also be wrong in rare special cases. |
| | 106 | |
| | 107 | Before you upload, add a proper changeset comment and specify which source you used. This is important as it will show other users who see your changesets what this changeset was intended to modify and from where you took the information. |
| | 108 | |
| | 109 | [[Image(uploading data.gif,link=)]] |
| | 110 | |
| | 111 | ''JOSM will give you an overview of the elements that it is about to upload. You will be asked to provide a short text summary and the source of your edits. This description will be saved with your data on the server and provides information for the [osmwww:history Recent Changes list], for example.'' |
| | 112 | |
| | 113 | If you need more details or have questions about upload process, it is precisely covered at [wikitr:/Help/Action/Upload Upload data]. |
| 64 | | == Conventions in Creating Certain Types of Ways == |
| | 125 | === Tell your friends === |
| | 126 | * Tell your friends how easy it is to update data and how your changes get displayed quickly. Truck drivers, couriers, photographers, bikers, journalists, fishermen and simply runners with GPS are always welcome in OSM. |
| | 127 | * Precise and actual information may affect how you make decisions in your life. The more people who are active in the project, the faster the data gets updated. And while only [https://osmstats.neis-one.org/?item=countries&date= a few contributors] can be called as "active" at a given point in time. Every small change advances OSM to a complete and actual state. |
| | 128 | * OSM data may be viewed as clocks: without an arrow you wouldn't know minutes. It often gets outdated - simply refresh it. When clocks stop we wind them up again. |
| | 129 | * OpenStreetMap is about the whole planet in the same way how your clock about the current time. |