id: rail-bridge-outer-casing
source: spirit
source-layer: railways
type: line
filter:
  - all
  - - in
    - [get, railway]
    - - literal
      - - rail
  - [get, bridge]
paint:
  line-color: black
  line-width:
    - interpolate
    - - exponential
      - 1.35
    - - zoom
    - 12
    - 5
    - 20
    - 20
layout:
  line-cap: butt
  line-sort-key:
    - +
    - - case
      - [get, minor]
      - 0
      - 10
    - - '*'
      - [get, layer]
      - 1000
