Advertisement
c-platforma

ATCO CIF format

May 21st, 2012
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.45 KB | None | 0 0
  1. # QS - Bus journey header
  2. # N - Transaction Type - NEW
  3. # 319 - Short code form of operator ID
  4. # 020S3_ - Unique ID of a journey with OP
  5. # 20110104 - Start date of operation of journey (yyyymmdd)
  6. # 21991231 - Last date of operation of journey
  7. # 1 - Operates on Modays (1/0 true/false)
  8. # 1 - Tue
  9. # 1 - Wed
  10. # 1 - Thur
  11. # 1 - Fri
  12. # 0 - Sat
  13. # 0 - Sun
  14. #   - School term time
  15. #   - Bank Holidays
  16. # other useless shit...untill
  17. # S3 - Route Number ID
  18. # LFBUS - Vehicle Type
  19. # 0 - Route Direction (wat?)
  20. QSN319 020S3_20110104219912311111100  S3        LFBUS           O
  21.  
  22. # QE - Journey Date Running identifier
  23. # 20120604 - Start of the period
  24. # 20120604 - End of the period
  25. # 0 - Operation code, dodes not operate between dates, 1 - does operate
  26. QE20120604201206040
  27. QE20120605201206050
  28. QE20120827201208270
  29.  
  30. # QO - Bus Journey Origin identifier
  31. # 340000006R5 - Short code form of origin location (atco code in the db)
  32. # 0655 - Public departure time (from the depo?)
  33. # __ - Bay/Stop identifier
  34. # T1/T0 - Timing/Non timing point
  35. # F1/F0 - Fare stage/not fare stage (not applicable for busses)
  36. QO340000006R5 0655   T1
  37.  
  38. # QI - Bus Journey Inermediate id
  39. # 34000000008 - Short code form of indermed location (atco code in the database)
  40. # 0700 - public arrival time
  41. # 0705 - public departure time - certain bays and stops, for most normal stops will be the same as arr time
  42. # B - Activity type. P=pick up, S=set down, B=both, N=neither.
  43. # xxx - Bay/Stop identifier
  44. # T1/T0 - Timing/non timing
  45. QI34000000008 07000705B   T1  
  46. QI340000864B2 07050705B   T0  
  47. QI340001002OUT07070707B   T0  
  48. QI340001001CNR07070707B   T0  
  49. QI340001000WR107080708B   T0  
  50. QI340000999OUT07080708B   T0  
  51. QI340000998WR407090709B   T0  
  52. QI340000997OPP07100710B   T0  
  53. QI340000996OPP07110711B   T1  
  54. QI340000995CNR07110711B   T0  
  55. QI340000994CNR07120712B   T0  
  56. QI340000993OPP07120712B   T0  
  57. QI340000992WR207120712B   T0  
  58. QI340003247OPP07140714B   T0  
  59. QI340001864OPG07170717B   T0  
  60. QI340001865OPP07190719B   T1  
  61. QI340001536STO07190719B   T0  
  62. QI340001538NTH07190719B   T0  
  63. QI340001535OPP07200720B   T0  
  64. QI340003246OPP07210721B   T0  
  65. QI340001534OUT07230723B   T1  
  66. QI340001866W  07240724B   T0  
  67. QI340000924N  07260726B   T0  
  68. QI340001004OUT07290729B   T1  
  69. QI340001867OPP07300730B   T1  
  70. QI340001868OPP07320732B   T0  
  71.  
  72. # QT - Journey Destination
  73. # 340000595VD - Short code form of dest location
  74. # 0733 - Public arrival time
  75. # T1 - Timinig point
  76. QT340000595VD 0733   T1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement