co-maps/data/styles/outdoors/include/Basemap.mapcss
2025-11-22 13:58:55 +01:00

254 lines
6.2 KiB
Text

/* Keep here changes of the base map style file only. */
@import("../../default/include/Basemap.mapcss");
/* 6.WATER */
line|z10-[waterway=river],
line|z11-[natural=strait],
line|z12-[waterway=canal],
line|z12-[waterway=stream],
line|z13-[waterway=fish_pass],
{opacity: 1; color: @water;}
/* 6.2 Line water(river,canal etc.) */
line|z10-[waterway=river],
line|z11-[natural=strait],
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|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.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],
{width: 2.2;}
line|z15[man_made=cutline],
{width: 3;}
line|z16[man_made=cutline],
{width: 4.5;}
line|z17[man_made=cutline],
{width: 6;}
line|z18-[man_made=cutline],
{width: 8;}
line|z15-[barrier=fence],
line|z15-[barrier=wall],
line|z15-[barrier=yes],
{color: @fence; width: 1; opacity: 0.7;}
line|z17[barrier=fence],
line|z17[barrier=wall],
line|z17[barrier=yes],
{width: 1.3; opacity: 0.8;}
line|z18-[barrier=fence],
line|z18-[barrier=wall],
line|z18-[barrier=yes],
{width: 1.5; opacity: 1;}
line|z16-[barrier=guard_rail],
{color: @fence; width: 1; opacity: 0.5;}
line|z17[barrier=guard_rail],
{opacity: 0.7;}
line|z18-[barrier=guard_rail],
{width: 1.3; opacity: 0.8;}
line|z15-[barrier=ditch],
{width: 1.8; opacity: 0.8; color: @cliff; dashes: 0.9,0.9;}
/*
The triangles pattern uses "dashes: " parameter as a 4 values tuple:
dash length (===), triangle base (tb), triangle height, base height / dash width.
===\tb /=== - base height / dash width
\ / | - triangle height
Set width = triangle height + base height.
*/
line|z12-13[natural=cliff],
line|z12-13[natural=earth_bank],
{color: @cliff; width: 2; dashes: 1.4,1.4; opacity: 0.5;}
line|z14[natural=cliff],
line|z14[natural=earth_bank],
{width: 3; dashes: 1.5,1.5; opacity: 0.6;}
line|z15[natural=cliff],
line|z15[natural=earth_bank],
{width: 6.2; dashes: 3,3.5,4.5,1.2; opacity: 0.6;}
line|z16[natural=cliff],
line|z16[natural=earth_bank],
{width: 7.4; dashes: 3.5,5,6,1.4; opacity: 0.7;}
line|z17[natural=cliff],
line|z17[natural=earth_bank],
{width: 9.5; dashes: 4,6,8,1.5; opacity: 0.8;}
line|z18[natural=cliff],
line|z18[natural=earth_bank],
{width: 11.9; dashes: 5,7,10,1.9; opacity: 0.8;}
line|z19-[natural=cliff],
line|z19-[natural=earth_bank],
{width: 14.3; dashes: 6,8.5,12,2.3; opacity: 0.8;}
/* Ski pistes */
area|z13-[piste:type=downhill][area],
area|z13-[piste:type=sled][area],
area|z13-[piste:type=snow_park],
{fill-color: @piste; fill-opacity: 0.15;}
area|z13-[piste:type=downhill][piste:difficulty=novice][area],
{fill-color: @piste_novice; fill-opacity: 0.25;}
area|z13-[piste:type=downhill][piste:difficulty=easy][area],
{fill-color: @piste_easy;}
area|z13-[piste:type=downhill][piste:difficulty=intermediate][area],
{fill-color: @piste_intermediate;}
area|z13-[piste:type=downhill][piste:difficulty=advanced][area],
{fill-color: @piste_advanced;}
area|z13-[piste:type=downhill][piste:difficulty=expert][area],
{fill-color: @piste_expert;}
/* 9. ISOLINES */
line|z10-[isoline=step_1000],
{color: @isoline1000;}
line|z10-[isoline=step_500],
{color: @isoline500;}
line|z11-[isoline=step_100],
{color: @isoline100;}
line|z13-[isoline=step_50],
line|z15-[isoline=zero],
{color: @isoline50;}
line|z15-[isoline=step_10],
{color: @isoline10;}
line|z10[isoline=step_1000],
line|z10[isoline=step_500],
{width: 1.0; opacity: 0.3;}
line|z11-12[isoline=step_1000],
line|z11-12[isoline=step_500],
{width: 1.6; opacity: 0.3;}
line|z11-12[isoline=step_100],
{width: 1.1; opacity: 0.3;}
line|z13-14[isoline=step_1000],
line|z13-14[isoline=step_500],
{width: 1.6; opacity: 0.4;}
line|z13-14[isoline=step_100],
{width: 1.6; opacity: 0.25;}
line|z13-14[isoline=step_50],
{width: 1.1; opacity: 0.3;}
line|z15-16[isoline=step_1000],
line|z15-16[isoline=step_500],
{width: 1.6; opacity: 0.5;}
line|z15-16[isoline=step_100],
{width: 1.6; opacity: 0.35;}
line|z15-16[isoline=step_50],
{width: 1.6; opacity: 0.25;}
line|z15-16[isoline=zero],
line|z15-16[isoline=step_10],
{width: 1.1; opacity: 0.35;}
line|z17-[isoline=step_1000],
line|z17-[isoline=step_500],
{width: 1.6; opacity: 0.6;}
line|z17-[isoline=step_100],
line|z17-[isoline=step_50],
{width: 1.6; opacity: 0.5;}
line|z17-[isoline=zero],
line|z17-[isoline=step_10],
{width: 1.6; opacity: 0.35;}