Key:public_transport:version
Jump to navigation
Jump to search
![]() |
Description |
---|
Used to distinguish between different public transport relation schemes ![]() |
Group: public transport |
Used on these elements |
Requires |
Useful combination |
Status: in use |
Tools for this tag |
|
This key is used by JOSM/Validator and Osmose to distinguish between public transport route relations of old and new scheme for proper validation and usage of both schemes.
public_transport:version=1
for old schemepublic_transport:version=2
for new scheme (aka PTv2) according topublic_transport=*
public_transport:version=1+2
for a mix of PTv1 and PTv2 features like PTv1-like bus stops and PTv2 empty role ways/route_masters (this tag is basically only used for SL/Stockholm region bus routes)
This key was introduced in JOSM version 6813. See JOSM ticket 9545.
JOSM has the ability for adding the roles
and stop
of new members automatically, but only if platform
public_transport:version=2
is set on the relation and one of the keys bus=*
, tram=*
, train=*
etc. on the new member.