printing coordinates of stations in specified rail