Closed barbeau closed 8 years ago
Originally mentioned in https://github.com/OneBusAway/onebusaway-alexa/pull/8#issuecomment-185003111:
In OBA (and GTFS), stop_id is intended to be an internal agency-facing field. stop_code is the rider-facing ID that's actually shown on the bus sign. For some agencies these are the same, but for others they are different.
stop_id
stop_code
We are currently reading back the stop_id to the user - we should instead read back the stop_code via ObaStop.getStopCode().
ObaStop.getStopCode()
We'll probably want to persist stop_code as well, in case we need to read it to the user elsewhere in the lifecycle.
Fixed via https://github.com/OneBusAway/onebusaway-alexa/pull/19.
Originally mentioned in https://github.com/OneBusAway/onebusaway-alexa/pull/8#issuecomment-185003111:
In OBA (and GTFS),
stop_id
is intended to be an internal agency-facing field.stop_code
is the rider-facing ID that's actually shown on the bus sign. For some agencies these are the same, but for others they are different.We are currently reading back the
stop_id
to the user - we should instead read back thestop_code
viaObaStop.getStopCode()
.