From d5e0919079fda25a75210cc5129ba5e513f5c1fd Mon Sep 17 00:00:00 2001 From: Yannik Bloscheck Date: Thu, 12 Jun 2025 02:00:02 +0200 Subject: [PATCH] Improved distinguishability of the different bicycle paths --- data/styles/default/include/Roads.mapcss | 40 +++++++++---------- .../default/include/priorities_3_FG.prio.txt | 4 +- data/styles/default/light/colors.mapcss | 2 +- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/data/styles/default/include/Roads.mapcss b/data/styles/default/include/Roads.mapcss index 00a4c00da..0f50f26bd 100644 --- a/data/styles/default/include/Roads.mapcss +++ b/data/styles/default/include/Roads.mapcss @@ -695,24 +695,17 @@ line|z15-[highway=footway][bicycle=designated]::cycleline, {color: @cycleway;} line|z14-[highway=path][bicycle=designated]::cycleline, -line|z15-[highway=footway][bicycle=designated]::cycleline, {dashes: 7,9.6;} line|z16[highway=path][bicycle=designated]::cycleline, -line|z16[highway=footway][bicycle=designated]::cycleline, {dashes: 7.5,9.5;} line|z17[highway=path][bicycle=designated]::cycleline, -line|z17[highway=footway][bicycle=designated]::cycleline, {dashes: 8,9.4;} line|z18[highway=path][bicycle=designated]::cycleline, -line|z18[highway=footway][bicycle=designated]::cycleline, {dashes: 8.5,9.3;} line|z19-[highway=path][bicycle=designated]::cycleline, -line|z19-[highway=footway][bicycle=designated]::cycleline, {dashes: 9,9.2;} - - line|z13-[highway=construction], {color: @construction;opacity: 0.7;} line|z13-[highway=pedestrian][bridge?]::bridgewhite, @@ -836,10 +829,8 @@ line|z18-[highway=cycleway], line|z18-[highway=path][bicycle=designated]::cycleline, {opacity: 1;} -line|z15-16[highway=footway][bicycle=designated]::cycleline, -{opacity: 0.8;} -line|z17[highway=footway][bicycle=designated]::cycleline, -{opacity: 0.9;} +line|z15-[highway=footway][bicycle=designated]::cycleline, +{opacity: 1;} line|z13[highway=cycleway] {width: 1.0;} @@ -847,26 +838,32 @@ line|z14[highway=cycleway], line|z14[highway=path][bicycle=designated]::cycleline, {width: 1.2;} line|z15[highway=cycleway], -line|z15[highway=footway][bicycle=designated]::cycleline, line|z15[highway=path][bicycle=designated]::cycleline, {width: 1.5;} line|z16[highway=cycleway], -line|z16[highway=footway][bicycle=designated]::cycleline, line|z16[highway=path][bicycle=designated]::cycleline, {width: 2;} line|z17[highway=cycleway], -line|z17[highway=footway][bicycle=designated]::cycleline, line|z17[highway=path][bicycle=designated]::cycleline, {width: 2.4;} line|z18[highway=cycleway], -line|z18[highway=footway][bicycle=designated]::cycleline, line|z18[highway=path][bicycle=designated]::cycleline, {width: 3.2;} line|z19-[highway=cycleway], -line|z19-[highway=footway][bicycle=designated]::cycleline, line|z19-[highway=path][bicycle=designated]::cycleline, {width: 4.2;} +line|z15[highway=footway][bicycle=designated]::cycleline, +{width: 0.7;} +line|z16[highway=footway][bicycle=designated]::cycleline, +{width: 0.8;} +line|z17[highway=footway][bicycle=designated]::cycleline, +{width: 1.1;} +line|z18[highway=footway][bicycle=designated]::cycleline, +{width: 1.4;} +line|z19-[highway=footway][bicycle=designated]::cycleline, +{width: 2.0;} + line|z17[highway=cycleway][tunnel?]::tunnelBackground {casing-width-add: 1;} line|z18[highway=cycleway][tunnel?]::tunnelBackground @@ -1029,16 +1026,15 @@ line|z19-[highway=footway], {width: 4.2; dashes: 10,2.7;opacity: 1;} line|z15[highway=footway][bicycle=designated], -{width: 1.5; dashes: none;} +{width: 1.5; dashes: 6,9; opacity: 0.8;} line|z16[highway=footway][bicycle=designated], -{width: 2; dashes: none;} +{width: 2; dashes: 8,10; opacity: 0.9;} line|z17[highway=footway][bicycle=designated], -{width: 2.4; dashes: none; opacity: 0.9;} +{width: 2.4; dashes: 10,11; opacity: 1;} line|z18[highway=footway][bicycle=designated], -{width: 3.2; dashes: none; opacity: 1;} +{width: 3.2; dashes: 15,15; opacity: 1;} line|z19-[highway=footway][bicycle=designated], -{width: 4.2; dashes: none; opacity: 1;} - +{width: 4.2; dashes: 20,20; opacity: 1;} /* Don't display sidewalks and pedestrian crossings on z15. */ line|z15[highway=footway][footway=sidewalk], diff --git a/data/styles/default/include/priorities_3_FG.prio.txt b/data/styles/default/include/priorities_3_FG.prio.txt index d46d40e6f..45dec6650 100644 --- a/data/styles/default/include/priorities_3_FG.prio.txt +++ b/data/styles/default/include/priorities_3_FG.prio.txt @@ -223,10 +223,10 @@ railway-subway::dash # line::dash z16- (also has railway-subway-bridge::dash # line::dash z16- (also has line z13-, line::bridgeblack z16-, line::bridgewhite z13-) === 221 -highway-footway-bicycle::cycleline # line::cycleline z15- (also has line z15-, pathtext z15-) +highway-footway-bicycle # line z15- (also has line::cycleline z15-, pathtext z15-) === 220 -highway-footway-bicycle # line z15- (also has line::cycleline z15-, pathtext z15-) +highway-footway-bicycle::cycleline # line::cycleline z15- (also has line z15-, pathtext z15-) === 219 highway-cycleway # line z13- (also has pathtext z15-) diff --git a/data/styles/default/light/colors.mapcss b/data/styles/default/light/colors.mapcss index 02047e872..9b29e2b0c 100644 --- a/data/styles/default/light/colors.mapcss +++ b/data/styles/default/light/colors.mapcss @@ -115,7 +115,7 @@ @residential: #FFFEFE; @pedestrian: #FFFAF5; @footway: #FFFAF5; -@cycleway: #605EFE; +@cycleway: #6F6DFF; @construction: #C1A06B; @track: #635730; @path: #8E4E1D;