Skip to content

Add DE and JP road shields - #637

Open
jonamedia wants to merge 1 commit into
protomaps:mainfrom
jonamedia:jp-de-road-shields
Open

jonamedia wants to merge 1 commit into
protomaps:mainfrom
jonamedia:jp-de-road-shields

Conversation

@jonamedia

Copy link
Copy Markdown

Adds dedicated road shields for Germany and Japan, following the existing US / NL pattern.

new-shields

Germany

Road class OSM network Sprite key
National highway / Autobahn BAB BAB-{1–5}char
Federal Highway / Bundesstraße DE:national DE:national-{1–5}char

Japan

Road class OSM network Sprite key
Numbered expressway JP:E also JP:national:expressway JP:E-{1–5}char
National highway JP:national JP:national-{1–5}char
Prefectural / 都道府県道 JP:prefectural and JP:prefectural:<prefecture> JP:prefectural-{1–5}char

Japan National highway shields also get a small icon-offset so the ref sits in the visual correct position of the shield.

Sprites

25 new groups in sprites/refill.svg (_BAB-*, _DE:national-*, _JP:national-*, _JP:prefectural-*, _JP:E-*), registered as base in all five sprites/flavors/*.json.

I used Adobe Illustrator to edit the SVG since it looked like it had initially been created using Illustrator. When exporting, Illustrator rewrote the style class names from 'cls-N' to 'stN' in the SVG. I tried differen export settings but the result where always the same. This is probably because I used a newer version of Illustrator (CC 2026). That's why there are more code changes to the SVG than just the new shields. This doesnt affect any functionality the assets are generated normally, and all icons look the same as before.

All new road shields vectors are created by myself.
I checked the map in all flavors and all shields are looking like intended.

If you have any feedback on the look of the signs, please let me know, and I can make some adjustments.

germany japan

Here some reference for you:

This is a German sign featuring an Autobahn badge (white on blue) and a Bundesstraße badge (black on yellow):

https://commons.wikimedia.org/wiki/Category:SVG_road_signs_in_Germany#/media/File:Zeichen_434-51_-_Tabellenwegweiser_teilaufgel%C3%B6ste_Form_(nach_RWBA),_StVO_2017.svg

Here is an example of Japanese road signs (Figure 118) on the right:

https://www.mlit.go.jp/road/sign/sign/douro/ichiran.pdf

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant