Skip to content
Kagami edited this page Jan 23, 2016 · 2 revisions

Table of Contents

Tagging scheme example

  • Use Tainan bus network as example.

Bus Route Relation

  • Every route must be one RouteMaster relation contains several sub-relations.
  • Extend routes or detour routes must separate from main route.
  • forward and backward must split two relations.
Type Tagging Description
Route Master
  • type=route_master
  • route_master=bus
  • ref=5
  • name=5路
  • operator=府城客運
  • network=臺南市公車
  • Set the relation is route collection.
  • Set the relation is bus route.
  • Reference code of the route.
  • Route name.
  • Route operator.
  • Network of routes.
Route
  • type=route
  • route=bus
  • ref=5
  • name=5路(往嘉南科大_往程)
  • from=鹽行
  • via=臺南火車站
  • to=市立醫院
  • ref:category=CityBus
  • ref:querycode=10164
  • Set the relation is route.
  • Set the relation is bus route.
  • Route code.
  • Route name (Type forward or backward in bracket clearly).
  • Route start.
  • Route via important areas.
  • Route destination.
  • Route category , collect reference for grunt task. (Custom tag)
  • Route query code , usually the same as route code. (Custom tag)

Member

  • Due to use custom tags , please JSOM user ignore warning.
Type Members Description Note
Route_master
  • forward
  • backward
  • forward_extend
  • backward_extend
  • Forward relation of main route
  • Backward relation of main route
  • Forward relation of detour or extend route
  • Backward relation of detour or extend route
Above all main , detour and extend routes.
Route
  • None
  • platform
  • Route (Way Element)
  • Bus Stop (Node Element)
Don't set value for route member

Bus Station

  • Create the relation of stop_area contains bus stops , buildings and platforms.
Type Tagging Description
Bus station
  • type=public_transport
  • public_transport=stop_area
  • name=火車北站
  • network=臺南市公車
  • operator=臺南市公車
  • Set the relation is public transport relation.
  • Set the relation is bus station.
  • Station name
  • Belonging network of the station.
  • Operator of the station.
Bus station building
  • public_transport=station
  • building=transportation
  • name=火車北站
  • Set the building is bus station.
  • Set the area is public transport building.
  • Building name.
Bus station platform
  • public_transport=platform
  • layer=1
  • Set the way is platform.
  • Layer of platform , default is zero.

Member

Type Members Description Note
Stop_Area
  • platform
  • None
  • Bus station platform.
  • Bus station building.
Don't set value for the building.

Bus Stop

Type Tagging Description
Bus Stop
  • public_transport=platform
  • highway=bus_stop
  • bus=yes
  • name=水萍塭公園
  • ref=2046
  • network=臺南市公車
  • operator=臺南市公車
  • bench=yes/no
  • shelter=yes/no
  • Set the node is bus stop.
  • Set the node is bus stop.
  • Set the node is bus stop.
  • Name of the bus stop.
  • Reference code of bus stop.
  • Operator of the stop.
  • Belonging network of the stop.
  • The stop have bench to sit or not.
  • The stop have shelter to cover or not.