Skip to content

Commit

Permalink
Add rendering for aeroway=stopway
Browse files Browse the repository at this point in the history
Width rendered as with aeroway=runway.
  • Loading branch information
jdhoek committed Mar 12, 2021
1 parent f45ca0d commit d57bc2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.mml
Expand Up @@ -1066,7 +1066,7 @@ Layer:
) as width,
NULLIF(scale_factor(way)*!scale_denominator!*0.001*0.28, 0) AS sf
FROM planet_osm_line
WHERE aeroway IN ('runway', 'taxiway')
WHERE aeroway IN ('runway', 'taxiway', 'stopway')
ORDER BY bridge NULLS FIRST,
CASE WHEN aeroway = 'runway' THEN 1 ELSE 0 END
) _
Expand Down
8 changes: 8 additions & 0 deletions style/roads.mss
Expand Up @@ -19,6 +19,7 @@
@track-fill-noaccess: #e2c5bb;
@aeroway-fill: #bbc;
@runway-fill: @aeroway-fill;
@stopway-fill: lighten(@aeroway-fill, 5%);
@taxiway-fill: @aeroway-fill;
@helipad-fill: @aeroway-fill;
@access-marking: #eaeaea;
Expand Down Expand Up @@ -3002,6 +3003,13 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */
}
}
}
[aeroway = 'stopway'] {
::fill {
line-color: @stopway-fill;
/* Same as aeroway=runway. */
line-width: [area_width];
}
}
[aeroway = 'taxiway'] {
[zoom >= 11] {
::casing[bridge = true][zoom >= 14] {
Expand Down

0 comments on commit d57bc2a

Please sign in to comment.