The purpose of this thread is to establish a consensus about the network tag for public transport routes and stops run by De Lijn.
Operator
The operator tag is not being discussed here. To clarify, operator=De Lijn applies everywhere. Even if some routes are run by private operators, passengers will see no difference and the tickets are the same.
Legacy practice
In the past, De Lijn was split into 5 operating units, one per province, each operating a group of routes.
A stop belongs to one network, which can be easily identified by its first digit (1 = DLAn, 2 = DLOV, 3 = DLVB, 4 = DLLi, 5 = DLWV).
A route belongs to one network. Same rule.
Stops and routes do not always match. For instance, Tienen Station is a stop in Vlaams Brabant, with network=DLVB. The stop is served by buses from Tienen to Leuven (network=DLVB on the route) and by buses from Tienen to Sint-Truiden (network=DLLi on the route).
Current situation
Since 2019, the organisation is made of 15 vervoerregio’s (VVR). Each route belongs to one VVR.
This is currently not visible in OSM data itself, except on the list of routes on the wiki.
Other Belgian networks
The other networks are easier to maintain:
- STIB/MIVB is unitary (one network, one operator).
- TEC is split into 6 operating units (one per province + Charleroi on its own) and the network tag can be reliably obtained from the operator’s open data. If a stop is served by routes from different networks, the
networktag will concatenate all the networks (Fleurus Centre bus stop hasnetwork=TECB;TECC;TECN).
Proposal for route relations
Each route relation should be matched with the VVR that operates it. GTFS data looks like this:
Instead of network=DLAn, use network=VVR Kempen on the bus route relations.
This can be reliably established by parsing the identifier in De Lijn’s open data for 13 out of 15 regios: VVR Kempen routes match ‘%_1KE%’, VVR Kortrijk routes match ‘%_2KO%’… There is a data problem for VVR Dender and VVR Vlaamse Ardennen, which are grouped as one; attributing a route to the correct network requires manual work here.
Proposal for bus stops
De Lijn’s open data does not provide an easy way to match a stop with the corresponding vervoerregio. GTFS data will only provide this:
Option 1: Run a geoquery from the stop location and determine the VVR where it belongs. Apply a rule for stops outside Flanders (Tilburg goes with VVR Kempen, Brussels goes with VVR Vlaamse Rand, Maastricht goes with VVR Limburg…). It might work, however we have no confirmation that VVR run their stops this way.
Option 2: Use the same rule as TEC and concatenate all the network tags from the routes seen on this stop. Tienen Station will have network=VVR Limburg;VVR Vlaamse Rand
Option 3: Keep the current system as 5 units (DLAn, DLLi, DLOV, DLVB, DLWV) because the current numbering system groups them like that. It has the advantage of not disrupting the history of OSM objects.
Option 4: network=De Lijn everywhere. Probably the easiest solution.