Alan,
It all depends. If the maiinline runs through the city as in Edmonton and Calgary, you do get a long wait. Even I a rail nut like myself sometimes find this a pain. Here in Canada and specifically Alberta, many cities made land deals with CN and CP were they move the tracks out of the city and into the "countryside" were there is no traffic. For example, in Lethbridge AB, CP moved out of the middle of the city (in the "old" days, the towns later to become cities built up around the train station and the tracks) and a freeway was built on the original right of way. Outside of Kamloops BC,CP built a large yard just for coal trains. My understanding in the UK, was in the 1800's (?) legislation was passed prohibiting rail companies from obstructing the movement of traffic on roads. Not so here as the population density was so low especially on the prairie areas. Now those DPU's are mainly on unit trains. That is, the train is composed of all one commodity (coal gondolas, container cars, potash cars). For example, in Biggar Saskatchwan, a merchandise (mixed traffic) freight came through town. At the first grade crossing where we were, a pickup truck drove down to the tracks. The locomotives slowly came through the grade crossing, once through they stopped, out of the pickup came the next crew who climbed into the wide cab door, the train commenced on its way. The pickup truck left and preceded through town and onto the highway. At the next convenient rail crossing (far enough away that the crossing we were at opened), the train stopped, the old crew came off the locomotive, got into the pickup and were driven to the crew change housing. I knew a fellow who was a train master being responsible for scheduling crews for his divisions trains. Initially, when the 17 500 foot trains were tried, they were given priority over all other trains. Later, both CP and CN starting lengthening passing sidings to accommodate these long trains. Oh, and the rules for obstructing motor traffic here, are the locomotive is allowed to block any grade crossing for only 10 minutes (if I recall correctly). However, this does not apply to the freight cars, and I assume you can picture what happens next. And that crew change housing. Because it is two stories high, it has to have an elevator! Although as one engineer commented to me, he wasn't exactly sure how many wheelchair engineers CN had.