OpenRailwayMap / OpenRailwayMap-CartoCSS

CartoCSS port of the OpenRailwayMap styles, originally written in MapCSS
GNU General Public License v3.0
15 stars 20 forks source link

Add support for request signal on BOStrab:f signals #106

Open besentv opened 1 year ago

besentv commented 1 year ago

The approach is pretty terrible, so I'm open for improvements.

Example rendering in Karlsruhe around Durlacher Tor.

image

Also I'd like to add support for more common combinations, like (pseudo-regex): F0 [F4]? [F1-3|F5] [A1]? [St9]?

So, most likely these:

besentv commented 1 year ago

Mhm, I just realized that many cities actually have the A as the very first light, for example:

besentv commented 11 months ago

I think i found a better way of implementing this, using layer instances.

bjoernma commented 8 months ago

As I couldnt find St9 in BOStrab (and though it is DE-VBK:st9 in the key definition) it seems that its in most cities more of a railway:signal:main:PT_priority=requested;off in different optical representation. I wouldnt mind if the DE-BSVG version which is basically a single round lamp would be an "A" instead as its the meaning that counts for me. So it would be nice for me (?) to add the PT_priority tag as well. And I (!) wouldnt mind as well whether its on top or at the bottom, but if its simple done, why not...