From d9efc8af0e9f35f50ba5f1f37134e1e554f2ad1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Delaun=C3=A9?= Date: Tue, 26 Nov 2019 11:39:31 +0100 Subject: [PATCH] avoid duplication of motorway links and ramps since all links are considered as ramps : https://github.com/openmaptiles/openmaptiles/blob/67672de2874584913d8f636a0e3d24457b893915/layers/transportation/layer.sql#L28 --- style.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/style.json b/style.json index ea36345..4f3a823 100644 --- a/style.json +++ b/style.json @@ -316,6 +316,7 @@ "filter": [ "all", ["==", "class", "motorway"], + ["!=", "ramp", 1], ["==", "brunnel", "tunnel"] ], "layout": {"line-join": "round"}, @@ -448,6 +449,7 @@ "filter": [ "all", ["==", "class", "motorway"], + ["!=", "ramp", 1], ["==", "brunnel", "tunnel"] ], "layout": {"line-join": "round"}, @@ -564,7 +566,7 @@ "filter": [ "all", ["!in", "brunnel", "bridge", "tunnel"], - ["!in", "class", "pedestrian", "path", "track", "service"], + ["!in", "class", "pedestrian", "path", "track", "service", "motorway"], ["==", "ramp", 1] ], "layout": {"line-cap": "round", "line-join": "round"}, @@ -721,7 +723,7 @@ "all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "ramp", 1], - ["!in", "class", "pedestrian", "path", "track", "service"] + ["!in", "class", "pedestrian", "path", "track", "service", "motorway"] ], "layout": {"line-cap": "round", "line-join": "round"}, "paint": { @@ -995,6 +997,7 @@ "filter": [ "all", ["==", "class", "motorway"], + ["!=", "ramp", 1], ["==", "brunnel", "bridge"] ], "layout": {"line-join": "round"}, @@ -1126,6 +1129,7 @@ "filter": [ "all", ["==", "class", "motorway"], + ["!=", "ramp", 1], ["==", "brunnel", "bridge"] ], "layout": {"line-join": "round"},