avoid duplication of motorway links and ramps

since all links are considered as ramps :
67672de287/layers/transportation/layer.sql (L28)
This commit is contained in:
Ludovic Delauné 2019-11-26 11:39:31 +01:00
parent 533cbc49c2
commit d9efc8af0e

View File

@ -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"},