S3 Rules

Author

Mohamed Gharbia

Published

October 10, 2026

What S3 does

S3 gives the S1 streets their traffic rules. Picture a driver arriving at a junction. S3 answers four questions for them: must I stop here, are there traffic lights, where may I go next, and how fast may I drive. It reads three of the city’s files, and every rule points back to the sign or city record it came from.

The city lists lights and speed limits directly. Stops and turns are harder. The sign file says where each sign stands and what it says, never which street it faces, and a corner sign often stands close to two or three streets at once. S3 works out the street from where the sign stands and what it would mean there (how S3 is built), and street photos settle the few places I could not decide from the desk (S3 checks with photos).

One junction, step by step

Junction J027 is where Rue Chatham ends at Rue William, in the west of Griffintown.

Rue Chatham is one-way towards William and must stop. Its two turn signs allow only the left.

Rue Chatham is one-way towards William and must stop. Its two turn signs allow only the left.
  1. Three street ends touch J027: Rue Chatham, and Rue William on each side of it. A car can arrive along each, so S3 makes three approaches. An approach is one street, driven towards the corner.
  2. A stop sign stands 10 m before the junction and 5 m to the right of Chatham, where a stop sign for Chatham would stand. It fits no other street, so Chatham must stop.
  3. Two more posts carry “left turn only” signs, both on the right of Chatham, 4 to 8 m before the junction.
  4. From Chatham a car can turn onto William to the left or to the right. S3 names each move by how much the car’s heading changes: about 90° to the left is a left.
  5. The signs allow only the left, so the right is forbidden, with the reason written beside it.
  6. One end of William has its own stop sign and the other has none. So at J027 some streets stop, and there are no lights.

In the Lab, click any junction, then a street arriving at it, to see each rule with the sign behind it.

Result

Over the whole S1 network, inside Griffintown and on the edge (the streets just outside the boundary that touch it), the junctions fall into four kinds:

Junction How many
traffic lights 31
all-way stop 22
some streets stop 39
neither 99

Turn signs forbid 86 of the 578 possible moves. Most car streets have a limit of 30 km/h, and some 40.

Each link between a sign and a street is an inference, so S3 records how sure it is. Most stop signs fit only one street. Turn signs more often went to a best fit or found no street at all. Lights and stop signs never share a junction, and since they come from separate files, that agreement speaks well of both.

What changed in October

S1 gained its edge this month. I also rewrote how a sign finds its street, because I suspected my own matching caused the turn conflicts and no-entry disagreements. The new rules are mostly common sense about how signs are put up: a sign belongs only to a street it actually stands on, and panels on one post face the same drivers unless they contradict each other. Turn signs that fit only one street more than doubled, and the places to check fell from 83 to 27.

Mapillary’s street photos then settled the last turn contradiction, at Wellington and Ann (J006), and every no-entry disagreement, bringing the places to check down to 21.

Maps

Who must stop where. Pink dot: traffic lights. A white bar across a street is a stop line. A ring is an all-way stop. Pink ring: lights with no S1 junction.

Who must stop where. Pink dot: traffic lights. A white bar across a street is a stop line. A ring is an all-way stop. Pink ring: lights with no S1 junction.

Where a sign limits the turns, the small arrows show the turns still allowed. Dashed: the sign holds only at some hours. Pink x: contradicting signs, set aside.

Where a sign limits the turns, the small arrows show the turns still allowed. Dashed: the sign holds only at some hours. Pink x: contradicting signs, set aside.

Speed limits from the city file. Dashed: new Wellington pieces missing from the file, given the limit of the old line beneath them.

Speed limits from the city file. Dashed: new Wellington pieces missing from the file, given the limit of the old line beneath them.

The places to check, numbered and explained in the key.

The places to check, numbered and explained in the key.

Places still to check

Seven of the 21 are Autoroute 10 and its ramps, which the city’s speed file does not cover. Six are signs I could not give to any street, and three are signs the photos could not settle (decisions P03 and P06) (still open). Three are lights just beyond the edge, such as the one at Queen and Wellington, and two are recent no-entry posts at the park connectors, newer than every photo. Signs at exits that face streets beyond the network are left off: they are not mine to check.

What S3 does not know

The city’s file says where the lights are and nothing about their timing. Movement counts and light timing estimates it where the city counted traffic, and elsewhere the cycle will be a procedural assumption in S9. Some turn rules hold only at certain hours, and S3 keeps them on at all hours until S9 runs its imagined drivers by the clock of S5 Rhythm.

An exit is where an edge street meets the rest of the city, and S3 cannot see the streets beyond it. A junction there may look like an all-way stop when a street beyond does not stop, and the junction’s note says so.