Changes between Initial Version and Version 1 of Introduction


Ignore:
Timestamp:
2007-01-23T01:41:30+01:00 (19 years ago)
Author:
dmgroom
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Introduction

    v1 v1  
     1== Terminology ==
     2
     3I'll refer to "roads" below, but the same applies to any
     4"way", eg footpaths, bridleways, railways, rivers etc, basically any line
     5you want represented in OSM.
     6
     7A "node" represents the start and end of a segment, and should be wherever
     8there is a significant change in direction, or a junction. "Segments" are
     9then drawn between each node, with curves being made up of a series of
     10segments.  Lastly a road will be represented by a "way", which is a group of
     11segments which are collected together.  In general in urban areas it would
     12be usual for most roads to be formed into only one way, but when you get out
     13of towns the roads become longer and may be represented by a number of ways
     14next to each other.
     15
     16== Prior to actually editing ==
     17
     18Before you start to add or amend OpenStreetMap data, you will somehow need to know where you roads are going to be!
     19
     20The easiest case to start with is where you have your own GPX track of a route saved on your own computer.   Use menu option File > open to load the GPX file into JOSM.  You will then see in the [wiki:Help/MapView main map view] window a series of dots representing your GPX track.
     21
     22An alternative is to download existing GPX points from the OSM server.  In order to start this process you will need to know the latitude  and longitude coordinates of the relevant area.  The easiest way to do this is to visit the [http://www.openstreetmap.org/index.html map] and to zoom in to the area you are interested in, then to move the mouse over the View tab, and copy the resulting link.  You will need to have zoomed in to a fairly small area, in residential areas where there is a lot of existing OSM activity you will need to be at a zoom level of 12, other less dense areas will probably be bale to be downloaded at zoom level 14.  Once you have copied the OSM link ( which will look something like {{{http://www.openstreetmap.org/index.html?lat=50.687181128986&lon=-1.0795289310465817&zoom=14}}}) you can then paste this into the "URL from open streetmap.org box on the JOSM [wiki:Help/Action/Download download option].
     23
     24== Editing in JOSM ==
     25
     26The first step of actual editing, is to add a node to the OSM data whether there will be a
     27junction, or a significant change in direction. Make sure the node button
     28(4th button in the left menu bar) looks like a little square and when you
     29hover the mouse over it a tip comes up saying "add a node to the map", if
     30the button looks like a series of there squares with lines between them ,
     31and the tip says "add a node into an existing segment", then click the tiny
     32black triangle on the node button and select the single square  .  To add a
     33node, highlight the node button, either by clicking the 4th button in the
     34left menu bar, or by hitting the "n" key on the keyboard (the 4th button)
     35should then be highlighted.  Move the mouse cursor over your GPS track, and
     36left click it wherever you want a node to be, a white dot (a selected node)
     37should appear, and as you create subsequent nodes the earlier nodes will be
     38shown as a red dot.
     39
     40Once you have a series of nodes, the next thing you'll need to do is to draw
     41segments between them.  Click the button below the node button, or hit "g"
     42on the keyboard.  Move the mouse cursor over a node, left click and hold
     43down the left mouse button whilst dragging the cursor to an adjacent node,
     44the release the left mouse button.  A segment, represented by a line between
     45the nodes should now exist.  These will initially be shown in white since as
     46you draw them they are deemed to be selected.  When you have drawn all the
     47segments in a way, you need to highlight all of them.  If you have just been
     48creating them they all will be highlighted anyway, but if you need to add
     49old segments (shown as green lines between nodes) then click the select menu
     50button and holding down the shift key, click on all the segments you want to
     51form the way.  Once all the segments are selected click the way button, the
     52sixth button down, or hit "w" on the keyboard, and a dialog box should
     53appear saying "create a way out of x segments", click yes and you have
     54created a way, initially it will be shown in white, but if you click the
     55select button, or click "s" on keyboard, and then left click away from the
     56way, you will de-select it and it should be shown in blue.
     57
     58Ways on their own are not much use unless they are tagged to say what they
     59represent. [http://wiki.openstreetmap.org/index.php/Map_features  Map Features] shows all the current
     60key value pairs which could be used on a way.  Ensure the "properties"
     61window is open on the Right hand side of JOSM, the 10th button on the left
     62( a hand pointing to a box) should be highlighted, if not click the button
     63on hit "Alt+P".  On the Right hand side of JOSM there should be a properties
     64window, it will have a "plus" sign with add next to it, then edit, then
     65delete.  Ensure your new way is highlighted, then click the "add" button, a
     66dialog box will appear and you will be asked to select a key and a value.
     67Type in the key/value pair which represents the way you are creating, eg for
     68the key type "highway" without the quotes, and for value type "secondary"
     69again without the quotes.  then click OK.  You have now tagged your way.
     70
     71If you are happy with all that you have done then you need to upload this to
     72OSM server.
     73
     74== Conventions ==
     75
     76A couple of other points about creating segments and ways.
     77
     781) Dual carriage ways should be drawn as two separate parallel sets of segments,, with each carriage way being a different way.
     79
     802) if a street is one way (including the individual carriageways of a dual carriageway) the segments should be drawn in the direction of travel
     81
     823) If a street is not one way, then to make the rendering in Osmarender look correct:
     83
     84    all segments which will comprise a way should be drawn in the same direction.
     85    street names are rendered in the direction of travel, so it is helpful if segments are drawn left to right, then the street names appear the correct way up
     86
     874) all segments in a way should be in order, this will be handles automatically by JOSM if all the segments are turned into a way in one go, but you can add new segments to an existing way, and this sometimes causes the order to get jumbled up.
     88
     895)  the key / value tagging is case sensitive, all keys should be entered in
     90lower case
     91