--- style: layers: - id: admin4-boundary type: line filter: - all - - any - [==, [get, "admin_level"], "4"] line-cap: round line-color: "#f63c" line-width: 4 - id: admin6-boundary type: line filter: - all - - any - [==, [get, "admin_level"], "6"] line-cap: round line-color: "#f63c" line-width: 3 - id: gravel-tracks type: line filter: - all - [==, [get, highway], track] line-cap: round line-width: - case - - all - [==, [get, tracktype], grade3] - [==, [get, surface], compacted] - [==, [get, smoothness], bad] - 3 - - match - [get, tracktype] - grade2 - 3 - grade3 - 2 - 1 line-color: - case - - all - [==, [get, tracktype], grade3] - [==, [get, surface], compacted] - [==, [get, smoothness], bad] - "#448" - - match - [get, tracktype] - grade2 - "#448" - grade3 - "#66a" - "#0004" --- rel(62376) -> .outer; ( .outer; ); out geom; .outer map_to_area -> .boundary; // Select all tracks, apply styles conditionally later: way(area.boundary)["highway"="track"]; out geom;