Opened 13 years ago
Last modified 6 years ago
#8460 new enhancement
Validator checks for Public Traffic Proposal relations — at Initial Version
| Reported by: | Weide | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | public_transport role check | Cc: | skyper, simon04, darya |
Description
If a type=route relation is a member of a type=route_master relation, it should be viewed as a route according to the accepted Public Traffic Proposal
http://wiki.openstreetmap.orgwiki/Proposed_features/Public_Transport and the error messages should include the following items.
(Citations from the proposal are marked with "PTP" here.)
(Recognizing a PT route relation is not easy. The existence of a route_master as said above is a sure way as route_masters were never proposed elsewhere. But the Public Traffic Proposal does allow omitting the route_master relation... But it's impossible to give error messages if there is no way to find out if something is wrong or just not made according the Proposal)
The only roles are "stop", "platform", "stop_exit_only", "stop_entry_only",
"platform_exit_only", "platform_entry_only" and "".
PTP: "Each direction/variant relation contains all available «stop_positions»,
«platforms» and ways."
PTP: "If a stop is only for exiting or entering the vehicle (common for nightly services) the roles stop and platform should be replaced with stop_exit_only or stop_entry_only and platform_exit_only or platform_entry_only."
PTP: "After all the stops all the used ways should be inserted into the relation with an empty role."
All "" entries (tour ways) refer to OSM Ways and follow as a block at the end of the relations member list.
PTP: "After all the stops all the used ways should be inserted into the relation with an empty role."
If exactly two entries with the same name or belonging to the same stop_area follow each other, the entry with the role "stop" should be before the entry "platform". This should not be an error but a warning, as both may refer to two different stops of the vehicle.
PTP: "first the stop_position tagged with role stop and immediately followed by the corresponding platform tagged with role platform."
The tag route does not have a value light_rail. All trains should be marked with train. The same holds for route=light_train. (The railway infrastructure may be different.)
PTP: "train / subway / monorail / tram / bus / trolleybus / aerialway / ferry"
The name of a route should have the form
PTP: "<vehicle type> <reference number>: <initial stop> => <terminal stop>"
and the route_master name should have the form
PTP: "<Vehicle type> <Reference number>"
This should be warnings only as the mappers need some more flexibility:
- there are vehicles (many ferries) which do not have a reference number
- there are Public Traffic Routes, which have several vehicle types (Swedish bus lines are often served by buses and taxis depending on the
expected customer count)
- Tagging different variants with the same name is not acceptable. Most mappers use additional substrings "=> xx =>" to solve the problem. They should not get an error message for that.
A node with the role platform may not have any infrastructure in the Public Traffic Proposal. So shelter=yes, tactile_paving=yes or bench=yes should lead to an error message (shelter=yes only a warning as it is also used to indicate a shelter belonging to a shop at the stop)
PTP: "A public_transport=platform is used to tag a Way or Area where the passengers can wait for the vehicles. If there is no platform in the real world, one can place a Node at the pole."
The message could propose using the old style highway/railway=platform for these nodes.
There is no public_transport=stop_area_group


