Sydney Metro Timetable Data

GTFS Data is now available for Sydney Metro here. The data will also be present in the latest Complete GTFS and TXC files.

Mode symbols and brand guidelines have also been updated. Associated bus services changes, including correct end date of StationLink buses will drop into the bus GTFS bundles on Monday evening.

Thanks,
Alex

To find out more about the announcement please go to Metro | transportnsw.info

User account | TfNSW Open Data Hub and Developer Portal seems to still have an issue i reported with trips after midnight. That is, it shows metro services after 00:00 of Thursday-Saturday, instead of Thursday-Saturday after 24:00.

@rupert can probably explain this issue better than I can.

Basically they’re being treated as services on Thursday morning (i.e. Wednesday late night), not Thursday night. Same thing goes for Friday/Saturday night.

The discussion with @alejandro.felman today:

Data shows services leaving Chatswood at:

  • Mondays, Tuesdays, Wednesdays 5:05 - 22:05
  • Thursdays 0:05 - 0:45
  • Thursdays 5:05 - 23:55
  • Fridays 0:05 - 1:45
  • Fridays 4:25 - 23:55
  • Saturdays 0:05 - 1:45
  • Saturdays 4:25 - 23:55
  • Sundays 4:25 - 22:05

I believe these should be:

  • Mondays, Tuesdays, Wednesdays 5:05 - 22:05
  • Thursdays 5:05 - 24:45
  • Fridays 4:25 - 25:45
  • Saturdays 4:25 - 25:45
  • Sundays 4:25 - 22:05

@jayen times are in 24hr format for this bundle, not using a 36 hr system.

An updated timetable for go-live on Sunday 26th has been published here: User account | TfNSW Open Data Hub and Developer Portal

ok, then the days were wrong.

and the bundle can’t only go up to 23:59 since trips starting at 23:55 ended after 24:00. it was only trips starting after 23:59 that were on the wrong day.

anyway, it seems fixed in the new bundle so i’m content.

2 Likes

Another update has been made to the bundle at the above endpoint.

any idea when documentation will be posted?

also, will there be an updated proto? it seems theres a new field 1007 for train type

@alejandro.felman

Hi @mattdavidson, apologies, we’re working on it, should be ready soon. Thanks

Hi @mattdavidson, we have the new proto file ready, which includes the new 1007 train type. You can find it by clicking here.

Still finalising the Metro documentation, should be ready soon.

Thanks,
Alex

Ohh nice, let me try it out :grinning:

@alejandro.felman that is very nice! you get heaps of information about the metro cars! awesome, thanks

{
  "trip": {
    "tripId": "1710-18.120819.7.1051",
    "startTime": "10:51:00",
    "startDate": "20190820",
    "scheduleRelationship": "SCHEDULED",
    "routeId": "SMNW_M"
  },
  "position": {
    "latitude": -33.79541015625,
    "longitude": 151.1426544189453,
    "bearing": 283.79998779296875,
    "speed": 0
  },
  "currentStopSequence": 2,
  "currentStatus": "IN_TRANSIT_TO",
  "timestamp": "1566262434",
  "congestionLevel": "UNKNOWN_CONGESTION_LEVEL",
  "stopId": "2067143",
  "vehicle": {
    "id": "11",
    "label": "10:51am Chatswood - Tallawong",
    "licensePlate": "",
    ".transit_realtime.tfnswVehicleDescriptor": {
      "airConditioned": true,
      "wheelchairAccessible": 1,
      "vehicleModel": "Alstom Metropolis",
      "performingPriorTrip": true,
      "specialVehicleAttributes": 0
    }
  },
  ".transit_realtime.consist": [
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 1,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    },
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 2,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    },
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 3,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    },
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 4,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    },
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 5,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    },
    {
      "name": "Alstom Metropolis",
      "positionInConsist": 6,
      "quietCarriage": false,
      "toilet": "NONE",
      "luggageRack": false
    }
  ]
}

1 Like

Sydney Metro documentation has now been published in the documentation page.

Thanks,
Alex

Hi @alejandro.felman there is a bug in the protobuf,

Sydney Buses uses extension 1999 for the vehicle descriptor, and now in the new proto it’s been changed it 1007, this means it’s no longer compatible with the bus feed.

Hi @mattdavidson, you should still use the original for other modes, the new one is for Metro and NLR. We have kept both up on the website. Otherwise you have to modify it for your use case.

Thanks,
Alex