Closed hellej closed 4 years ago
To my understanding, stop cancellations are not filtered out in transitdata-pubtrans-source (arrival/departure) nor in tripupdate-processor, but could it be this (in stop-estimates/PubtransStopEstimatesFactory.java):
InternalMessages.StopEstimate.Status scheduledStatus = (pubtransData.common.getState() == 3L) ?
InternalMessages.StopEstimate.Status.SKIPPED :
InternalMessages.StopEstimate.Status.SCHEDULED;
It seems that these are already being produced if cancelled stop estimates do go with the value 3 as state (?). I tried to find it from the Noptis specs but couldn't.
Let's consider the comment from Kenta in planning this: HSLdevcom/transitdata-omm-cancellation-source/issues/7
These need to be saved to transitlog as well (HSLdevcom/transitlog-ui/issues/499 / HSLdevcom/transitlog-ui/issues/386)