#1504

Road signs and direction signs: Sweden and Bulgaria

OpenMob1K7105wants to merge intofrom

Road signs and direction signs: Sweden and Bulgaria

Sweden and Bulgaria get rows in the shared road signs (sign_systems.json, Settings > Experimental > Road signs) and in the direction boards (dirsigns_styles.json, Settings > World > Direction signs). Each country gets only the signs whose national design the atlas already draws, each compared with the official picture. Everything else stays off.

Sweden: TSFS 2019:74 and Transportstyrelsen's sign pictures

  • Road signs: A1, A2, A5, A22 and A30 on the yellow field (vienna_y), plus D3, D4, E17 and E19.
  • Left to the Swedish modules that already place them (furniture.py, sesigns.py): B1, B2, C1, E1, E2, B3, E9, E16 and E22.
  • Off: E7 and E26 look different in Sweden, and Sweden has no side-road warning.
  • Placement: within 1 kap. 13 §'s table.
  • Sizes: the normal sizes from 2 kap. 3 §, 4 kap. 1 § and 5 kap. 1 §. The triangle is 0.90 m in town as well.
  • A country's own sizes now override the shared table (roadsigns.sizes_of). This is written the same as in #1503 (Poland), so the two PRs merge together cleanly.
  • Pole order: no rule was read on which group goes above which, so each sign has its own pole.
  • Direction boards (verified):
    • Blue with white text and edge.
    • A European route's number on F14's green plate, above the riksväg and länsväg numbers in a white frame (7 kap. 1 §, 24 §).
    • Colours read from Transportstyrelsen's own F1 and F14 pictures.

Bulgaria: Наредба № 18 (as amended to ДВ бр. 13/2020, the State Agency for Road Safety's copy)

  • Road signs: А1–А4, А7, А24 and А27–А29 on the white warning field (чл. 18), plus В1, Г12, Г14, Д4, Д17, Д19 and Д24.
  • Placement (чл. 16):
    • 0.5–2.0 m from the carriageway;
    • outside towns, 1.5–2.0 m up;
    • in towns, at least 2.25 m above the pavement.
  • Poles: order on a pole from чл. 12, two signs to a pole (чл. 11).
  • Off:
    • Б1 and Б2: furniture.py places them.
    • Д5: the motorway sign is green there.
    • Д9: a different tunnel picture.
    • The dead end and the pedestrian zone: no such signs among the Д and Е signs.
    • The chevrons and Д15: not checked.
  • Sizes: the shared table, because Bulgaria's size classes are in БДС 1517, which wasn't read.
  • Direction boards:
    • Colours (чл. 165): green on motorways, blue outside towns, white with black text in towns.
    • Plates (чл. 159 (9), 160): motorway (Ж20.1) and class I and II road numbers (Ж20.2) come before European routes (Ж21). Class III and municipal roads get none.
    • The law names the colours but not their values, so this row is marked unverified.

The Overture networks were read around Göteborg, Alingsås, Sofia and Plovdiv: e-road, se:rv and se:lv; bg:motorway, bg:national and e-road.

Notes

  • Each country's source notes are a "_" entry in its own row, and the Sweden sections in docs/SWEDEN_ROADS.md sit before "Moose signs". This keeps this PR from conflicting with #1417, #1434 and #1503, which edit the shared note and the end of that doc.
  • Tests: test_roadsigns and test_dirsigns have new SE and BG cases. The sign modules plus test_determinism, test_plan_neutral, test_bake_formats and test_protocol_agreement pass on current dev (17 modules).

Checked in game

Not yet.

🤖 Generated with Claude Code