openstreetmap-americana
openstreetmap-americana copied to clipboard
Separate shield for Hungary primary routes
In Hungary, there are two separate shields for motorway and primary routes, however they use the same network value. Motorway shields use a ref with an "M" prefix. Since these shields are the exact same style, just with different colors, we can use the same type of code that we use for the special Georgia routes (may require re-coloring the SVG to be black as a base).
I forgot to add that there are also some trunk routes which start with M, which can be seen in this list. https://hu.wikipedia.org/wiki/Sablon:Magyarorsz%C3%A1g_aut%C3%B3p%C3%A1ly%C3%A1i Autópályák = Motorways Autóutak = Expressways the rest isn't interesting because they are only either planned or they are dropped plans.
The only important thing is that those which start with M are blue (M3, M25 etc), the rest are green like 3, 24, 222.
In Hungary, there are two separate shields for motorway and primary routes, however they use the same network value. Motorway shields use a ref with an "M" prefix. Since these shields are the exact same style, just with different colors
Has anyone considered creating separate network
s of routes that connect? This approach was taken in Vietnam (#190) for essentially the same situation, and it hasn’t led to any problems that I’m aware of.
Currently this project gives all network=HU:national
routes a blue shield, even though most of the relations are main roads that should have a green shield. We should remove support for network=HU:national
until there’s a way to reliably distinguish the two networks.
https://github.com/ZeLonewolf/openstreetmap-americana/blob/e5fe35be2653a0cf96acec634e49fe3df829dce1/src/js/shield_defs.js#L3385-L3393
Shield support to be removed in #702.