ES:Relation:route

From OpenStreetMap Wiki
Jump to: navigation, search
Help
Available languages
Deutsch English Español Français Italiano 日本語 Русский
logo route
One example for route
Description
Tipo de relación que se usa para describir rutas de varias clases, mediante un conjunto de miembros y de etiquetas.
Group
Route
Members help
  • Way - (blank)
  • Way - forward
  • Way - backward
  • Node - stop_<number>
  • Node - forward_stop_<number>
  • Node - backward_stop_<number>
  • Node - stop
  • Node - forward_stop
  • Node - backward_stop
Statistics


Una ruta es un recorrido consistente en un conjunto de vías, generalmente predeterminado y de público conocimiento, usado regularmente para el transporte o desplazamiento de personas o mercancías; puede consistir, por ejemplo, en el trayecto de un barco (el ferry Gijón - Nantes), la linea que sigue un autobús urbano, una ruta ciclable o senderista, etc.

Una vía (way) puede estar asignada a varias relaciones route, lo implica que uno, o más, itinerarios diferentes pueden superponerse en algunos tramos.

Por otra parte, hay que tener en cuenta que una vía, a veces, tiene más de una referencia (el número que las nombra); muchas grandes rutas europeas, cuyo nombre comienza por "E", comparten vías con rutas numeradas con referencias nacionales (Por ejemplo, la E-70 comprende la N134 en Francia y la N-330 y la A-23 en España)



Contents


Representación de Rutas ciclistas
Representación de Lineas de autobus
Representación de rutas pedestres

Etiquetas

Clave Valor Explicación
type route indica que esta relación representa una ruta
route road / bicycle / foot / hiking / bus / ferry / detour / train / tram / mtb (mountainbike) / horse / ski una carretera (por ejemplo, las vías que componen la E-5), rutas para bici, rutas de senderismo o cualquier otra (véase también Lista de rutas en uso)
name un nombre La ruta se conoce por este nombre, por ejemplo, "Camino de Santiago".
ref una referencia La ruta se conoce por esta referencia, por ejemplo, "E-70", "L 4" (línea de bus).
network ncn / rcn / lcn / nwn / rwn / ... Una red de rutas más extensa de la que ésta forma parte. Por ejemplo, la red nacional de vías ciclistas del Reino Unido, o la red de rutas senderistas del Parque Nacional de los Picos de Europa (PNPE).
operator nombre del operador La autoridad o empresa que gestiona la ruta en cuestión. Ejemplos: "ALSA", "Eurostar".
state proposed / alternate / temporary / connection A veces, las rutas no son permanentes (temporary): por ejemplo, los desvíos provisionale;, o sólo están propuestas (proposed), quizá por no ser oficiales a causa de algún trámite. Connection se usa para aquellas rutas que sirven de unión entre otras dos, o entre una ruta y, por ejemplo, el centro de una ciudad.Alternate, si una ruta es alternativa a otra.
symbol descripción del símbolo Describe el símbolo que se usa para señalizar el recorrido de la ruta; por ejemplo, las grandes rutas senderistas (GR) están señalizadas con dos rayas cortas paralelas y dispuestas enn horizontal, blanca la de arriba y roja la de abajo.
colour La designación RGB del color" (Opcional) Código de color RGB en format hexadecimal, de uso común en internet. Especialmente útil para las rutas de transporte público. Ejemplo: "#808080" para el gris neutro.
description una pequeña descripción Algo que defina, o diferencie la ruta.
distance distancia (Opcional) La distancia que cubre, si se conoce. Es de utilidad para los usuarios y para ayudar a seber si está completa. Debe incluir la unidad de medida usada y los decimales deben ir separados por un punto (e.g. "12.5km")
ascent ascenso (Opcional) El ascenso, expresado en metros (si se usa otra unidad, hay que especificarla: 600feet).
descent descent (Opcional) El descenso, expresado en metros (si se usa otra unidad, hay que especificarla: 600feet).
roundtrip yes/no (Opcional) Indica si la ruta es circular.

Miembros

