The men in this photo, as identified by the City of Vancouver Archives, are John Gavin, John Rooney, Duke McKenzie,
"Bob" Drummond, and "Pete" Righter. A search of the Internet also located this photo with the caption "374 and train westbound
at Keefers, BC (12 miles east of North Bend) in 1887 with typical consist of the day, the three passenger cars would likely include one first class, one
regular coach and one Colonist car." There's no doubt that's Canadian Pacific Railway number 374 but the named location of Keefers is unlikely.
If the train is (railway) westbound then the photo is looking at the west end of the station building. Note the number of windows is two. Now look at
the next photo - Circa 1887 Photographer? - Mrs. R. Maynard's Photographic Studio - City of Vancouver Archives AM54-S4-: Can P69.