#1503

Poland's own road signs: D-6 crossing, yellow A-7 give way, B-33 speed limits

OpenMob1K7105wants to merge intofrom

Poland's own road signs: D-6 crossing, yellow A-7 give way, B-33 speed limits

Poland used the generic Vienna faces. Its three most visible signs now follow the Polish regulation: rozporządzenie w sprawie szczegółowych warunków technicznych dla znaków i sygnałów drogowych, załącznik nr 1 (consolidated text Dz.U. 2019 poz. 2311). A legal act and its official signs are not under copyright in Poland (copyright act, art. 4).

What changes in Poland

  • D-6, pedestrian crossing: a blue square, a white triangle, a pedestrian walking right over a zebra (rys. 9.4.9, rys. 5.2.6.1). It replaces the Vienna crossing sign.
    • It stands at every marked crossing, signalled ones too, because D-6 goes "przy wszystkich przejściach dla pieszych" (pkt 5.2.6.3).
    • On a one-way carriageway it is repeated on the left (pkt 5.2.6.1). That includes each carriageway of a divided road.
  • A-7, give way: a yellow field, like Poland's warning triangles (rys. 9.1.7).
  • B-33, speed limit: red ring, black digits in the regulation's own typeface (rys. 9.2.41), shown to 10 km/h from 20 to 140.
    • Disc size by road (tabela 1.1): 1.0 m motorway; 0.9 m expressway, or dual carriageway out of town; 0.8 m other main roads; 0.6 m local roads.
    • Mounted 2.2 m over a town's sidewalk, 2.0 m elsewhere (tabela 1.11).
  • Sizes of Poland's road signs per tabela 1.1. A-7 is never below size S.

D-6 and A-7 are road signs, so they show with the Road signs switch on (Experimental). B-33 is the speed-limit sign, on by default, so every player in Poland sees it.

How

  • Atlas:
    • The 15 new faces are cells 92–106 of the existing bne_signs_vienna.color atlas, painted in by tools/build_sign_atlas.py --paint. The other cells keep their exact pixels; a full rebuild on another machine differs at cell edges.
    • A role can now name its own cell in sign_roles.json, so no existing cell moves. give_way draws on the system's field colour, so it gets a yellow variant cell (93).
  • Traced shapes: tools/trace_polish_signs.py traces the digits and the D-6 pedestrian from the regulation's own pictures into server/data/pl_sign_shapes.json (pdfimages + numpy/PIL).
    • Digits 1, 2, 4, 7, 8, 9 and 0 come from the outline drawings of rys. 1.4.2, filled.
    • Digits 3, 5 and 6 come from colour figures.
    • Strokes measure d/6, as pkt 1.4 specifies.
  • sign_systems.json PL:
    • roles maps the crossing sign to info.crossing_pl.
    • crossings: "all_marked" reads crossings with signals too (roadsigns.is_crossing_with_markings).
    • crossing_left_oneway adds the left copy (roadsigns.crossing_left).
    • sizes holds Poland's sizes over the defaults.
  • speedsigns.STYLE_POLAND: placed by the kernel as Vienna, meshed by road_sign_mesh with the speed.pl_<value> cells (material bne_signs_vienna_y), like Sweden's C31 is drawn by its own mesh.
  • No native changes.

Limits

  • The kernel puts the crossing sign 1.5 m before the crossing point. The regulation says within 0.5 m of the crossing's edge, so it is close but not exact.
  • Over 60 km/h Poland also wants A-16 before the crossing. That is not added.
  • Diameter rules use OSM road class as a stand-in for road category (state, voivodeship and powiat roads → S; gmina roads → M).

Tests

  • test_roadsigns, new class Poland:
    • D-6 cell and shape; A-7 yellow in PL only; Polish sizes and mount heights.
    • Crossing reading (signals, crossing:markings, foot=no).
    • Left copy on one-way roads only.
    • The shipped atlas has the new cells.
  • test_speed_signs, new PolandTest: style and rounding, disc by road, atlas cells, mesh size, height and materials.
  • Updated: one assertion that assumed variant cells come after all roles.
  • Also run and passing: test_signcodes, test_roundabouts, test_determinism, test_mod_textures, test_designs, test_navgraph, test_country_borders, test_plan_neutral, test_de_autobahn_dirsigns. build_sign_atlas.py --check passes.

Checked in game

Not yet.

🤖 Generated with Claude Code