Background:
The checkAndChangeStationIntType function currently does not modify the interchange property of transfer stations with context-appropriate information.
Task:
Update checkAndChangeStationIntType so that it adaptively sets the interchange attribute of transfer stations, providing suitable interchange details based on the station context.
Expected Outcome:
- The
interchange property should be automatically updated when detecting a transfer station in checkAndChangeStationIntType.
- The property should accurately reflect the correct interchange information.
- The change should not introduce regressions elsewhere.
Notes:
- Ensure robust testing around this updated functionality.