Closest_to_stop is true (1), if closest_stop_id of all the same closest_stop_id's for a particular trip on a day of service is the closest else false (0).
In the image shown, there are 5 same closest_stop_id's for a trip 192226 on a day 10/18/2016. We populate closest_to_stop with 1 for closest of all closest_stop_id's (we can find the closest of all, from distance_to_stop field) or else with 0.
Closest_to_stop is true (1), if closest_stop_id of all the same closest_stop_id's for a particular trip on a day of service is the closest else false (0).
In the image shown, there are 5 same closest_stop_id's for a trip 192226 on a day 10/18/2016. We populate closest_to_stop with 1 for closest of all closest_stop_id's (we can find the closest of all, from distance_to_stop field) or else with 0.