#1485

Add Polish road signs and named locality boards

OpenMaverick568wants to merge intofrom

What changes for drivers

In Poland, Experimental → Road signs uses the existing road placement rules without a token, including in areas with bundled survey records. The in-game masked Mapillary field lets the driver save a token for the local game profile or choose Disable Mapillary. Restart the world server to apply. With a token the server can fetch nearby detections as the driver enters new areas. OSM and Wrocław inventory data also supply positions. Each observed sign is matched to a specific Polish design. Where an approach has no matching observation, the existing road-sign rules can place a sign with the corresponding Polish artwork. The server checks the final roadside position against the Geoportal national boundary.

The mod includes 53 signs with a pole, a plate following the artwork's outline, and a 256 × 256 texture scaled uniformly from its attributed Commons SVG. Polish sign fronts and locality boards use a PBR retroreflectivity of 0.35. A separate preparation command supports additional verified designs from the catalogue. Source notices and setup instructions are in docs/POLISH_ROAD_SIGNS.md.

World → Town signs renders named E-17a entry and E-18a exit boards, including Polish diacritics. They share a two-post body and use cached 256 × 64 textures. The existing town-sign generator estimates entrances from the road network, settlement data and land cover. A built-up area sign (D-42/D-43) can occur at a different location and is handled independently.

Polish roundabout entrances use one shared steel post per incoming approach, with A-7 above C-12. The road and sign layers reconcile partial and repeated observations across tile boundaries.

Verification

  • Passed 193 Python tests covering roundabouts, road signs, town entry, Mapillary, Polish placement and experimental settings.
  • Passed all three offline Lua suites for settings, trees and town signs (779 assertions).
  • Compiled both Vue settings views and exercised masked entry, save, restart and removal with the game bridge stubbed.
  • Reproduced two unrelated test issues on the unchanged base on Windows. The French Typoroute test reports 11 spacing differences and a packaging test calls the Windows version helper without a version.
  • On a local Windows run, preparing both faces for ten distinct settlement names took 154 ms in total. Looking up the same 20 cached faces took a median of 0.34 ms. This measures face generation and lookup only.

On two Chojnice roundabouts, a local warm-cache benchmark with the stored observations and road geometry from OSM measured median sign placement time over 30 iterations. The first location went from 4.9 to 1.4 ms and the second from 7.1 to 3.1 ms. The output positions and headings matched in both survey and rules-only modes. Across four full cached road tiles near Charzykowy, all 19 output files matched byte-for-byte before and after the optimisation.

In-game review

Near Charzykowy (53.7281, 17.4980), compare observed signs and generated signs on the same approach, then check both faces at a settlement entrance. Check the sign faces from the driver’s seat at night with the headlights toggled. A driving-session FPS measurement and in-game visual validation are still open.