Node Networks

From OpenStreetMap Wiki
Jump to navigation Jump to search

(Work in progress)

This page about Node Networks describes the current practice in the Netherlands. Other communities may, and probably will, have different practices. Node Network mapping is still very much in development. History and reasoning behind choices are described to help people make up their minds about these matters.

If you just want to know how it's done, Jump to the tagging instructions!

What is a node network?

Basics

Cyclejunctionnetwork.png

Prototype: A node network consists of marked junctions called Nodes, and Routes interconnecting the nodes. On the road, every node is marked with a number, code or name, and it has pointers to adjacent nodes in different directions. Put differently, two adjacent nodes always point to each other, which defines the route between these two nodes. In between the nodes, the route is waymarked in both directions with arrows or a symbol, often without the Node labels. The symbol is the same for all the routes in an network.

The node network concept can be confusing if you think of routes as e.g. waymarked hiking trails each with its own symbol. You'll have to rethink to make sense of the network routing structure, where you piece node2node piece sections together to make your own unique trip over the network, using the network nodes as labeled waypoints.

For example, in Germany many foot networks use the Yellow Diamond ("Gelbe Raute") as the symbol for a walking network. All routes are waymarked with the same symbol, which doesn't make sense until you understand the network structure: the symbol leads you to the next node, there you choose the next section.

Note that many variants and styles are used 'in the field'.

Node networks are mainly used for recreational purposes. One finds an area of interest, plans a trip within the network or interconnected networks, and writes or prints a list of Nodes to follow. Of course, this process is increasingly digitized with planner sites, planner apps, gpx output, rendering apps and navigation apps.

Variants

Most node networks use numbers as labels. Variants include using letters, codes or names instead of numbers, or different colour markings on the node2node routes. Arrows and pointers may be replaced with strategically placed signposts, so the user has to look around to find the path leading to the next node on the list. This makes no difference when planning a trip over the node network. Planned trips in the end consist of a chain of numbers, codes or names to follow.

A particular variant uses coloured routes to connect the network nodes. On the road, you cannot choose the next number, you choose which colour to follow. The trip planner has to add this colour information to the user output.

A less useful variant is a node network by design, but on the road no destination nodes are indicated at the network nodes. To make a choice, the user needs external information, e.g. a map showing paths and nodes, or a gpx, or a node strip indicating the direction. Typically, after some time the operator is made aware of the user problem, and adds a way to recognize the different directions at the nodes.

In Germany and France, many walking node networks exist using node names instead of node numbers. Because most networks use numbers or codes consisting of a letter and a number as node labels, these networks were only recently (2020) recognized as node networks. The tagging scheme, maaintenance tools and planners are adapted (2021) to accommodate named nodes.

Transport modes

Different transport modes are supported. New transport modes can be added as they appear on the road. The transport modes are indicated by tags in the route relations, in the network relations and on the numbered network nodes. A letter is used to indicate the transport mode: w Walking, c Cycling, h Horse, i Inline skating, m Motorboat, p Paddling (e.g. canoe). This is the same as for regular (non-node_network) routes.

A specific transport mode may require special or additional tagging. For example, bicycle node networks require intricate handling of route differences according to the direction. The existing route tagging system, using forward and backward roles to record both directions in one relation, is therefore accommodated in the node network system, independent of transport mode.

For canoes and motorboats, waterway depth vs vessel depth is important, and lowest obstacle vs heigt of the vessel is even more important. This area still needs some work. Probably extra detail tags will be proposed to hold that information. This is comparable to the colour tag providing extra detail about the route. In software this can be generically handled: if the extra tag is there, it is handled in the same way, no matter what the transport mode is.

The tagging in principle even supports multimode trip planning, but currently (2021-04) no applications offer this capability.

Geographical scope

The tagging system supports the same geographical scopes as regular recreational routes: l for local, r for regional, n for national and i for international. Currently, only two scopes, l and r, are in use for node networks. The Dutch and the Belgians use r for all node networks, because the extent of the networks tended to be regional. The Germans and the French however, tend to use regional scope for cycling networks, but local scope for walking networks, because for cycling the nodes and routes tend to be regional, while for walking the nodes and the node2node routes are generally local. National and international node network routes are not currently known, but if they arise, they can be accommodated. Other scopes, e.g. intercontinental or (why not) interplanetary, would require a new scope indicator, say g for global, s for solar system, and tools and applications would need to adapt to handle these scopes.

