openstreetmap-americana icon indicating copy to clipboard operation
openstreetmap-americana copied to clipboard

Separate shield for Hungary primary routes

Open ZeLonewolf opened this issue 3 years ago • 2 comments

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).

image image

ZeLonewolf avatar Jan 26 '22 09:01 ZeLonewolf

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.

attilakundev avatar Jan 26 '22 10:01 attilakundev

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 networks 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.

1ec5 avatar Jul 10 '22 23:07 1ec5

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

1ec5 avatar Jan 03 '23 01:01 1ec5

Shield support to be removed in #702.

claysmalley avatar Jan 16 '23 22:01 claysmalley