Relation:route



From OpenStreetMap Wiki

(Redirected from Tag:type=route)


Jump to navigation  Jump to search  

Relation:route - Other languages

  •  Afrikaans 
  •  asturianu 
  •  azərbaycanca 
  •  Bahasa Indonesia 
  •  Bahasa Melayu 
  •  bosanski 
  •  brezhoneg 
  •  català 
  •  čeština 
  •  dansk 
  •  Deutsch 
  •  eesti 
  •  English 
  •  español 
  •  Esperanto 
  •  euskara 
  •  français 
  •  Frysk 
  •  Gàidhlig 
  •  galego 
  •  hrvatski 
  •  Ido 
  •  interlingua 
  •  íslenska 
  •  italiano 
  •  Kreyòl ayisyen 
  •  kréyòl gwadloupéyen 
  •  kurdî 
  •  latviešu 
  •  Lëtzebuergesch 
  •  lietuvių 
  •  magyar 
  •  Nederlands 
  •  norsk 
  •  norsk nynorsk 
  •  occitan 
  •  polski 
  •  português 
  •  română 
  •  sardu 
  •  shqip 
  •  slovenčina 
  •  slovenščina 
  •  srpski (latinica) 
  •  suomi 
  •  svenska 
  •  Tagalog 
  •  Tiếng Việt 
  •  Türkçe 
  •  Zazaki 
  •  Ελληνικά 
  •  беларуская 
  •  български 
  •  македонски 
  •  монгол 
  •  русский 
  •  српски / srpski 
  •  українська 
  •  հայերեն 
  •  עברית 
  •  العربية 
  •  فارسی 
  •  ਪੰਜਾਬੀ 
  •  پنجابی 
  •  پښتو 
  •  سرائیکی 
  •  नेपाली 
  •  मराठी 
  •  বাংলা 
  •  தமிழ் 
  •  മലയാളം 
  •  සිංහල 
  •  ไทย 
  •  မြန်မာဘာသာ 
  •  한국어 
  •  ქართული 
  •  ⵜⴰⵎⴰⵣⵉⵖⵜ 
  •  中文(简体) 
  •  中文(繁體) 
  •  日本語 
  •  粵語 
  • Public-images-osm logo.svg route
    CycleLayer2.png
    Description
    Used to describe routes of various kinds. Show/edit corresponding data item.
    Group: routes
    Members
    • way - <empty>
    • way - forward
    • way - backward
    • node - stop
    • node way area - platform
    • node - guidepost
    Useful combination
    See also
    Status: de facto
    Relations:
    Relations
    Members:
    Members
    Prevalent roles:

    Aroute is a customary or regular line of passage or travel, often predetermined and publicized. Routes consist of paths taken repeatedly by people and vehicles: a ship on the North Atlantic route, a car on a numbered road, a bus on its route or a cyclist on a national route.

    A route (or variant) may belong to a route master relation. A route master contains all the directions, variant routes and information for that route. It permits OSM to distinguish the two routes of a two-way trip.

    Note that a road sometimes has more than one number. Numerous major European "E" routes share ways (sometimes exactly the same ways) with national numbered routes.

    Tags

    Key Presence Value Explanation
    type ! Required route Indicates this relation represents a route.
    route ! Required road / inline_skates / evacuation / detour / bicycle / mtb (mountainbike) / foot / hiking / running / bus / trolleybus / waterway / ferry / canoe / train / railway / tracks / tram / funicular / horse / ski / snowmobile / piste A road (e.g., the ways making up the A7 auto route), bicycle route, hiking route or whatever route (see also #Route types (route) and #Others).
    name  Important A name The route is known by this name (e.g., Jubilee Cycle Route, Pembrokeshire Coastal Path).
    ref  Important A reference The reference by which this route is known; e.g., A7, NCN 11, Citi 4. Recommended if no parent relation route_master=* exists. Otherwise, it is optional.
    network  Important ncn / rcn / lcn / nwn / rwn / … A wider network of routes of which this is one example. For example, the UK's national cycle network or a local cycle network.
    direction ? Optional north / south / east / west In Canada, New Zealand, and the United States, the official cardinal direction along the route when both directions are mapped as separate relations within a superrelation.
    operator ? Optional Operator name The route is operated by this authority, company, etc; e.g., Stagecoach Cambridge, Eurostar.
    state ? Optional proposed / alternate / temporary / connection Sometimes routes may not be permanent (i.e., diversions), or may be in a proposed state (e.g., UK NCN routes are sometimes not official routes pending some negotiation or development). Connection is used for routes linking two different routes or linking a route with for example a village centre.
    symbol ? Optional Symbol description Describes the symbol that is used to mark the way along the route; e.g., Red cross on white ground for the Frankenweg in Franconia, Germany.
    colour ? Optional A color name or a hex triplet Colour code noted in hex triplet format. Especially useful for public transport routes. Example: #008080 for teal colour.
    description ? Optional A short description What is special about this route.
    distance ? Optional Distance The nominal distance covered by the route. For users' information and automatic evaluation; e.g., of completeness. The default unit is km. Use dot as decimal separator. If a unit is specified, it should be separated from the number by a space and use a value as described on the Units page.
    ascent ? Optional Ascent The ascent covered by a route (default units are metres; specify others explicitly). If a route has start and end point at different altitude use descent too.
    descent ? Optional Descent The descent covered by a route (default units are metres; specify others explicitly). Use it only if it differs from the ascent (different altitude at start/endpoint of a route).
    roundtrip ? Optional yes / no Whether or not the route start and ends at the same place; i.e., after traversing the route once, one has returned to the start.
    interval ? Optional The time between departures of any given stop on a public transport route. This tag should only be used on public transport routes. Use HH:MM:SS, H:MM:SS, HH:MM, H:MM, MM, or M format. Example: interval=00:12:30 can be added to a subway route that runs trains every 12.5 minutes.
    duration ? Optional The duration time between the start and end, e.g. first and the last stop on a public transport route. This tag is used on public transport routes, hiking routes and others. Use HH:MM:SS, H:MM:SS, HH:MM, H:MM, MM, or M format. Example: duration=00:42 can be added to a subway route that take 42 minutes from start to end.
    tourism ? Optional yes If the route is of specific interest to tourists.

    Other tags that may be used with this relation:

    Members

    Element Role Recurrence Discussion
    way Role <empty> ! 1+ The ways making up the route.
    Currently the empty role should be used instead of the Role route role, which was used sometimes with PTv1.
    way Role forward / Role backward ? 0+ If a route should be followed in only one direction for some or all of its length, the role can indicate this for some or all of the constituent ways. Role forward means the route follows this way only in the direction of the way, and Role backward means the route runs only against the direction of the way. Rendered on the cycle map (example).

    These roles should not be used on public transport version 2 routes (use empty role instead).

    way Role north / Role south / Role east / Role west ? 0+ In Canada, New Zealand, and the United States, the a role set to a cardinal direction indicates which of the route's official route directions the way carries when the route is mapped as a single bidirectional relation.
    way Role hail_and_ride ? 0+ This role should only be used on public transport routes.

    Used on road segments in a public transport route relation where you can stop a vehicle at any point to get on or off. Common in asian countries.

    way Role reverse ? 0+ On some roads way, a bus has to reverse its way out of cul-de-sac. To reflect this in a route relation, use this role on a road segment.

    This role should not be used on public transport version 2 routes (put the way in the route relation twice instead).

    way Role link ? 0+ Link roads (highway=*_link) from and to the route. See highway=motorway_link. Note: this is at best extremely dubious, or maybe always unwanted. In many cases, maybe all, adding link roads from and to the route is incorrect.
    node Role stop ? 0+ This role should only be used on public transport routes.

    A bus or train stopping position, attached to the route road way, belonging to the route (public_transport=stop_position). The order of the members in the relation should be identical to the order in the timetable. Currently the Role stop role should be used instead of the Role stop:<number>, Role forward:stop:<number>, Role backward:stop:<number>, Role forward:stop, Role backward:stop roles, which were used sometimes with PTv1 to help mappers finding missing or misplaced stops.

    node way area Role platform ? 0+ This role should only be used on public transport routes.

    A bus or train platform belonging to the route (public_transport=platform). The order of the members in the relation should be identical to the order of the stops in the timetable. Currently the Role platform role should be used instead of the Role platform:<number> role, which was used sometimes with PTv1 to help mappers finding missing or misplaced platforms.

    node Role guidepost ? 0+ A guidepost which refers the route. See information=guidepost.
    node Role milestone ? 0+ (signed) kilometre, mile, leg, etc.
    node area relation Role information ? 0+ Information board, information stand about the route (and only the route).
    node area Role station ? 0+ Used in route=fitness_trail (see fitness_station ), in route=worship (see stations_of_the_cross and wayside_shrine ) and for educational=yes (for "marked stations or stops next to points of natural, technological or cultural interest").
    node way area * All commonly used values according to Taginfo

    Note: to ensure a route is properly connected when using a two alternative directions (alternative route A1 and A2, using the Role forward and Role backward roles), make sure the element before the branch connects to the first element in A1 and the element after the branch connects to the last element of A2. Also note that the Role forward and Role backward roles refer to the directionality of the ways in A1 which need to be going in the same direction; if not all ways in A1 run in the same direction it may be necessary to use both Role forward and Role backward for the same alternate route A1.

    Route types (route)

    The list below is alphabetical and is derived from Map Features#Route, which contains the most commonly accepted values. For a list that is ordered by general route type and that also contains some values that are less-widely accepted, please see Key:route.



    Key Value Element Comment Rendering Photo
    route bicycle relation Cycle routes or bicycles route are named, numbered or otherwise signed. May go along roads, trails or dedicated cycle paths
    Ystadstartingpointcykelsparetostkusten06040011.png
    route bus relation The route a public bus service takes. See Buses.
    EDS-FullLED-Mobitec.JPG
    route canoe relation Signed route for canoeing through a waterway.
    Canoe route lkn.png
    route detour relation Route for fixed detour routes. Examples are Bedarfsumleitung in Germany and uitwijkroute in the Netherlands Zeichen 463 - Bedarfsumleitung (rechts), StVO 1970.svg
    route ferry way relation The route a ferry takes from terminal to terminal Please make sure to add at least one node per tile (zoom level 12), better at least one every few km, so offline editors catch it with bbox requests.
    Route ferry.png
    Ferry.Viking.line.mariella.800px.jpg
    route foot relation Walking Route - is used for routes which are walkable without any limitations regarding fitness, equipment or weather conditions.
    State Foot2.svg
    route hiking relation Hiking explains how to tag hiking routes.
    Hærvejen vandretureskilt.jpg
    route horse relation Riding routes
    Hawick Circular Riding Route - geograph.org.uk - 592357.jpg
    route inline_skates relation Inline has more information on the subject.
    Signalisation Skatingroute.svg
    route light_rail relation Route of a light rail line.
    S-Bahn Berlin Baureihe 481.jpg
    route mtb relation Mountain biking explains how to tag mtb routes.
    Mountain bikers this way^ - geograph.org.uk - 744534.jpg
    route piste way relation Route of a piste (e.g., snowshoe or XC-Ski trails) in a winter sport area.
    Snowshoe trail.jpg
    route railway relation A sequence of railway ways, often named (e.g., Channel Tunnel). See Railways.
    08 tory railtrack ubt.jpeg
    route road relation Can be used to map various road routes/long roads.
    2014-05-16 15 58 16 Sign for Interstate 95 northbound on Interstate 95 in Ewing, New Jersey.JPG
    route running relation For running (jogging) routes.
    Laufarena.at2.jpg
    route ski relation For ski tracks (e.g., XC-Ski Trails User:Langläufer/Loipemap).
    Langlauf Loipe.jpg
    route subway relation Route of a metro service
    Ubahnlogo.svg
    route train relation Train services (e.g., London-Paris Eurostar) See Railways.
    Transports Publics du Chablais - Zuglaufschild - 01.jpg
    route tracks relation Railroad track as rail infrastructure.
    08 tory railtrack ubt.jpeg
    route tram relation See Trams for more information on tagging tram services.
    Cobra3058.JPG
    route trolleybus relation The route of a trolleybus service.
    Trådbuss Landskrona.JPG
    route User defined relation All commonly used values according to Taginfo.

    This table is a wiki template with a default description in English. Editable here.

    Public transport routes

    Main article: Public transport

    All public transport relations feature some combination of the following keys:

    Key Presence Value Comment
    type ! Required route
    route_master
    route
    route_master
    ! Required bus
    trolleybus
    minibus
    share_taxi
    train
    light_rail
    subway
    tram
    ferry

    As public transport is a rather complex and disputed topic in OpenStreetMap, this section is limited to the bare minimum, which also helps with keeping this up to date and avoids conflicting content in the wiki. See Public transport for more info.

    Road routes

    Main article: Key:network
    Main article: :Category:Tag descriptions for key "network"
    route network Description
    road e-road European E-road network
    road AR:national Argentine national roads
    road AR:provincial Argentine provincial roads
    road AU Australian Routes
    road BE:A-road Belgian motorways (autosnelweg, autoroute)
    road BE:B-road Belgian B-roads (bretelle)
    road BE:R-road Belgian ring roads (ringweg, rocade)
    road BE:N-road Belgian N-roads
    road bg:motorway Bulgarian Road Network - motorways
    road bg:national Bulgarian Road Network - national roads
    road bg:municipal Bulgarian Road Network - municipal roads
    road bg:urban Bulgarian Road Network - urban roads in populated places
    road BR Brazilian Federal Highways
    road BR:xx Brazilian state highways, where xx is replaced by a state code (RJ = Rio de Janeiro, MG = Minas Gerais, etc.)
    road by:national [1] Belarusian Road Network - national roads
    road ca_transcanada Canadian Trans-Canada highways
    road ca_on_primary Ontario primary highways
    road CN:expressway China National Expressways - for the provincial expressways of each province in China, use CN:XX:expressway, e.g. CN:SH:expressway stands for the provincial expressways that belong to Shanghai.
    road CN:national China National Highways - for the provincial highways of each province in China, use CN:XX, e.g. CN:SD stands for the provincial highways that belong to Shandong.
    road BAB German Autobahn
    road FR:A-road France motorways
    road FR:N-road France Nationals roads
    road FR:M-road France Metropolitains roads
    road FR:xx:D-road France Departemental roads, where xx is replaced by a department code (75=Paris)
    road GH:national Ghana Road Network - national roads
    road GH:inter-regional Ghana Road Network - inter-regional roads
    road GH:regional Ghana Road Network - minor & major regional roads
    road gr:national Greek national roads
    road gr:provincial:nn Greek provincial roads, where nn is the prefecture's ISO code.
    road HK Hong Kong Strategic Routes
    road HU:national Hungarian expressways and main roads
    road HU:regional Hungarian connecting roads (e.g., secondary roads)
    road JP:national Japanese national roads
    road JP:prefectural Japanese prefectural roads
    road LU:A-road Luxembourg motorway network (autobunn, autoroute)
    road LU:B-road Luxembourg expressway network
    road LU:N-road Luxembourg national road network
    road LU:CR-road Luxembourg regional road network (chemin repris)
    road MX:state Mexico state highway network. Where state is the state index code
    road na Namibian roads
    road NL:A The motorway network in the Netherlands (A-roads).
    road NL:N The non-motorway network in the Netherlands (N-roads).
    road NL:S:city The city route network in the Netherlands (S-roads), where city is the city.
    road NL:R:network The recreational road network in the Netherlands (R-roads), where network is the network name.
    road PH:nhn Philippine national highway network
    road PK:national Pakistan National Highway network
    road PK:motorway Pakistan Motorway network
    road PK:Province Pakistan Provincial or Territorial network (example: PK:Punjab:LRR for Lahore Ring Road. This has it's own network subtag as it is not part of the main Punjab provincial network, and uses the common acronym rather than the name Lahore to avoid confusion with the city of Lahore as an operator)
    road PL:national Polish Road Network - national roads
    road RO:DN Romanian Road Network - national roads
    road RU:national Автодороги России - Russian national roads
    road TR:motorway Turkey road network - Motorways, referenced as O-##
    road TR:national Turkey road network - State roads, referenced as D###
    road TR:provincial:** Turkey road network - Provincial roads, referenced as **:## where ** stands for provincial plate code.
    road UA:national Ukrainian national roads
    road US:I Interstate Highways Relations, USA
    road US:US United States Numbered Highway Relations, USA
    road US:xx State highways in the United States, where xx is the state's postal abbreviation. Many states also have county route networks, and some have several tiers of state-owned roads.
    road VE:T:xx "Troncal" roads in Venezuela, where xx is the state's name abbreviation, according to the INTT's standard
    road VE:L:xx "Local" roads in Venezuela, where xx is the state's name abbreviation, according to the INTT's standard
    road VE:R:xx "Ramal" roads in Venezuela, where xx is the state's name abbreviation, according to the INTT's standard
    road ZA:national South African national roads
    road ZA:regional South African regional roads

    Detours

    route Description
    detour Local detours (used in the Netherlands and Germany). Detours are routes that avoid traffic jams on motorways, usually leading from one exit to the next.

    Cycle routes (also mountain bike)

    Main article: Cycle routes
    Key Presence Value Description
    route ! Required bicycle / mtb Use "bicycle" or "mtb", but not "bicycle/mtb"
    network ! Required for route=bicycle

    ? Optional for route=mtb

    Specify the network as a international route, national route, a regional route or a local route, as per the normal tagging of cycle routes
    icn International cycling network: long distance routes used for cycling routes that cross continents.
    ncn National cycling network: long distance routes used for cycling routes that cross countries.
    rcn

    Regional cycling network: used for cycling routes that cross regions.

    lcn Local cycling network: used for small local cycling routes. Could be touristic loops or routes crossing a city.
    ref ? Optional Official reference The reference number/ID found on signposts etc.
    state ? Optional proposed Routes are sometimes not official routes, pending some negotiation or development. Maps may choose to render these routes differently; e.g., as dotted lines.

    Some examples in use:

    Walking routes (also hiking and pilgrimage)

    Main article: Walking Routes

    Hiking routes are extensively mapped with route relations, and the Waymarkedtrails map will render route relations following this proposal and the osmc:symbol=*

    Hiking routes are rendered for selected areas in Germany in a hiking and trail riding map (German). The tags required for rendering are:

    Key Presence Value Description
    type ! Required route
    route ! Required hiking Typically longer or more strenuous routes, usually on unpaved paths.
    foot Typically easier routes, usually on paved surfaces.
    network ! Required iwn International walking network: long distance paths used for walking routes that cross several countries, for example the Camino de Santiago
    nwn National walking network: long distance paths used for walking routes that cross countries
    rwn

    Regional walking network: used for walking routes that cross regions.

    lwn Local walking network: used for small local walking routes. Could be touristic loops or routes crossing a city
    name  Important Meaningful route name suitable for identifying this route.
    symbol ? Optional Verbal description of the route marker symbols.
    osmc:symbol ? Optional Coded description of the route marker symbols.
    pilgrimage ? Optional yes / no Whether the route is used for pilgrimage. This qualifies the use of a hiking/foot route; as opposed to creating a new route type with route=pilgrimage.

    Inline skating routes

    Main article: Inline skating

    Inline Skating routes have been mapped mainly in Switzerland EN:Switzerland/InlineNetwork and the Netherlands with route relations. Lonvias Skating map will render such routes.

    Key Presence Value Comment
    route ! Required inline_skates
    network ! Required international / national / regional / local Specify the network as a international route, national route, a regional route, or a local route
    ref ? Optional Reference References work best on the map if just the number is used, so for national 4: 4. The network tag correctly distinguishes the type, so just use ref.
    state ? Optional proposed Routes are sometimes not official routes pending some negotiation or development; the map renders these routes as dotted.

    Some examples in use:

    Others

    This is a table with possible route tags being used right now:

    route Description
    evacuation Emergency evacuation routes
    fitness_trail For a fitness trail with extra exercise stations
    horse See also riding
    inline_skates Inline skate routes are named or numbered or otherwise signed routes for inline skating.
    running Used for marked running routes, usually 2–20km, that are used for exercise
    snowmobile For snowmobile routes. Either between two destinations or a collection of routes operated by someone
    taxi See also: route=share_taxi
    trolleybus See bus
    cycling Used for cycling events (like stages of the Tour de France). For (recreational) cycle network use bicycle
    historic Historic routes, such as horse-pack trails used for postal routes, ancient roads, etc. Often parts are lost. Please include an appropriate historic=*-value.
    motorcycle Used for motorcycling events (motorcycle rally, guided tours)
    motorboat Used for recreational motorboat route
    transhumance For long distance livestock paths
    waterway A route via navigable waterways, suitable for commercial shipping or recreational boating
    worship A route along which fixed points of worship are placed, e.g. a via Crucis.

    How to map

    Multiple routes sharing the same ways

    Especially with bicycle routes, often multiple routes run along the same ways for a far distance. There exist so many different bicycle route networks that are operated by different entities that it is not unusual that some of these networks overlap. The EuroVelo routes, for example, use the existing infrastructure in many countries. There are two practices at the moment, if segments of multiple routes share the same way.

    Both practices each have advantages and disadvantages.

    Adding the ways to multiple route relations
    Creating super-relations for routes
    Main article: Superrelation

    At the moment it seems to be practice to create part-relations, if the shared segment is relatively big compared to the total length of a route. For a national bicycle route, 20 km might be a good limit. For shorter parts the single ways might be added to all relations they belong to. (Of course this is only a rule of thumb. Nothing of this is the official way of mapping.) It also might be important how many different way objects a segment consists of in OSM. It might be not very useful to create segments, if the route consists of motorways (as they only contain of a few, long ways), while bicycle routes often go through cities and residential areas where many ways would have to be added if there were multiple relations.

    Another point when deciding which tagging method to use is to find out if the routes use the same ways only by coincidence. Thus, if one route is changed, the other route likely still will be using the old way, so using part-relations would not be appropriate.

    Size

    Common practice is not to create route relations with more than 250–300 members. If you need to create bigger relations, which could happen easily, make several reasonable-sized relations and unite them in a super-relation as mentioned above. Reasons:

    There is also a list of "monster" relations.

    Bus routes and roundabouts

    Bus routes passing through roundabouts are mapped in one of these two ways:

    1. The whole roundabout is included in the route relation.
    2. The roundabout is split and the part used by the bus route is included in the route relation.

    There is no consensus among the OSM community regarding which method is recommended. The choice of method 1 or 2 has no effect on Garmin devices because split roundabouts are re-joined by mkgmap. It is also possible to re-join split roundabouts in Mapnik although this is not done for the rendering of the main map. Software developers should note that if the precise route is required and method 1 has been used, the details will need to be deduced from the positions of the entry to, and the exit from the roundabout; and also from the position of a stop, if the bus serves a stop on the roundabout. (In some cases a bus may make more than one full circuit of a roundabout.)

    Order matters

    For many route relations, members order matters. For instance, an unordered hiking route relation would have a pretty useless, unreadable elevation graph:

    Unreadable elevation graph

    In addition, data consumers may not be able to understand the path to be followed: one way, then another kilometres away, then back to the end of the first way.

    Users editing routes should consequently try to keep them ordered if they are, or order them if they are not. A good hint, for JOSM, is to look at the last column of the members section of the relation editor: if this column has arrows in only one direction, and has no red points between members, then the members are ordered.

    On the other hand, unordered relation members make this column display arrows in both directions, isolated members – segments without arrow and with 2 red dots –, and many red dots at continuity breaks.

    Please be aware of the fact that some editors cannot handle (PTv2-)relations properly and splitting ways may result in unordered relations (e.g. iD-issues: [1], [2]or[3]).

    Step by step guide

    How to create a new route (it is slightly different if you want to add ways to an existing route).

    iD

    1. Before you begin, make sure each way that the route runs along exists and is appropriately tagged (e.g., Foot Path, Busway, Motorway).
    2. Create the route relation:
      1. Select one of the ways (it doesn't matter which one). At the bottom of the left sidebar, under the Relations section, click the + button.
      2. In the Choose a parent relation combo box, press the dropdown arrow and choose New relation….
      3. Open the Route features… group and choose the kind of route. For example, for a bus route, choose Bus Route.
      4. Under the Fields section, fill in the route's details. If you enter an value in the OperatororNetwork field that matches an entry in the Name Suggestion Index, iD will warn you that some tags are missing and offer to fill in these tags.
      5. If the member needs a role such as Role forwardorRole backward, scroll down to the Members section. The sole member way is listed there; enter its role in the field beneath the way's name.
    3. Add more ways to the relation until it is complete:
      1. Select another way. At the bottom of the left sidebar, under the Relations section, click the + button.
      2. In the Choose a parent relation combo box, press the dropdown arrow and choose the relation you created earlier. It should be labeled according to its name, number, or endpoints. If you do not see it in the list, pan the map so that one of the route's existing member ways is within view, or type in r-1 for the first relation you created in this session, r-2 for the second, etc.
      3. If the member needs a role, enter the role in the field beneath the way's name.

    To speed up this process, you can select multiple ways at the same time by holding down Shift. Note that the Relations selection only lists the relations that all of the selected features are members of; if you select multiple ways and one of them is already in a route relation, it won't appear in the list, but adding the selected ways to the relation will cause it to contain one of the ways twice.

    If you want to correct a mistake in an existing route relation, you can follow these steps:

    1. Select the route on OpenStreetMap.org website (the address bar should show https://openstreetmap.org/relation/####)
    2. Zoom in to the place where the first mistake is (without closing the left sidebar)
    3. Click on Edit (or Edit with iD if iD is not your default editor)
    4. Select the way that should not be part of the relation (if there is none and you want to fill in a "hole" in the relation, skip to step 7)
    5. Make sure that the selected way is the segment, that shall be removed from the relation (sometimes only part of it should be removed. If that's the case split it and select the part that needs to be removed from the relation).
    6. Scroll down to the Relations section and press the bin icon that's on the right of the relation that you want to correct.
    7. Select all ways that need to be added to the relation (you may need to split some of them before adding them)
    8. Scroll down to the Relations section and click the + button.
    9. In the Choose a parent relation combo box, press the dropdown arrow and choose your relation.

    Member order

    iD automatically sorts the relation's members in sequential order based on connections among the members. This normally works correctly, but there is a longstanding bug in which iD mangles the order if the route forks, loops, or doubles back on itself and you then split one of the member ways. [4][5] You can avoid this bug by ensuring that the route's members form a linear path.

    If the route is unavoidably nonlinear, you can mitigate the bug by ensuring that iD has loaded all the member's relations before you edit the relation. Here are three methods for ensuring a full download:

    To visually verify the order, select the relation and scrubbing your mouse cursor back and forth over the items in the Members section, observing that the members are highlighted on the map in order.

    Potlatch

    1. Ensure all ways that the route runs along exist and are appropriately tagged (e.g., highway=footway)
    2. Select the first way and click on the second symbol on the right side, which looks like two chain segments.
    3. Select a relation from the drop-down menu, if there is an existing relation in this area that is appropriate. If the existing relation you want to choose is far away, use the search function. Otherwise, select Create a new relation and click Add.
      1. Add a type tag with the value route.
      2. Add additional tags as needed. (Use the + button)
      3. Click OK.
    4. The relation has been added to the way. The grey box to the right of the relation details and to the left of the X is the input field for the way's role within the relation. See the Members section above for details of roles within the route relation type.
    5. Repeat steps 2–4, selecting the appropriate relation (the one just created) in step 3.

    JOSM

    1. Ensure all ways along which the route runs exist and are appropriately tagged (e.g., highway=footway)
    2. Make sure the relation pane (Alt+Shift+R) is open
    3. Select New in the relation pane to create a new relation
    4. Fill in the appropriate tags in the dialogue that pops up, adding at least type=route and preferably name as well with a name for the route
    5. Click OK
    6. Now select some or all of the ways you would like to add to the relation using the normal select (S) tool, then click Edit in the relation pane with your relation highlighted. The relation editing dialogue will pop up
    7. Click Add selection in the relation dialogue to add the selected ways to the relation.

    Navigation on relation:route

    Please list applications here that are able to navigate on an existing relation:route.

    Related proposals

    Notes

    1. ISO_3166-2:BY on Wikipedia.

    Possible tagging mistakes

    Helping tools

    Retrieved from "https://wiki.openstreetmap.org/w/index.php?title=Relation:route&oldid=2694860"

    Categories: 
    Relation descriptions
    Relation descriptions with status "de facto"
    Routes
    Way Direction Dependent
    Disabilities
    Highways
    Hiking
    Public transport
    Grouping relations
    Hidden categories: 
    Pages unavailable in Dutch
    Item with no description in language FI
    Item with no description in language NL
    Item with no description in language HU
    Item with no description in language ZH-HANS
    Item with no description in language ZH-HANT
     


    Navigation menu


    Personal tools  



    English
    Create account
    Log in
     

    Namespaces  



    Page
    Discussion