Interconnecting networks with different scopes is still a challenge, which will be addressed in the near future.

Implementation styles

Waymarking on the road or waterways may differ between regions, and may require some getting used to when following the routes on the road or water. Many cycle networks use separate posts and shields for the node2node route waymarking, where walking networks often use simple stickers and small shields on landposts, street furniture and trees, or combined with regular route symbols on multipurpose shield posts. Some give the next node number on every shield, some just use an arrow or shield without a number. In Germany and France, many operators have integrated all waymarking and direction-pointing systems for a particular transport mode into one system of numbered signposts and shields for all purposes. In Nederland, boat networks and canoe networks use each others nodes, but distinguish the vessel types by a colour code. Horse riding networks in Nederland often do not show destination nodes at all.

The pictures above shows a style using metal shields, where the colour, size and an icon indicate cycling or hiking, and the shields show the direction and the node number you will reach next. The boat node example shows the use of colours to differentiate between the types of boat.

Different topological styles may be found as well. Some operators use end nodes (1 route) or middle nodes (2 routes) at POI's, some don't. Some operators have non-numbered route splittings, where you would expect a netwok node but there simply isn't one. Some operators use intermediate network nodes when there are alternative ways to connect two network nodes; some simply allow two routes between a set of nodes. Some have loops on a single node. Some use a single number when choice points are close together; others tend to assign node numbers even when the nodes are only 15 m apart.

The tagging scheme accommodates all those variants, and is versatile enough to allow further variants without changing the basics.

Network maintenance

Node networks are maintained on the road by various (and often changing) operators. Most operators have their own network maps and sometimes a planner site or app. OSM uses the nodes and routes as found on the road and in the field. In The Netherlands, mappers are allowed to use the Wandelnet node route planner https://wandelnet.routemaker.nl/routeplanner/wandelen as a source for the very detailed walking node network covering almost the whole country.

Sources of data

Survey is of course the most valuable source. Other sources may help. Operators may provide their data as open data (Odbl, CC-BY-SA or comparable). This allows mappers to use that information for OSM. In The Netherlands, mappers are allowed to use the Wandelnet node route planner https://wandelnet.routemaker.nl/routeplanner/wandelen as a source. Both the Wandelnet data and OSM are (2021) well underway to complete coverage for the Netherlands. Missing parts are still work in progress on the road, but OSM mappers now pick these sections up in a matter of weeks. No matter the source, in the end maintenance will always rely on survey, because there is no easy way to signal and process individual changes which may or may not be in the OSM database already. Automated synchronization is impossible because of the completely different GIS systems used by source databases.

History

Node networks started out as separate cycling networks in Belgium, soon copied by The Netherlands. Later different networks interconnected and the system was also applied to walking. Nowadays, for cycling in Nederland, the whole country is one big node network; the walking network is almost covering the country, and node networks for horse riding, motorboat, canoe and inline skating are being rolled out. Other countries follow this development.

The basics of OSM-tagging of node networks came from a discussion on talk-nl in September 2008, and it was fleshed out in the months after that. Since then, many things have changed but the basic modeling system is the same. This development is still going on: e.g. the tags for canoe and motorboat node networks were added in 2018.

Tagging principles

This page gives the reasoning and the essentials for all node networks. It explains how we arived at the current data model. Details for a particular type of node network can be found on various tagging pages. Variations and rules for particular countries should be described on localized pages.

Cyclejunctionnetwork.png

Tagging is based on the following real-world observations:

  1. a node network encompasses a limited geographic area and usually has a name, an operator, a symbol, and other specific attributes
  2. a node network is a signing and routing system for planning trips and navigating along the planned route.
  3. the physical elements indicate but are not the same as the network elements. The tagging is designed for routing and trip planning, not for exact location.
  4. node networks tend to grow and connect to surrounding networks, so they tend to merge into larger networks
  5. networks have numbered, coded or named junction nodes. The numbers and codes are not unique id's; they are often repeated even within a network. Node names tend to be unique within a network.
  6. signs at the junction nodes may or may not show the name of the network or the operator, even if there is one.
  7. there are signs and markings at and between the junction nodes, indicating how to proceed to nearby junction nodes. Within a network, one style and one symbol is used for all elements.
  8. networks connect to other networks in two ways: 1. A node belongs to two networks; 2. a route connects 2 nodes which belong to different networks
  9. routes, in particular cycle routes, can follow different roads depending on the direction of travel. This can occur due to oneway streets, cycle lanes on both sides of streets and roundabouts with split ways
  10. junction nodes can be "split nodes", with multiple identically labeled signs or poles at a short distance from each other (usually less than a few hundred meters)
  11. sometimes node2node routes join/separate some distance from the actual node. The way(s) between the split/join location and the node then belong to more than one node2node route. This may or may not be within visual distance, which means in some cases the join/split point is not at the node junction.
  12. some routes do not connect nodes. They may connect to a city centre without nodes or to a ferry. They are more like approach routes.
  13. some of these approach routes join the network in the middle of another route, without an official node.
  14. Additional attributes have to be considered for routing, such as access tags on roads, minimum clearance for boats, conditional access, oneway tags for cycleways or implicit cycling lanes.

