User:Jojo4u/PTv1 to PTv2 compatiblity

From OpenStreetMap Wiki
Jump to navigation Jump to search

Introduction

The Public Transport scheme was voted on and approved on 2011-04-20 with overwhelmingly majority of 83:9.

The adoption, in particular on the Standard Tile Layer, was hampered by database restraints, compatibility problems, diverging tagging and perceived complexity.

This page tries improve the documentation of coexistence between "old-style tags" (Public Transport v1 - PTv1) and the "new-style tags" of the proposal (PTv2). This should pave a road for some sort of inclusion into OpenStreetMap Carto,the style behind the Standard Tile Layer. This style serves as the primary mapper feedback mechanism and visibility increases adaption of a tagging considerably.

Relationship of PTv2 and PTv1 Tagging

PTv2 is an advanced tagging scheme, which represents mass transit more accurately.

Usage of the new tags is recommended but not mandatory.

The PTv2 tags can and do coexist with the PTv2 tags:

  • PTv2 tagging can be used alone
  • PTv1 tagging can be used alone
  • PTv1 tagging and PTv2 tagging can be used together

PTv2 tagging is oriented towards mass transit and does not cover all aspects of transportation. This distinction is most important with Railway where infrastructure is also used by freight trains. The tagging of OpenRailwayMap takes this into account.

Currently open Github Issues

  • #435 Add rendering for public_transport=stop_positionplatform
  • #311 Render public transport platforms and stops (new scheme, relation-free implementation for now)
  • #505 No labels for railway=(rail, subway, light_rail, ...; platform), public_transport=platform
  • #2094 Render transportation areas like the airports

Database reload:

  • 2128 Database-reload

Notable closed issues:

  • #134 public_transport=* not supported

#435 Add rendering for public_transport=stop_positionplatform

  1. First proposed to render stop_position with bus icon
  2. Discussion arises because bus_stop historically beside the road
  3. Wiki changed to not recommend bus_stop on highway [1]
  4. Agreement on platform and bus_stop as location for icon
  5. Inconsistent tagging of bus_stop is further discussed but is expected to be fixed by mappers once rendered
  6. tram_stop and railway=halt both are not tagged "on the platform" but on the rail or middle of station.
  7. public_transport described by maintainer as non-standard, less common which would confuse mappers in the feedback loop
  8. issue title should be changed from stop_position to platform
  9. waiting for bus=* to become available

#311 Render public transport platforms and stops (new scheme, relation-free implementation for now)

  1. Proposed to render:
    1. stop_position as blue square like tram_stop or with icon like bus_stop
    2. platform like railway=platform
    3. nodes with shelter=yes as shelter
  2. Discussion about complexity and pros of PTv2 (highway namespace, combined stops)
  3. Independent Rendering of platform mapped as area is suggested [2]
  4. waiting for bus/tram/...=* to become available

Post draft

I propose to narrow the proposed changes in this issue down to the platform issue or to close it. There are a few proposals here and discussion is often not about them but around public transport scheme (PTv2) in general.

First poster @stefanct proposed:

  • stop_position as blue square like tram_stop or with icon like bus_stop
  • platform like railway=platform
  • nodes with shelter=yes as shelter

The first and the third point have not been discussed further

@sabas and @ximex singled out the second point and suggested to render public_transport=platform mapped as area independently from bus_stop (since bus_stop is only defined for node). To which I found a remark by @math1985: > I think waiting areas for buses are too specific to render as area on a general purpose map

The question is: I think a public_transport=platform used in the sense of highway=platform on ways and nodes should be rendered. Here's an example: https://goo.gl/maps/Xbf7rVZrThJ2 (https://www.openstreetmap.org/way/154245872) The section around the shelter is no footway but dedicated for the bus stop. Currently highway=platform wiki page says it's replaced by publich_transport=platform. [Wiki](https://wiki.openstreetmap.org/wiki/Tag:public_transport%3Dplatform) says to use a node in cases of _"no physical infrastructure (for example a customary bus stop without infrastructure or with a pole)"_

My question to the maintainers: Should this issues narrowed down? If yes, are you waiting for bus/tram/light_rail/...=* to become available before considering the rendering of public_transport=platform, or can an independent rendering like highway=platform be considered now?

Or should this issue be closed? There is already #311 about the case of rendering public_transport=platform+bus=yes like highway=bus_stop

Usage of stop_position for data customers

Warsaw Bern

Bus Stop

https://github.com/gravitystorm/openstreetmap-carto/issues/435#issuecomment-39312465

How the well known tags can be mapped/reused with the new public transport schema is described below:

Existing Tag Interpreted as Comment
highway=bus_stop beside a way/street where buses are allowed public_transport=platform This covers the pole/shelter of a bus stop and can be on a footway or sidewalk.
highway=bus_stop on a way/street where buses are allowed public_transport=stop_position + bus=yes This covers the stop position of a bus.
amenity=bus_station tagged as node beside a way/street public_transport=platform This covers the pole/shelter of a bus stop.
amenity=bus_station tagged as node on a way/street public_transport=stop_position + bus=yes This covers the stop position of a bus.
amenity=bus_station tagged as area public_transport=station + area=yes This covers the area of a bus station.
amenity=bus_station tagged as building public_transport=station + building=yes This covers a bus station building.
highway=platform public_transport=platform This covers the platform of a bus stop.
railway=tram_stop on the rails public_transport=stop_position + tram=yes This covers the stop position of a tram.
railway=halt on the rails public_transport=stop_position + train=yes This covers the stop position of a train.
railway=platform public_transport=platform This covers the platform of a tram/train stop.
railway=station tagged as area public_transport=station + area=yes This covers the area of the station.
railway=station tagged as building public_transport=station + building=yes This covers a building of a train station.
building=train_station public_transport=station + building=yes This covers a building of a train station.