Railways

Author: StelorioCreated Sep 15, 2021Updated Sep 19, 2021

I have a problem to get Railways to display on the map at all.

I used this code for my railway

       'railway': {
            'custom_filter': '["rail|light_rail|subway|tram|disused|construction|abandoned|monorail|narrow_gauge"]',
            'width': {
                'rail': 7,
                'light_rail': 5
                'subway': 5,
                'tram': 4,
                'disused': 4,
                'construction': 3,
                'abandoned': 3,
                'monorail': 3,
                'narrow_gauge': 3,
            },
        'circle': False,
        'dilate': dilate
        },

and kwargs

'railway': {'fc': '#2F3737', 'ec': '#475657', 'alpha': 1, 'lw': 0, 'zorder': 6}

I tried to map this area which has plenty of different kinds of railway

https://www.openstreetbrowser.org/#railway-infrastructure/w178925635&map=18/52.42969/13.25519&categories=railway-infrastructure

It will not display anything at all for that area. Did anyone got railways working or is that feature not implemented (yet)

Source: marceloprates/prettymaps