From dd2458d1b1da6f00b5ac0b7e205e9508e8ef906b Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Tue, 26 Aug 2025 18:03:28 +0700 Subject: [PATCH] [styles][outdoor] Make waterways bolder Signed-off-by: Konstantin Pastbin --- data/styles/outdoors/include/Basemap.mapcss | 88 +++++++++++++++++++-- 1 file changed, 81 insertions(+), 7 deletions(-) diff --git a/data/styles/outdoors/include/Basemap.mapcss b/data/styles/outdoors/include/Basemap.mapcss index 61c53ce8a..3cf53e82f 100644 --- a/data/styles/outdoors/include/Basemap.mapcss +++ b/data/styles/outdoors/include/Basemap.mapcss @@ -11,10 +11,6 @@ line|z12-[waterway=stream], line|z13-[waterway=fish_pass], {opacity: 1; color: @water;} -line|z15-[waterway=ditch], -line|z15-[waterway=drain], -{opacity: 1; color: @water_bad;} - /* 6.2 Line water(river,canal etc.) */ line|z10-[waterway=river], @@ -23,20 +19,98 @@ line|z12-[waterway=stream], line|z12-[waterway=canal], {text-color: @water_label; text-halo-opacity: 0.5; text-halo-radius: 1; text-halo-color: @label_halo_light;} -line|z11-12[natural=strait], -{width: 2.1;} +line|z10[waterway=river], +{width: 2.0;} + +line|z11-12[waterway=river], +line|z11-12[natural=strait], +{width: 2.7;} line|z12[waterway=stream], line|z12[waterway=canal], -{width: 1.5;} +{width: 1.9;} line|z11-12[waterway=stream][intermittent], {width: 0; text: none;} +line|z13[waterway=river], +line|z13[natural=strait], +{width: 3.6;} +line|z13[waterway=stream], +line|z13[waterway=canal], +line|z13[waterway=fish_pass], +{width: 2.2;} +line|z13[waterway=stream][intermittent=yes] +{dashes: 6,2;} + +line|z14[waterway=river], +line|z14[natural=strait], +{width: 4.7;} +line|z14[waterway=stream], +line|z14[waterway=canal], +line|z14[waterway=fish_pass], +{width: 2.6;} +line|z14[waterway=stream][intermittent=yes] +{dashes: 9,3;} + +line|z15[waterway=river], +line|z15[natural=strait], +{width: 5.8;} +line|z15[waterway=stream], +line|z15[waterway=canal], +line|z15[waterway=fish_pass], +{width: 3.1;} +line|z15[waterway=stream][intermittent=yes] +{dashes: 12,4;} + +line|z16[waterway=river], +line|z16[natural=strait], +{width: 7.0;} +line|z16[waterway=stream], +line|z16[waterway=canal], +line|z16[waterway=fish_pass], +{width: 3.7;} +line|z16[waterway=stream][intermittent=yes] +{dashes: 14,5;} + +line|z17[waterway=river], +line|z17[natural=strait], +{width: 8.4;} +line|z17[waterway=stream], +line|z17[waterway=canal], +line|z17[waterway=fish_pass], +{width: 4.5;} +line|z17-[waterway=stream][intermittent=yes] +{dashes: 18,6;} + +line|z18-[waterway=river], +line|z18-[natural=strait], +{width: 9.8} +line|z18-[waterway=stream], +line|z18-[waterway=canal], +line|z18-[waterway=fish_pass], +{width: 5.2;} + + +line|z13-[waterway=ditch], +line|z13-[waterway=drain], +{opacity: 1; color: @water_bad; width: 1.9; dashes: 2.5,2;} +line|z14[waterway=ditch], +line|z14[waterway=drain], +{width: 2.3; dashes: 4.5,3;} +line|z15[waterway=ditch], +line|z15[waterway=drain], +{width: 2.7; dashes: 6,4;} +line|z16-[waterway=ditch], +line|z16-[waterway=drain], +{width: 3.2; dashes: 8,5.5;} + + /* Do not draw tunnel waterways */ line[waterway][tunnel] {width: 0;} + line|z13-[man_made=cutline], {width: 1.7; color: @grass;} line|z14[man_made=cutline],