From 3537a4ea2ca263284906d115f7f5975b3ed33d25 Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sat, 21 Oct 2023 17:11:58 +0200 Subject: [PATCH] order --- signals.mml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signals.mml b/signals.mml index 054d4e43..a6f34c35 100644 --- a/signals.mml +++ b/signals.mml @@ -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 @@ -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