The objective was and still is, to make the node networks routable and planner-ready, and renderable as special networks, different than regular cycling, hiking, horse, canoe, motorboot and inline skate routes. So we are building a model for data use, while staying as close to the real world as possible. This can be compared to the way roads are mapped and connected as linear features to enable routing, while in reality they are areas.

The system should be extendable to accommodate new transport or sport types (r*n); node networks of smaller or larger scope (l*n, r*n, n*n, i*n) and different network types (network:type=*), e.g. hierarchical grid or destination based networks

The system should also be scalable without a hard limit to cope with the possibly very large number of elements involved.

This has been achieved as follows:

  1. Not the actual physical features (poles, signposts, arrow stickers and roads) are mapped and tagged, but the node2node routes and the intersections of the ways of the node2node routes.
  2. Junction nodes are tagged with network:type=node_network and with the node number or code as STn_ref=* (where T indicates the transport mode: w for walking, c for cycling, h for horse_riding, i for inline_skating, p for paddling e.g. canoe, m for motorboat; S indicates the scope: l local, r regional, n national and i international). Since 2021 named nodes are allowed, tagged as STn_name.
  3. The intermediate waymarks are not tagged as features, because they just indicate the route i.e. which ways to put in the route relation.
  4. Each bidirectional node-to-node connection is a separate <transport mode> route relation, tagged as usual with route=<transport mode>, network=STn and additionally network:type=node_network and ref=*. The ref tag holds the reference of this short route: ref=mm-nn where mm and nn are the STn_ref numbers of the end points. By convention, mm is the lowest node number and nn is the highest ref node number; mm and nn may be short codes instead of numbers but no more than 3 characters. When node names are used, the ref is not required and the route name is tagged as name=<nodename1>-<nodename2> or name=<nodename1> - <nodename2>. Note that the low2high sorting convention is not required for routing and rendering, but many mappers find that it helps with the maintenance.
  5. For each node network a relation of type=network is created and tagged with network:type=node_network and optional name=*, operator=* and other details. The members are: all the nodes and route relations of the network. Note that for rendering and routing this network relation is not required! It is tagged with network information and it is used for OSM network checking and maintenance.
  6. New nodes and node2node routes may be added to a network relation at any time when the network is expanded or changed.
  7. Merging networks means moving all nodes and routes from one network relation to the other, then delete the empty one and adjust the merged network (name, operator, remove the roles from duplicate connecion routes and remove duplicate routes.
  8. The name of the network or the operator, if present on the physical junction nodes, goes on the network relation and is optional. The routing function does not require names or operators for any element of the node networks.
  9. Nodes and node2node routes belonging to different networks are added to both network relations and get the member role "connection" in both.
  10. Connection routes and connection nodes are added to both network relations, with the member role "connection".
  11. From 9. and 10. it follows that a connection route has one end node in one network and the other one in a different network. Also that a connection node must head/end at least one route in each of the networks the node belongs to.
  12. The node2node routes can be different for the two directions, in particular cycle routes. This is handled by using split nodes. If node2node routes with split ends land on a roundabout or complicated junction, additional nodes are tagged as network nodes with the same node numer, so that each split end lands on its own node. All the nodes have the same number and are interconnected with one or more short routes to enable all connections for all directions. Often in these situations, multiple signposts with the same node number are present around the junction.
  13. (rarely used) Waymarked approach routes connecting a node or a regular node2node route to a city centre or to a ferry, are tagged with "state=connection". They are added to the network relation without a role. The ref is not precisely defined. For a node2city or node2ferry connection ref="mm-" may suffice. For a route2city or route2ferry connection, "mm_nn-". Take care not to put a lengthy description in the ref; use description=* for that.

Integrity and maintenance of the OSM network representation

  • The sheer numbers of nodes and node2node routes relations make it impossible to check these networks manually.
  • The networks change much more than long distance routes do.
  • Routes and connections are easily broken by editing mistakes, mapper misunderstanding or software validation errors.
  • Therefore, error detection and consistency checking is critical for the maintenance of the node networks in OSM. The system should enable tooling for this.

Knooppuntnet Analysis has been designed to perform integrity and quality checking on a node networks and node network elements. The results are presented by network as "facts" with direct edit links to OSM/Id and JOSM.

In addition to the regular tagging above, extra tagging can optionally be used for very tight maintenance. This includes:

  • Entering Start and End nodes as members into the routes. This should match the ref (or, in case of namd nodes, the name tag). When editing, this is a simple visual aid to avoid numbering errors that are easily made.
  • Tag expected_STn_route_relations=* on network nodes. On the road at a network node, count how many adjacent nodes of the same scope and transport type it refers to. If one route is forgotten, deleted or not yet entered, value of expected_rXn_route_relations will differ from the actual route count. Knooppuntnet will detect that.
  • When editing a network node in JOSM in the network style for your transport mode, the expected_STn_route_relations tag value should match the number of routes you see landing on the node. When the nodes have been entered as members into the relations, you can easily see in JOSM how many relations the node is a member of, compared to the expected_STn_route_relations tag.

Recent developments

  1. network=**n tag on nodes is no longer required At first, network=r*n was tagged on the nodes. Network in this tag means the combination of range (local, regional, national, international) and transport mode (cycling, walking, horse, motorboat, inline_skates, paddling) and it was used for linear, circular and mixed topology routes. When rwn node networks arose, the problem was that the nodes often coincided for both rcn and rwn networks, but you couldn't add a second network tag. However, since the transport type is also present in the r*n_ref tag, one didn't need the network=r*n tag anymore for the nodes, and it was dropped.
  2. The "collection" relation which could hold a national collection of type=network relations as members, no longer exists. This system never took hold, and it has no support with data users.
  3. network:type=node_network has been added recently. Before, the network=r*n tag (regional scope) was (ab)used to designate routes and nodes as node network elements in Nederland and Belgium. This meant that Nederland and Belgium could not use r*n for truly regional routes. When node networks started to appear in Germany, this became a problem, because Germany has many truly regional routes. This problem is now over. All node networks and elements have received the extra tag. Major renderers have implemented special rendering for node networks based on this tag, and Nederland and Belgium now have regional routes not obliterated by node network routes.
  4. note=* and name=* have been replaced by ref=*. Before, mappers used name=*, note=* and ref=* to hold the reference of the routes. This still can be found in many places. Nederland had first chosen note=* and used that consistently. Later it was recognized that the note tag is meant to hold notes for mappers, not references of objects. Real notes had been placed in tags like comment=*, description=*, remark=*. After discussions and some preliminary double tagging for testing, Nederland has moved all note=mm-nn to ref=mm-nn, for all Dutch node networks. While the use of ref for this purpose is not entirely undisputed, it is certainly better than name=* or note=*. Note that from an informational point of view, the tag is redundant as the routes connect two nodes tagged with the numbers. Recently (2021-04), for named nodes the use of the name tag has been revived in Germany and France.
  5. The order low > high rule is no longer considered mandatory The node2node route relations are supposed to be ordered from the low number node tot the high number node. This is neat and handy in a listing and when searching, but it is not necessary for the use of the network. Most mappers like the lo2hi order, some think it unnecessary maintenance work. In knooppuntnet, the check is still performed and reported as a warning, but it no longer counts as an error. An unordered route, however, is considered an error, but in 2021Q3 this will probably change to warning.
  6. Admin_level based network maintenance, in addition to network based maintenance. The network relation is not useful for planning, routing or rendering. It is useful as a named administrative collection in checking and maintenance though knooppuntnet. In 2020 a pilot started to see if administrative areas (country, province, municipality) can be used to navigate and maintain the node networks in the area. The driving force behind this is that small named networks with no or just a few connections, tend to grow and merge. Eventually the whole country is covered by one big network. While it is possible to cretae such a large network relation, it can hardly be maintained or used. The network relation system is not scalable and flexible enough to keep up. It's no longer worth the effort. Knooppuntnet has checks based on the membership of network relations, known as the "Orphan checks". If all elements should be in a network relation, then if you find an element tagged as a network node or route that is not in one, you have an error. The other way around, if a route or node is in the network and does not have the required tagging, there is an error. Also, checks are done that connection routes are in two adjacent networks. However, because all elements are now tagged with network:type=node_network, much of the orphan checks and connection checks are mainly checking if there is a network relation, not if the connections and nodes form a consistent network altogether. This is still very usefull when node networks are indeed separate networks, but it becomes increasingly difficult when networks grow and merge. On many occasions, the information about (former) network boundaries is simply no longer available. For the moment (2021) the two systems will coexist, and the network relations are considered required. Larger scale testing shows that routing, planning, checking and maintenance can be done without network relations, but the coexistence of the two systems still requires some development.
  7. The "tentacle model" for expert tagging cycling networks now has an easier alternative This model was used to solve cases where split-end cycling node routes land on / depart from duplicated nodes. The model was too complicated for most mappers, and required some intricate preprocessing. In this document, we introduce more practical alternatives that will solve most cases. The "tentacle model" is still supported by Knooppuntnet (2021).
  8. Named Nodes are used at several locations in Germany, France and Switzerland. The guideposts represented by the network nodes have names as references, and the node2node routes are named after the nodes. A simple tagging solution is available to model this, introducing the **n_name=<name> tag for the network nodes, but rendering support and planner support are needed to accommodate this. See the proposal. We are still (2021) working on this, while Knooppuntnet tests solutions and code.
  9. Operators are increasingly using special cases, such as end nodes e.g. for a parking or ferry terminal; loops starting and ending on the same node (excursion); split points which have no node number because they never act as a destination. As long as these creative solutions work on the road, OSM will have to support it.
  10. The expected_**n_route_relations will be simplified in 2021. Currently, it does not count routes tagged with state=alternate or state=connection. This exception will disappear, mainly because these routes have become very rare. They are still valid though, but the integrity checks no longer treat them as exceptions. This means that if they are used, the mapper has to count them in for the expected_**n_route_relations value.


Tagging instructions

Although in theory node networks could be defined at local, regional, national and international scale, currently all node networks in The Netherlands and Belgium are still defined as regional (network=rXn), with the exception of one lwn network used for development and testing. In this tagging instruction we will assume regional scope, and use c for cycling to explain the tagging. For other transport types, use w for walking, h for horse, p for paddling (canoe), i for inline skating instead of c for cycling, in these tags:

(A) Node tagging

The node you tag is not the physical feature (pole or post), but the intersection of the ways making up the node2node route relations. In other words, the junction node is the intersection node that the routes "land" on. This node links two routes together when planning a trip over the node network. This ensures that a trip is a continuous chain of ways to follow.

All junction nodes in the node network are tagged as follows:

Key Value Comment
rcn_ref * reference'*' (Mandatory, unless a rcn_name tag is present) The reference number or code of the junction node. Can be found on or inferred from the signage on the road. Often a 2 digit number, sometimes a three letter code.

If the node is also a member of another network, e.g. rwn, or lcn, just add rwn_ref=* or lcn_ref=* tag. Boating networks often use the same nodes for canoes and motorboats. Note that c currently (2021-04) includes mtb and e-bikes, and m includes several categories of small recreational motorboats.

When the node is not an actual node but a 'split/join point' without a node number, enter '*' as the special value. Note that the **n_ref=* tag in itself does not imply that the node is part of a node network. Non-node network **n_ref tags do in fact exist.

rcn_name * name'*' (Mandatory for named nodes) The name of the junction node. Can be found on the signage on the road. Often derived from a nearby landmark or POI.

If the node is also a member of another network, e.g. rwn, or named node lcn, just add rwn_ref=* or lcn_name=* tag. Boating networks often use the same nodes for canoes and motorboats. Note that c currently (2021-04) includes mtb and e-bikes, and m includes several categories of small recreational motorboats.

network:type node_network (Mandatory) This tag defines the node as a node network junction. Note that this tag does not contain the network, i.e. the transport mode and geographical scope. If the same node is used with different **n_refs, the network type is valid for both. If in the future other network:types arise, you will need to create a dedicated node per network:type.
expected_rcn_route_relations*
count (optional) can be set to the number of rcn relations ending/starting at this node (junction). This can be used to facilitate (automatic) checking for missing routes. The count should include route relations tagged with state=connection or state=alternate. Connection routes, which are in two network relations with the role connection, are regular routes and do count.

If the node is also a member of another network, e.g. rwn, just add an expected_rwn_route_relations=n tag.

* For other transport modes, replace c with w for walking, h for horse, p for paddling (canoe), i for inline skating. For other geographical scopes, replace the first r with l for local, n for national, i for international.

Split/join points without a node number, code or name are entered as network nodes with a **n_ref value of '*'. No routes should end or begin at this node.

Note that each route should contain (implicitly or explicitly) only two network nodes: the start node is the first node of the first way in de relation, the end node is the last node of the last way in the relation. There are two exceptions to this rule:

  1. Extra nodes tagged with **n_ref=* and network:type=node_network are allowed as startpoint or end point of a way. This allows for split/join points without a node number.
  2. Extra network nodes are allowed if they carry the same number (**n_ref) or name (**n_name) as one of the end nodes. This allows for the advanced tagging of "split nodes" (cluster method, closed loop method, and the older 'tentacle' method) as explained below.

(B) Route relation tagging

The routes that make up the network by interconnecting the network nodes, are type=route relations:

Key Value Comment
type route (Mandatory)
route bicycle (Mandatory) or foot, hiking, horse, inline_skates, canoe, motorboat, mtb, running if a node network is found for the type of transport or sport.
network rcn (Mandatory) or rwn, rhn, rin, rpn, rmn. Note that c currently (2021-04) includes mtb and e-bikes, and m includes several categories of small recreational motorboats.
network:type node_network (Mandatory) This defines the route as a route in a node network (node2node route)
ref mm-nn

Amm-Znn

(Mandatory, unless at least one of the nodes is a named node) This tag is the identification of a route. It is composed of the lowest node number of the route, a hyphen and the highest node number of the route. The lower number is conventionally put first to allow for finding it back easier in a sorted list. When the nodes have three-letter code refs (often simply the number prefixed by a capital letter), the routes still follow this convention.

ref value may be a semicolon-separated list. Node network applications are expected to use only the first (mandatory) section up to the first semicolon.

(note) (mm-nn) Amm-Znn (Deprecated) (The note tag should not be used for this purpose any more. Use the ref key instead. However, the note key is still (2021-04) in use in some countries for this purpose.)
state state do not use this for regular routes. Values for state are:

(optional) "connection" if a waymarked node route connects a POI or a city's center to the network (or)
(optional) "alternate" if this is a waymarked alternate route between adjacent junctions; it could be a shortcut or just another way to travel between the network nodes e.g. in case of high water

Note that the tag state=connection on a route is rare, and very different from the role connection for a regular node2node route in two network relations.

Additional
colour colour

colour-colour

colour;colour

(optional; sometimes necessary) Use a colour tag when route choices are identified by a colour.

In some node systems, the arrows do not indicate the adjacent node by number, code or name, but by colour. This typically happens when the node network is created on top of a system of coloured loops, a quite common event. The user of an application then needs to know the colour, not the number. Some implementations use the node labels and the colours, combining the best of both worlds. Some systems use colour to indicate which subtype of transport can use the route, e.g. an open low motorboat vs a closed motorboot needing higher clearance. This information can be recorded in the colour tag.

A route can have a single colour, e.g. colour=purple. If two-coloured symbol or sign is used, enter the two colours separated by a hyphen, e.g. colour=white-red. If the route (node2node section) can be followed using more than one separate colour, enter the colours or combinations as a semicolon-separated list, e.g. black;white-red;yellow.

Note: If two networks use exactly the same route, you will have to create the route relation for each network separately. The two route relations will differ at least in the network=* tag and the route=* tag.

Motorboat network routes

Special tags may be helpful to provide information for access and planning. Colour is sometimes used by the operator to denote boat types in the route. You can use the colour tag to map that.

When a canoe network uses the same nodes as motorboats (besides its dedicated nodes), routes will be duplicated exactly in two networks. The only difference is one letter in the network=* tag value: rmn vs rpn. In that case, '; motorboat' may be added tot the ref of the motorboat and '; canoe ' to the ref of the canoe route. This is the convention in The Netherlands.

It is described here.

Remark

Other regional routes also have the network=rXn key. The key network:type=node_network distinguishes the node network routes from other regional routes.

Route relation members

  • Required: The chain of all ways making up the route between the two junction nodes, sorted, starting (conventionally) at the node with the lowest number. Most node network use single strand routes, the ways for both directions are exactly the same. Especially in cycling routes, the two directions may use different ways, indicated with forward/backward roles as described in detail here: Tag:route=bicycle#Members . In fact, these relations contain two routes which may share some ways. When combined with split nodes this requires some intricate tagging. This is explained in the 'advanced' sections below.
  • Optional: The numbered network nodes themselves, the lowest numbered node first, the highest last. This provides a visual control when editing: the ref tag should contain the same nodes as the member list in the same order. Automated integrity checks do not need this information, because the nodes are already in the first and last ways. No role needed.
  • Optional: Nodes tagged information=guidepost, with the role 'guidepost'. This is allowed in regular recreational routes and it is allowed here as well. There is debate about the use, but some countries have consensus to do this so it is supported.


(C) Network relation tagging

One relation for each node network is created. This relation holds and describes all elements of the network.

Key Value Comment
type network (Mandatory) Denotes that this relation is a collection of all junctions and routes making up the network.
network rXn (Mandatory) Denotes that this is a regional network for transport mode X, where X=c for cycling, w for walking, h for horse, p for paddling (canoe), i for inline skating. Currently (2020-11), nearly all node networks are considered to be regional.
name name (Mandatory) The name of the network. E.g. "Fietsroutenetwerk Zeeland".
network:type node_network (Mandatory) This defines the network as a node_network.
operator operator The name of the operator of the network. E.g. "Toerisme Oost-Vlaanderen".

This relation holds:

  • All junction nodes (A) of this named node network.
  • All routes (B) that make up this node network

Routes connecting to a node in another network are added to both network relations and get the role=connection role in both network relations.

If a network node is in two networks, which can happen in border areas, it is added to both network relations with a role=connection role.

All nodes and routes with a role=connection role should be members in two network relations

N.B. Since the introduction of the mandatory tag network:type=node_network, the network relation is no longer necessary to identify the nodes and routes as node network elements. For display and network routing it's not needed either. That means the network relation is a collection of elements sharing a few details such as operator, network name, osmc:symbol, website URL. As the member count can easily mount up to 5.000 or more, and maintaining it is quite a burden, the question arises if it's worth it. Tests have shown the network system can function without network relations, but if there are many common details you wish to record, it's also a burden to repeat those details on every single element of the network.

Split nodes: handle as separate nodes *

Sometimes two nodes close to each other have the same node number. The provider considers those to be one logical network node. Usually, but not always, the split nodes are within visual range of each other, for example, at both sides of a bridge.

In this case, as a rule* we simply treat the split node as separate nodes which happen to have the same number. The nodes are interconnected by a short node2node route which happens to connect two nodes with equal numbers. The routes land on the first node they "see". Routing, planning, rendering and checking applications can handle this, because the actual numbers do not make a difference in handling; they are labels for the users.

When there is no split node but two of the routes use the same road for a stretch, it is allowed that this common section is entered into both route relations.


Complicated junctions and roundabouts may even have three or more split nodes. The general rule for most routes* is: put a network node at the intersections where there is a choice. Then connect the nodes where necessary with short interconnection routes. You are allowed to use short interconnection routes with multiple nodes with the same number. In most cases, the logical split nodes will more or less coincide with the positions of the actual node posts. Then let each routes land on the first node it "sees".

An extreme example of this can be found here.

* For routes with backward/forward roles to indicate where one direction uses different ways than the other, it's not that straigtforward. This happens mainly in bicycle routes, including bicycle node network routes. See the Advanced section below.

Split/join points without a node number

Sometimes routes split/join, but the pole or post does not have a node number. It has pointers to several other nodes, but it is not meant to be a destination; several routes pass though it but do not start or end there. For the traveler this still means a choice.

Split/join points without a node number are entered as network nodes with a rXn_ref value of '*'.

Roundtrip sections

A roundtrip section is a section beginning and ending at the same network node. This is allowed since october 2020. For the (optional) expected_rXn_route_relations, the roundtrip section counts as 1 route.

(Advanced) Bicycle routes with split sections

Bicycle node routes often have split sections, where one direction uses different ways than the other direction. All the ways for both directions are entered into one relation. The common ways are entered without a role; the split ways (ways for one direction) are entered with a role (forward or backward).

The roles forward and backward are assigned with respect to the drawing direction of the way in OSM. If you cycle in the same direction as the way, the role is 'forward'. If you cycle against the drawing direction, the role is 'backward'. That is why most of the roles will be forward both for both directions: most oneway-sections are drawn in the direction of the traffic. This page explains how the terms forward and backward are used in OSM.

NB. To see and do this properly, you need to use JOSM and its relation editor. It shows the chains and the way directions in its continuity line, and its sort procedure can handle the directions and roles. This description assumes you use the JOSM relation editor.

Basic Tagging Recap for cycling routes: Split in the middle, common ends; the route lands on single junction nodes at both ends

Basic Split in Node2Node route
Basic Split in JOSM
  • Start at the low network node and add the common ways up to the split. Look at the continuity line to make sure the chain is unbroken.
  • Then add the main direction ways with appropriate roles up to the rejoin point. Look at the continuity line: the arrows show the OSM way direction. If you go against the way direction use backward; otherwise use forward.
  • Then add the common ways towards the high network node. That completes the main direction. The continuity line shows where the branch begins and ends. It is continous, but the main branch is shifted to the left and beside it, you see a dotted line representing the expected Hi2Lo-branch.
  • Now start at the rejoin, imagine the ride, and add the return direction ways above, one by one, as if you were cycling in the return direction. Again, use forward if you are moving with the way, backward if you are moving against the way. The arrow shows way direction, and the continuity line should show a growing branch line.
  • When you reach the rejoin point, the continuity line closes.
  • Done! In your mind, picture the branches next to each other. The editor can only show the ways as separate lines below each other, but the dotted continuity lines show where the other branch would be if they could be shown next to each other.
  • Now, you can even sort the route. The sort will take the branches into account.
  • N.B. This branch tagging is not specific to node network routes, but the node network system accommodates it.


Split end; route landing on split node

We now consider one end of the node2node route, landing at the high node on a highway junction with two node poles for one logic network node: one pole for each direction. The crossing highway is a simple road and has no difference between back and forth. This is quite common. Somewhere near the junction, the route splits. One direction lands on one node pole, the other direction starts from the other node pole. The other node2node routes are simple routes to both ends of the crossing road.
  • Put two logical nodes at the intersections: HiA where the Lo2Hi lands, and HiB where the Hi2Lo starts
  • Start the route at the low node and add the ways up to the split.
  • Continue the Lo2Hi branch with proper roles up to the HiA landing node
  • Now you have a choice:
Method a: Closed loop method
* Start at the HiA landing node, add the way(s) to the HiB return node, and continue to add the ways down to the split/rejoin point, with proper roles
* Let the other routes land on the first node they encounter.
In the end, section HiA-HiB is part of all three the route relations.
This method guarantees connectivity between all directions of all the routes, but it needs some redundant tagging.
OR method b: Cluster method.
* Start at the HiB return node, and add the ways down to the split/rejoin point, with proper roles.
* Then create a separate short route from HiA to HiB (Cluster method)
* Let the other node2node routes land/start at the first node they encounter
In the end, Section HiA-HiB is a completey separate route relation.
This method guarantees connectivity by adding an extra relation.
Methods a (Closed loop method) and b (Cluster method) are equal for rendering and routing, and both pass all consistency checks.

Four routes with split direction branches landing on a roundabout with split nodes

Bicycle Roundabout with 8 nodes for 4 split routes
We now consider a roundabout with two-way cycleways all around. Four roads with oneway cycleways at both sides land on / leave from the roundabout. There are cycle node poles at all landing/leaving points, all carrying the same node number. Of course, all directions of all routes need to have either direct or indirect connections to all the other routes (and to themselves), for visual display and for routing purposes.
Complicated? Don't worry, it's easier than it looks, once you have mastered the branch tagging for cycling routes. Just pick one of the following methods, both will get you there!
Closed loop method: closed loop route relations contain the roundabout sections
  • First, enter all the network nodes at the intersections where a route lands or leaves.
  • Then create one of the routes with branches for the directions as described above. Let one branch land on the first node it sees.
  • Now let the return branch begin on this same node. Add the ways of the cycleway roundabout up to the appropriate leaving node.
  • Finish the return branch up to the common ways of the route.
  • Do the same with the other three routes.
Every section of the roundabout is now a member of 3 or 4 route relations. This is alright.
Cluster method: split end routes; the whole roundabout is a separate route relation.
  • First, enter all the network nodes at the intersections where a route lands or leaves.
  • Then create the cluster relation. This is a node2node route relation all around the roundabout, connecting all the nodes with the same node number.
  • Then create one of the routes with branches for the directions. Let the main branch end on the first node it sees.
  • Now let the return branch start from the appropriate return node. Finish the return branch up to the common ways of the route.
  • Do the same with the other three split routes.
Every section of the roundabout is now a separate member of the cluster relation. This is alright.