bjbus_preset.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
  3. <group name="北京公交">
  4. <item name="北京公交线路" type="relation">
  5. <label text="设置一个北京公交线路" />
  6. <combo key="route" text="Type" values="bus,trolleybus" default="bus"/>
  7. <text key="ref" text="路号" />
  8. <text key="from" text="起点" />
  9. <text key="to" text="终点" />
  10. <text key="via" text="途经(可不填)" />
  11. <text key="name" text="名字" value_template="{ref}路:{from} -> {to}"/>
  12. <text key="name:zh" text="中文名" value_template="{name}"/>
  13. <text key="opening_hours" text="运营时间" default="Mo-Su 05:30-22:00"/>
  14. <check key="roundtrip" text="回环线" default="no" />
  15. <key key="type" value="route" />
  16. <key key="public_transport:version" value="2" />
  17. <key key="network" value="北京公交" />
  18. <key key="network:zh" value="北京公交" />
  19. <key key="network:en" value="Beijing Public Transport" />
  20. <key key="network:wikidata" value="Q4881181" />
  21. <key key="network:wikipedia" value="zh:北京公交" />
  22. <key key="fee" value="yes" />
  23. <check key="payment:alipay" text="支付宝支付" default="on" />
  24. <check key="payment:cash" text="现金支付" default="on" />
  25. <check key="payment:china_t-union" text="交通联合(China T-Union)支付" default="on" />
  26. <check key="payment:coins" text="硬币支付" default="on" />
  27. <check key="payment:ic" text="IC卡支付" default="on" />
  28. <check key="payment:unionpay" text="银联支付" default="on" />
  29. <check key="payment:wechat" text="微信支付" default="on" />
  30. </item>
  31. <item name="北京公交主线路" type="relation">
  32. <key key="type" value="route_master"/>
  33. <combo key="route_master" text="Type" values="bus,trolleybus" default="bus"/>
  34. <text key="ref" text="路号" />
  35. <text key="name" text="名字" value_template="北京公交{ref}路"/>
  36. <text key="name:zh" text="中文名" value_template="{name}"/>
  37. <text key="operator" text="运营单位" />
  38. <key key="network" value="北京公交" />
  39. <key key="network:zh" value="北京公交" />
  40. <key key="network:en" value="Beijing Public Transport" />
  41. <key key="network:wikidata" value="Q4881181" />
  42. <key key="network:wikipedia" value="zh:北京公交" />
  43. </item>
  44. </group>
  45. </presets>