Skip to content

Commit

Permalink
order
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Oct 21, 2023
1 parent a1aef11 commit 3537a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signals.mml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ Layer:
ORDER BY
-- distant signals are less important, signals for slower speeds are more important
(CASE
WHEN railway_has_key(tags, 'railway:signal:departure') THEN 15000
WHEN railway_has_key(tags, 'railway:signal:main') THEN 10000
WHEN railway_has_key(tags, 'railway:signal:combined') THEN 10000
WHEN railway_has_key(tags, 'railway:signal:distant') THEN 9000
Expand All @@ -433,7 +434,6 @@ Layer:
WHEN railway_has_key(tags, 'railway:signal:crossing_distant') THEN 500
WHEN railway_has_key(tags, 'railway:signal:ring') THEN 500
WHEN railway_has_key(tags, 'railway:signal:whistle') THEN 500
WHEN railway_has_key(tags, 'railway:signal:departure') THEN 15000
ELSE 0
END) ASC NULLS FIRST
) AS railway_signals
Expand Down

0 comments on commit 3537a4e

Please sign in to comment.