Trip planner modes


#1

20170727 - Wayfinding Responsive.xlsx (53.2 KB)

I’ve had a few questions about mode numbers in the trip planner. Attached is a spreadsheet for mapping.

Anytime you use a parameters to filter a result (i.e inclMOT_1, exclMOT_11) use the values in column C.

Examples:

Stop Finder:

  {
      "id": "10101324",
      "name": "Erskineville Station",
      "type": "stop",
      "coord": [
        -33.90008,
        151.18552
      ],
      "parent": {
        "name": "Erskineville",
        "type": "locality"
      },
      "modes": [
        1,                 <------------------- Column C
        5

Journeys / Trip events

      "transportation": {
        "id": "nsw:02CCN: :H:sj2",
        "name": "Intercity Trains Net Central Coast & Newcastle Line",
        "disassembledName": "CCN",
        "number": "Central Coast & Newcastle Line",
         "iconId": 2,                       <------------------- Column A
        "description": "Central to Newcastle via Strathfield or Gordon",
        "product": {
          "class": 1,
          "name": "Intercity Trains Net",
          "iconId": 1                     <------------------- Column C
        },