Vía o nodo Función Veces que puede aparecer Explicación
Way (vacío)/route cero o más Las vías que constituyen la ruta.
Way forward/backward cero o más Indica que una ruta, o parte de ella, sólo puede seguirse en un sentido. "Forward" significa que la ruta se sigue en el mismo sentido que tiene la vía (las flechas que aparecen en ella cuando se edita) y "backward", que va únicamente en sentido contrario. Ejemplo tomado de un (mapa cilista).
Way north/south/east/west cero o más En EEUU, en las carreteras se señaliza su orientación.
Way link cero o más Enlaces (highway=*_link) a y desde la ruta (véase highway=motorway_link)
Node stop:<número> cero o más Una parada de autobus, o apeadero de tren que formen parte de la ruta. La numeración debe empezar en cero; esto no influye en el orden de las paradas en la API v0.6 (sólo hay que usar role=stop y ordenar las paradas en la relación.
Node forward/backward:stop:<número> cero o más Una parada de autobus, o apeadero de tren que formen parte de la ruta y que sólo sea usada en un dirección. "Forward" significa que la ruta se sigue en el mismo sentido que tiene la vía (las flechas que aparecen en ella cuando se edita) y "backward", en sentido contrario. esto no influye en el orden de las paradas en la API v0.6 (sólo hay que usar role=forward/backward_stop y ordenar las paradas en la relación.
Node stop cero o más Una parada de autobus, o apeadero de tren que formen parte de la ruta.
Node forward/backward:stop cero o más Una parada de autobus, o apeadero de tren que formen parte de la ruta y que sólo sea usada en un dirección. "Forward" significa que la ruta se sigue en el mismo sentido que tiene la vía (las flechas que aparecen en ella cuando se edita) y "backward", en sentido contrario.

Route Relations in Use

Public Transport Routes

Bus Routes (also trolley bus)

Main article: Buses
Key Value Comment
type route (mandatory)
route bus
trolleybus
share_taxi
(mandatory)
ref Reference The number by which the route is known to the public: 4, 4A, X13, IR 3114 etc (recommended)
operator operator Name of the company that operates the route e.g. Deutsche Bahn AG, Connex, Interconnex usw.
name Individual Name The name of the route or line e.g. "Orient Express" "Thalys" (optional)
network local/ regional network Name (Abbr.) of the network e.g. BVG, RMV (optional)
wheelchair yes / no / limited Indicates if the buses on the route are equipped with ramps or elevators for wheelchairs. (optional)
colour ex: red / #FFEEDD The "official" colour for the bus route. identifiers in some cities. (optional)


öpnvkarte and openstreetbrowser.org render public transportation routes.

Some examples in use:

Railway routes (light rail, metro, mainline, monorail, etc.)

Main article: Railway

Railway routes can both be used to describe a particular part of the infrastructure that known by a distinct name (for example East Coast Main Line) or for a railway service which is identified to the public with a particular identifier or name (such as the Orient Express). Discussion on tagging for different purposes is taking place on talk transit (Aug09).

Key Value Comment
type route
route train
subway
ref Reference The number of the line e.g. IR 3114
operator operator Name of the company that operates the route e.g. Deutsche Bahn AG, Connex, Interconnex usw.
name Individual Name Only if there is a special name of the route or line e.g. "Orient Express" "Hammersmith and City" (optional)
network local/ regional network Name (Abbr.) of the network e.g. BVG, RMV (optional)
wheelchair yes / no / limited If the trains on the route are equipped with ramps or elevators for wheelchairs. Note that even if the trains are that the not all stations on the route may be suitable, or not all platforms may be accessible (optional)
colour ex: red / #FFEEDD If the railway route has an "official" colour, for example metro lines in some cities. (optional)

Route relations could also be used to designate railway lines that are operated by one (perhaps more) train operators. Some examples can be found at Open Rail Map/NL.

öpnvkarte and openstreetbrowser.org render public transportation routes.

Some examples in use:

Tram routes

Main article: Trams
Key Value Comment
type route
route tram
ref Reference The number of the line e.g. IR 3114
operator operator Name of the company that operates the route e.g. Deutsche Bahn AG, Connex, Interconnex usw.
name Individual Name Common name "Orient Express" "Thalys" (optional); "Line 4" is not a name but a ref, so ref=4 should be used
network local/ regional network Name (Abbr.) of the network e.g. BVG, RMV (optional)
wheelchair yes / no / limited If the trams on the route are equipped with ramps or elevators for wheelchairs.
colour ex: red / #FFEEDD The tram, subways and buses might have "official" colour identifiers in some cities.

öpnvkarte and openstreetbrowser.org render public transportation routes.

Some examples:


Other Routes

Road Routes

route network Description
road e-road European E-road network
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 BAB German Autobahn
road ca_transcanada Canadian Trans-Canada highways
road ca_on_primary Ontario primary highways
road pl:national Polish Road Network - national roads
road by:national [1] Belarusian Road Network - national roads
road BR Brazilian Federail Highways
road BR:xx Brazilian state highways, where xx is replaced by state code (RJ = Rio de Janeiro, MG = Minas Gerais, etc.)
road bg:national Bulgarian Road Network - national roads
road ja:national Japanese national roads
road ja:prefectural Japanese prefectural roads
road za:national South African national roads
road za:regional South African regional roads
road na:national Namibian national roads


Some examples in use:

Cycle routes (also mountain bike)

Main article: Cycle routes

Cycle routes are extensively mapped with route relations, and the OSM cycle map will render route relations following this proposal.

In general it is probably a good idea to add the tags: "type => route" and "route => bicycle" (or "route => mtb"). However, the cycle map will still render a route if they are not present.

The following tags are used in rendering:

Key Value Comment
ref a reference (optional) NCN, RCN, and LCN references work best on the map if just the number is used, so for NCN 4: "4". The network tag correctly distinguishes the type, so just use "ref" and not "ncn_ref" or similar.
network ncn / rcn / lcn Specify the network as a national route, a regional route, or a local route, as per the normal tagging of cycle routes
state proposed (optional) Routes are sometimes not official routes pending some negotiation or development -- the map renders these routes dotted.


route network Description
bicycle ncn National cycling network: long distance routes used for cycling routes that cross countries
bicycle rcn Regional cycling network: used for cycling routes that cross regions

In Belgium and the Netherlands this is used for the cycle node networks

bicycle lcn Local cycling network: used for small local cycling routes. Could be touristic loops or routes crossing a city


Some examples in use:

CycleLayer2.png
An international cycling map created from OSM data is available, provided by Andy Allan. The map rendering is still being improved, the data is updated every few days. It shows National Cycle Network cycle routes, other regional and local routes, and other cycling-specific features, such as:
  • dedicated cycle tracks and lanes
  • bicycle parking
  • contours and hill colouring
  • bike shops

http://www.opencyclemap.org/

Lonvia's Cycling Map by Sarah Hoffman is an overlay which shows marked cycle routes around the world. It is updated daily.

Walking routes (also hiking and pilgrimage)

Main article: Walking Routes

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

The tag route=hiking is frequently used synonymously with route=foot.

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

Tag Description

type=route

route=foot or
route=hiking or

name=*

Meaningful route name suitable for identifying this route.

symbol=* Verbal description of the route marker symbols.
osmc:symbol=* Coded description of the route marker symbols.


route network Description
foot iwn International walking network: long distance paths used for walking routes that cross several countries, for example the Camino de Santiago
foot nwn National walking network: long distance paths used for walking routes that cross countries
foot rwn Regional walking network: used for walking routes that cross regions

In Belgium and the Netherlands this is used for the walking node networks

foot lwn Local walking network: used for small local walking routes. Could be touristic loops or routes crossing a city

Some examples:

Detours

route network 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.

List of route types in use

This is a table with possible route tags being used right now: (see also OSMDOC)

route Description
bicycle
bus bus routes over ways
canal inland waterway routes for motorboat, barges ... members are Way waterway=river or waterway=canal
detour a named, permanent detour
ferry ferry routes over water
fitness_trail for fitness trail with extra exercise stations
foot
hiking
horse
mtb (mountainbike)
pilgrimage The pilgrimage routes are tagged as hiking or bicycle route, with pilgrimage=yes and religion=*.
See for example Camino de Santiago and EV3. See also Category:Pilgrimage.
piste Proposed for the routes of pistes (e.g. snowshoe or XC-Ski trails) in winter sport areas.
power where power lines use the same towers (the same way)
railway
road long roads with a common name or ref. e.g. a european motorway made up of many segments of national motorways
roller_skate
running
ski For ski tracks (e.g XC-Ski Trails User:Langläufer/Loipemap)
taxi See also: route=share_taxi
tram A tram service. See trams.
trolleybus See bus
cycling Used for cycling events (like stages of the Tour de France). For (recreational) cyclenetwork use bicycle
please add here

Step by step guide

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

Potlatch

  1. Ensure all ways which 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, if there's an appropriate existing one in this area. If the existing relation 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 is 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 which the route runs along exist and are appropriately tagged (e.g., highway=footway)
  2. Make sure the relation pane (Alt+R) is open
  3. Select New in the relation pane to create a new relation
  4. Fill in the appropriate tags in the dialog that pops up, at least type=route and preferrably name as well with a name for the route
  5. Click OK
  6. Now select some or all of the ways you'd 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 dialog will pop up
  7. Click Add selection in the relation dialog to add the selected ways to the relation.

Mapping practice

Multiple routes share the same path

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

Both practices each have different advantages and disadvantages.

Adding the ways to multiple relations

Creating super-relations

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 might also be important of how many different way objects a segment consists 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 to decide which tagging method to use is to find out if the routes only use the same ways by coincidence. Thus, if in the case that one route is changed, the other route will likely still be using the old way, using part-relations would not be appropriate.

Notes

  1. http://en.wikipedia.org/wiki/ISO_3166-2:BY

Helping Tools

Personal tools
Namespaces
Variants
Actions
site
Toolbox