For both. If you board at an intermediate station, then that particular station is considered. Charting may or may not be done at that intermediate station, sometimes done at home stations only (for shorter distances) or if intermediate station is small, then the previous bigger station (in case of long distances).