| 3681 | | fill-color: aeroway_light#9900 |
| | 3681 | fill-color: aeroway_light#990000; |
| | 3682 | } |
| | 3683 | node[aeroway=apron], |
| | 3684 | node[aeroway=runway], |
| | 3685 | node[aeroway=taxiway] { |
| | 3686 | icon-image: "presets/misc/deprecated.svg"; |
| | 3687 | set icon_z17; |
| | 3688 | } |
| | 3689 | node[aeroway=holding_position] { |
| | 3690 | icon-image: "presets/transport/airport/holding_position.svg"; |
| | 3691 | set icon_z17; |
| | 3692 | } |
| | 3693 | node[aeroway=hangar] { |
| | 3694 | icon-image: "presets/transport/airport/hangar.svg"; |
| | 3695 | set icon_z17; |
| | 3696 | } |
| | 3697 | node[aeroway=gate] { |
| | 3698 | icon-image: "presets/transport/airport/gate.svg"; |
| | 3699 | set icon_z17; |
| | 3700 | } |
| | 3701 | node[airmark=beacon] { |
| | 3702 | icon-image: "presets/transport/airport/airmark_beacon.svg"; |
| | 3703 | set icon_z17; |
| | 3704 | } |
| | 3705 | node[aeroway=navigationaid] { |
| | 3706 | icon-image: "presets/transport/airport/navigationaid.svg"; |
| | 3707 | set icon_z17; |
| | 3708 | } |
| | 3709 | node[aeroway=windsock] { |
| | 3710 | icon-image: "presets/transport/airport/windsock.svg"; |
| | 3711 | set icon_z17; |
| | 3712 | } |
| | 3713 | |
| | 3714 | /******************/ |
| | 3715 | /* aerialway tags */ |
| | 3716 | /******************/ |
| | 3717 | |
| | 3718 | way[aerialway=cable_car], |
| | 3719 | way[aerialway=gondola] { |
| | 3720 | width: 1; |
| | 3721 | color: aerialway#663300; |
| | 3722 | dashes: 9,9; |
| | 3723 | } |
| | 3724 | way[aerialway=chair_lift] { |
| | 3725 | width: 1; |
| | 3726 | color: aerialway#663300; |
| | 3727 | dashes: 6,6; |
| | 3728 | } |
| | 3729 | way[aerialway=mixed_lift] { |
| | 3730 | width: 1; |
| | 3731 | color: aerialway#663300; |
| | 3732 | dashes: 6,6,9,6; |
| | 3733 | } |
| | 3734 | way[aerialway=j-bar], |
| | 3735 | way[aerialway=t-bar], |
| | 3736 | way[aerialway=platter], |
| | 3737 | way[aerialway=rope_tow], |
| | 3738 | way[aerialway=drag_lift] { |
| | 3739 | width: 1; |
| | 3740 | color: aerialway#663300; |
| | 3741 | dashes: 3,3; |
| | 3742 | } |
| | 3743 | way[aerialway=magic_carpet] { |
| | 3744 | width: 1; |
| | 3745 | color: aerialway#663300; |
| | 3746 | dashes: 3,3; |
| | 3747 | } |
| | 3748 | way[aerialway=goods] { |
| | 3749 | width: 1; |
| | 3750 | color: aerialway#663300; |
| | 3751 | dashes: 2,2; |
| | 3752 | } |
| | 3753 | area[aerialway=station] { |
| | 3754 | fill-color: aerialway#663300; |
| | 3755 | } |
| | 3756 | node[aerialway=station] { |
| | 3757 | icon-image: "presets/transport/aerialway/station.svg"; |
| | 3758 | set icon_z17; |
| | 3759 | } |
| | 3760 | node[aerialway=pylon] { |
| | 3761 | icon-image: "presets/transport/aerialway/pylon.svg"; |
| | 3762 | set icon_z17; |
| | 3763 | } |
| | 3764 | node[aerialway=cable_car], |
| | 3765 | node[aerialway=gondola], |
| | 3766 | node[aerialway=chair_lift], |
| | 3767 | node[aerialway=mixed_lift], |
| | 3768 | node[aerialway=drag_lift], |
| | 3769 | node[aerialway=t-bar], |
| | 3770 | node[aerialway=j-bar], |
| | 3771 | node[aerialway=platter], |
| | 3772 | node[aerialway=magic_carpet], |
| | 3773 | node[aerialway=rope_tow], |
| | 3774 | node[aerialway=goods] { |
| | 3775 | icon-image: "presets/misc/deprecated.svg"; |
| | 3776 | set icon_z17; |
| | 3777 | } |
| | 3778 | |
| | 3779 | /*************************/ |
| | 3780 | /* public_transport tags */ |
| | 3781 | /*************************/ |
| | 3782 | |
| | 3783 | node[highway=bus_stop] { |
| | 3784 | icon-image: "presets/transport/bus_small.svg"; |
| | 3785 | set icon_z17; |
| | 3786 | } |
| | 3787 | node[public_transport=stop_position] { |
| | 3788 | icon-image: "presets/transport/stop_position.svg"; |
| | 3789 | set icon_z17; |
| | 3790 | } |
| | 3791 | node[public_transport=stop_position][share_taxi=yes] { |
| | 3792 | icon-image: "presets/transport/share_taxi.svg"; |
| | 3793 | set icon_z17; |
| | 3794 | } |
| | 3795 | node[public_transport=stop_position][bus=yes] { |
| | 3796 | icon-image: "presets/transport/bus.svg"; |
| | 3797 | set icon_z17; |
| | 3798 | } |
| | 3799 | node[public_transport=stop_position][train=yes] { |
| | 3800 | icon-image: "presets/transport/train.svg"; |
| | 3801 | set icon_z17; |
| | 3802 | } |
| | 3803 | node[public_transport=stop_position][light_rail=yes] { |
| | 3804 | icon-image: "presets/transport/railway/light_rail.svg"; |
| | 3805 | set icon_z17; |
| | 3806 | } |
| | 3807 | node[public_transport=stop_position][tram=yes] { |
| | 3808 | icon-image: "presets/transport/railway/tram.svg"; |
| | 3809 | set icon_z17; |
| | 3810 | } |
| | 3811 | node[public_transport=stop_position][subway=yes] { |
| | 3812 | icon-image: "presets/transport/railway/subway.svg"; |
| | 3813 | set icon_z17; |
| | 3814 | } |
| | 3815 | node[public_transport=stop_position][monorail=yes] { |
| | 3816 | icon-image: "presets/transport/railway/monorail.svg"; |
| | 3817 | set icon_z17; |
| | 3818 | } |
| | 3819 | node[public_transport=stop_position][trolleybus=yes] { |
| | 3820 | icon-image: "presets/transport/trolleybus.svg"; |
| | 3821 | set icon_z17; |
| | 3822 | } |
| | 3823 | node[public_transport=stop_position][funicular=yes] { |
| | 3824 | icon-image: "presets/transport/railway/funicular.svg"; |
| | 3825 | set icon_z17; |
| | 3826 | } |
| | 3827 | node[public_transport=stop_position][aerialway=yes] { |
| | 3828 | icon-image: "presets/transport/aerialway/station.svg"; |
| | 3829 | set icon_z17; |
| | 3830 | } |
| | 3831 | node[public_transport=stop_position][ferry=yes] { |
| | 3832 | icon-image: "presets/nautical/ferry.svg"; |
| | 3833 | set icon_z17; |
| | 3834 | } |
| | 3835 | area[public_transport=platform]:closed { |
| | 3836 | fill-color: service#809bc0; |
| | 3837 | } |
| | 3838 | way[public_transport=platform]!:closed { |
| | 3839 | width: 3; |
| | 3840 | color: service#809bc0; |
| | 3841 | dashes: 12,3; |
| | 3842 | } |
| | 3843 | node[public_transport=platform] { |
| | 3844 | icon-image: "presets/transport/platform.svg"; |
| | 3845 | set icon_z17; |
| | 3846 | } |
| | 3847 | area[public_transport=station] { |
| | 3848 | fill-color: railwaypoint#f7efb7; |
| | 3849 | } |
| | 3850 | node[public_transport=station] { |
| | 3851 | icon-image: "presets/transport/station.svg"; |
| | 3852 | set icon_z17; |
| | 3853 | } |
| | 3854 | |
| | 3855 | /**************/ |
| | 3856 | /* sport tags */ |
| | 3857 | /**************/ |
| | 3858 | |
| | 3859 | area[sport="9pin"], |
| | 3860 | area[sport="10pin"], |
| | 3861 | area[sport=soccer], |
| | 3862 | area[sport=australian_football], |
| | 3863 | area[sport=american_football], |
| | 3864 | area[sport=canadian_football], |
| | 3865 | area[sport=gaelic_games], |
| | 3866 | area[sport=rugby_league], |
| | 3867 | area[sport=rugby_union] { |
| | 3868 | fill-color: sport#bde3cb; |
| | 3869 | } |
| | 3870 | node[sport="9pin"] { |
| | 3871 | icon-image: "presets/sport/9pin.svg"; |
| | 3872 | set icon_z17; |
| | 3873 | } |
| | 3874 | node[sport="10pin"] { |
| | 3875 | icon-image: "presets/sport/10pin.svg"; |
| | 3876 | set icon_z17; |
| | 3877 | } |
| | 3878 | node[sport=soccer], |
| | 3879 | node[sport=gaelic_games] { |
| | 3880 | icon-image: "presets/sport/soccer.svg"; |
| | 3881 | set icon_z17; |
| | 3882 | } |
| | 3883 | node[sport=australian_football], |
| | 3884 | node[sport=american_football], |
| | 3885 | node[sport=canadian_football], |
| | 3886 | node[sport=rugby_league], |
| | 3887 | node[sport=rugby_union] { |
| | 3888 | icon-image: "presets/sport/football.svg"; |
| | 3889 | set icon_z17; |
| | 3890 | } |
| | 3891 | area[sport=baseball], |
| | 3892 | area[sport=basketball], |
| | 3893 | area[sport=boules], |
| | 3894 | area[sport=bowls], |
| | 3895 | area[sport=canoe], |
| | 3896 | area[sport=chess], |
| | 3897 | area[sport=climbing]:closed, |
| | 3898 | area[sport=cricket], |
| | 3899 | area[sport=croquet] { |
| | 3900 | fill-color: sport#bde3cb; |
| | 3901 | } |
| | 3902 | node[sport=baseball] { |
| | 3903 | icon-image: "presets/sport/baseball.svg"; |
| | 3904 | set icon_z17; |
| | 3905 | } |
| | 3906 | node[sport=basketball] { |
| | 3907 | icon-image: "presets/sport/basketball.svg"; |
| | 3908 | set icon_z17; |
| | 3909 | } |
| | 3910 | node[sport=boules] { |
| | 3911 | icon-image: "presets/sport/boule.svg"; |
| | 3912 | set icon_z17; |
| | 3913 | } |
| | 3914 | node[sport=bowls] { |
| | 3915 | icon-image: "presets/sport/boule.svg"; |
| | 3916 | set icon_z17; |
| | 3917 | } |
| | 3918 | node[sport=canoe] { |
| | 3919 | icon-image: "presets/sport/canoe.svg"; |
| | 3920 | set icon_z17; |
| | 3921 | } |
| | 3922 | node[sport=chess] { |
| | 3923 | icon-image: "presets/sport/chess.svg"; |
| | 3924 | set icon_z17; |
| | 3925 | } |
| | 3926 | node[sport=climbing] { |
| | 3927 | icon-image: "presets/sport/climbing.svg"; |
| | 3928 | set icon_z17; |
| | 3929 | } |
| | 3930 | node[sport=cricket] { |
| | 3931 | icon-image: "presets/sport/cricket.svg"; |
| | 3932 | set icon_z17; |
| | 3933 | } |
| | 3934 | node[sport=croquet] { |
| | 3935 | icon-image: "presets/sport/croquet.svg"; |
| | 3936 | set icon_z17; |
| | 3937 | } |
| | 3938 | area[sport=cycling], |
| | 3939 | area[sport=dog_racing], |
| | 3940 | area[sport=equestrian], |
| | 3941 | area[sport=golf], |
| | 3942 | area[sport=gymnastics], |
| | 3943 | area[sport=field_hockey], |
| | 3944 | area[sport=ice_hockey], |
| | 3945 | area[sport=horse_racing], |
| | 3946 | area[sport=karting][highway!=raceway], |
| | 3947 | area[sport=karting][highway=raceway][area=yes], |
| | 3948 | area[sport=motocross][highway!=raceway], |
| | 3949 | area[sport=motocross][highway=raceway][area=yes], |
| | 3950 | area[sport=motor][highway!=raceway], |
| | 3951 | area[sport=motor][highway=raceway][area=yes] { |
| | 3952 | fill-color: sport#bde3cb; |
| | 3953 | } |
| | 3954 | node[sport=cycling] { |
| | 3955 | icon-image: "presets/sport/cycling.svg"; |
| | 3956 | set icon_z17; |
| | 3957 | } |
| | 3958 | node[sport=dog_racing] { |
| | 3959 | icon-image: "presets/sport/dog_racing.svg"; |
| | 3960 | set icon_z17; |
| | 3961 | } |
| | 3962 | node[sport=equestrian] { |
| | 3963 | icon-image: "presets/sport/equestrian.svg"; |
| | 3964 | set icon_z17; |
| | 3965 | } |
| | 3966 | node[sport=golf] { |
| | 3967 | icon-image: "presets/sport/golf.svg"; |
| | 3968 | set icon_z17; |
| | 3969 | } |
| | 3970 | node[sport=gymnastics] { |
| | 3971 | icon-image: "presets/sport/gymnastics.svg"; |
| | 3972 | set icon_z17; |
| | 3973 | } |
| | 3974 | node[sport=field_hockey] { |
| | 3975 | icon-image: "presets/sport/field_hockey.svg"; |
| | 3976 | set icon_z17; |
| | 3977 | } |
| | 3978 | node[sport=ice_hockey] { |
| | 3979 | icon-image: "presets/sport/ice_hockey.svg"; |
| | 3980 | set icon_z17; |
| | 3981 | } |
| | 3982 | node[sport=horse_racing] { |
| | 3983 | icon-image: "presets/sport/riding.svg"; |
| | 3984 | set icon_z17; |
| | 3985 | } |
| | 3986 | node[sport=karting] { |
| | 3987 | icon-image: "presets/sport/karting.svg"; |
| | 3988 | set icon_z17; |
| | 3989 | } |
| | 3990 | node[sport=motocross] { |
| | 3991 | icon-image: "presets/sport/motocross.svg"; |
| | 3992 | set icon_z17; |
| | 3993 | } |
| | 3994 | node[sport=motor] { |
| | 3995 | icon-image: "presets/sport/motor.svg"; |
| | 3996 | set icon_z17; |
| | 3997 | } |
| | 3998 | area[sport=athletics] { |
| | 3999 | fill-color: sport_athletics#cfebd7; |
| | 4000 | } |
| | 4001 | node[sport=athletics] { |
| | 4002 | icon-image: "presets/sport/athletics.svg"; |
| | 4003 | set icon_z17; |
| | 4004 | } |
| | 4005 | area[sport=running] { |
| | 4006 | fill-color: sport_running#cfebd8; |
| | 4007 | } |
| | 4008 | node[sport=running] { |
| | 4009 | icon-image: "presets/sport/running.svg"; |
| | 4010 | set icon_z17; |
| | 4011 | } |
| | 4012 | area[sport=multi] { |
| | 4013 | fill-color: sport_multi#cfebd9; |
| | 4014 | } |
| | 4015 | node[sport=multi] { |
| | 4016 | icon-image: "presets/sport/multi.svg"; |
| | 4017 | set icon_z17; |
| | 4018 | } |
| | 4019 | area[sport=pelota], |
| | 4020 | area[sport=racquet], |
| | 4021 | area[sport=ice_skating], |
| | 4022 | area[sport=roller_skating], |
| | 4023 | area[sport=skateboard] { |
| | 4024 | fill-color: sport#bde3cb; |
| | 4025 | } |
| | 4026 | node[sport=pelota] { |
| | 4027 | icon-image: "presets/sport/pelota.svg"; |
| | 4028 | set icon_z17; |
| | 4029 | } |
| | 4030 | node[sport=racquet] { |
| | 4031 | icon-image: "presets/sport/racquetball.svg"; |
| | 4032 | set icon_z17; |
| | 4033 | } |
| | 4034 | node[sport=ice_skating] { |
| | 4035 | icon-image: "presets/sport/ice_skating.svg"; |
| | 4036 | set icon_z17; |
| | 4037 | } |
| | 4038 | node[sport=roller_skating] { |
| | 4039 | icon-image: "presets/sport/roller_skating.svg"; |
| | 4040 | set icon_z17; |
| | 4041 | } |
| | 4042 | node[sport=skating] { |
| | 4043 | icon-image: "presets/misc/deprecated.svg"; |
| | 4044 | set icon_z17; |
| | 4045 | } |
| | 4046 | node[sport=skateboard] { |
| | 4047 | icon-image: "presets/sport/skateboard.svg"; |
| | 4048 | set icon_z17; |
| | 4049 | } |
| | 4050 | area[sport=swimming] { |
| | 4051 | fill-color: swimming_pool#51c4ef; |
| | 4052 | } |
| | 4053 | node[sport=swimming] { |
| | 4054 | icon-image: "presets/sport/swimming.svg"; |
| | 4055 | set icon_z17; |
| | 4056 | } |
| | 4057 | area[sport=table_tennis], |
| | 4058 | area[sport=tennis], |
| | 4059 | area[sport=paintball] { |
| | 4060 | fill-color: sport#bde3cb; |
| | 4061 | } |
| | 4062 | node[sport=table_tennis] { |
| | 4063 | icon-image: "presets/sport/table_tennis.svg"; |
| | 4064 | set icon_z17; |
| | 4065 | } |
| | 4066 | node[sport=tennis] { |
| | 4067 | icon-image: "presets/sport/tennis.svg"; |
| | 4068 | set icon_z17; |
| | 4069 | } |
| | 4070 | node[sport=paintball][!is_prop_set(icon-image)] { |
| | 4071 | icon-image: "presets/misc/no_icon.svg"; |
| | 4072 | set icon_z17; |
| | 4073 | } |
| | 4074 | area[sport=squash], |
| | 4075 | area[sport=shooting], |
| | 4076 | area[sport=volleyball], |
| | 4077 | area[sport=beachvolleyball], |
| | 4078 | area[sport=billiards], |
| | 4079 | area[sport=bowling], |
| | 4080 | area[sport=handball], |
| | 4081 | area[sport=rowing], |
| | 4082 | area[sport=sailing], |
| | 4083 | area[sport=scuba_diving], |
| | 4084 | area[sport=badminton] { |
| | 4085 | fill-color: sport#bde3cb; |
| | 4086 | } |
| | 4087 | node[sport=squash][!is_prop_set(icon-image)] { |
| | 4088 | icon-image: "presets/misc/no_icon.svg"; |
| | 4089 | set icon_z17; |
| | 4090 | } |
| | 4091 | node[sport=shooting] { |
| | 4092 | icon-image: "presets/sport/range.svg"; |
| | 4093 | set icon_z17; |
| | 4094 | } |
| | 4095 | node[sport=volleyball] { |
| | 4096 | icon-image: "presets/sport/volleyball.svg"; |
| | 4097 | set icon_z17; |
| | 4098 | } |
| | 4099 | node[sport=beachvolleyball] { |
| | 4100 | icon-image: "presets/sport/beachvolleyball.svg"; |
| | 4101 | set icon_z17; |
| | 4102 | } |
| | 4103 | node[sport=billiards] { |
| | 4104 | icon-image: "presets/sport/billiards.svg"; |
| | 4105 | set icon_z17; |
| | 4106 | } |
| | 4107 | node[sport=bowling] { |
| | 4108 | icon-image: "presets/sport/9pin.svg"; |
| | 4109 | set icon_z17; |
| | 4110 | } |
| | 4111 | node[sport=handball] { |
| | 4112 | icon-image: "presets/sport/handball.svg"; |
| | 4113 | set icon_z17; |
| | 4114 | } |
| | 4115 | node[sport=rowing] { |
| | 4116 | icon-image: "presets/sport/rowing.svg"; |
| | 4117 | set icon_z17; |
| | 4118 | } |
| | 4119 | node[sport=sailing][!is_prop_set(icon-image)] { |
| | 4120 | icon-image: "presets/misc/no_icon.svg"; |
| | 4121 | set icon_z17; |
| | 4122 | } |
| | 4123 | node[sport=scuba_diving] { |
| | 4124 | icon-image: "presets/sport/scuba_diving.svg"; |
| | 4125 | set icon_z17; |
| | 4126 | } |
| | 4127 | node[sport=badminton][!is_prop_set(icon-image)] { |
| | 4128 | icon-image: "presets/misc/no_icon.svg"; |
| | 4129 | set icon_z17; |
| | 4130 | } |
| | 4131 | area[sport=archery], |
| | 4132 | area[sport=fishing], |
| | 4133 | area[sport=model_aerodrome], |
| | 4134 | area[sport=rc_car] { |
| | 4135 | fill-color: sport#bde3cb; |
| | 4136 | } |
| | 4137 | node[sport=archery] { |
| | 4138 | icon-image: "presets/sport/archery.svg"; |
| | 4139 | set icon_z17; |
| | 4140 | } |
| | 4141 | node[sport=fishing] { |
| | 4142 | icon-image: "presets/sport/fishing.svg"; |
| | 4143 | set icon_z17; |
| | 4144 | } |
| | 4145 | node[sport=model_aerodrome] { |
| | 4146 | icon-image: "presets/transport/airport.svg"; |
| | 4147 | set icon_z17; |
| | 4148 | } |
| | 4149 | node[sport=rc_car] { |
| | 4150 | icon-image: "presets/sport/rc_car.svg"; |
| | 4151 | set icon_z17; |
| | 4152 | } |
| | 4153 | |
| | 4154 | /****************/ |
| | 4155 | /* natural tags */ |
| | 4156 | /****************/ |
| | 4157 | |
| | 4158 | area[natural=spring] { |
| | 4159 | fill-color: light_water#00005f; |
| | 4160 | } |
| | 4161 | node[natural=spring] { |
| | 4162 | icon-image: "presets/landmark/spring.svg"; |
| | 4163 | set icon_z17; |
| | 4164 | } |
| | 4165 | node[natural=saddle] { |
| | 4166 | icon-image: "presets/landmark/saddle.svg"; |
| | 4167 | set icon_z0; |
| | 4168 | set text_z0; |
| | 4169 | } |
| | 4170 | node[natural=peak] { |
| | 4171 | icon-image: "presets/landmark/peak.svg"; |
| | 4172 | set icon_z0; |
| | 4173 | set text_z0; |
| | 4174 | } |
| | 4175 | node[natural=peak][tourism=viewpoint] { |
| | 4176 | icon-image: "presets/sightseeing/peak_viewpoint.svg"; |
| | 4177 | set icon_z0; |
| | 4178 | set text_z0; |
| | 4179 | } |
| | 4180 | area[natural=glacier] { |
| | 4181 | fill-color: glacier#ffffff; |
| | 4182 | } |
| | 4183 | node[natural=volcano] { |
| | 4184 | icon-image: "presets/landmark/volcano.svg"; |
| | 4185 | set icon_z0; |
| | 4186 | set text_z0; |
| | 4187 | } |
| | 4188 | area[natural=cliff]:closed { |
| | 4189 | fill-color: natural#002f00; |
| | 4190 | } |
| | 4191 | way[natural=cliff] { |
| | 4192 | repeat-image: "presets/misc/cliff_pattern.svg"; |
| | 4193 | repeat-image-align: top; |
| | 4194 | width: 1; |
| | 4195 | color: #b2b2b2; |
| | 4196 | } |
| | 4197 | node[natural=cliff] { |
| | 4198 | icon-image: "presets/misc/cliff.svg"; |
| | 4199 | set icon_z17; |
| | 4200 | } |
| | 4201 | way[natural=ridge] { |
| | 4202 | width: 1; |
| | 4203 | color: natural#002f00; |
| | 4204 | } |
| | 4205 | way[natural=valley] { |
| | 4206 | width: 1; |
| | 4207 | color: natural#002f00; |
| | 4208 | } |
| | 4209 | area[natural=scree] { |
| | 4210 | fill-color: scree#c3c3c3; |
| | 4211 | } |
| | 4212 | area[natural=shingle] { |
| | 4213 | fill-color: shingle#c3c3c3; |
| | 4214 | } |
| | 4215 | area[natural=scrub] { |
| | 4216 | fill-color: scrub#007000; |
| | 4217 | } |
| | 4218 | area[natural=fell] { |
| | 4219 | fill-color: natural#002f00; |
| | 4220 | } |
| | 4221 | area[natural=heath] { |
| | 4222 | fill-color: heath#ffffc0; |
| | 4223 | } |
| | 4224 | way[natural=tree_row] { |
| | 4225 | width: 2; |
| | 4226 | color: woodarea#008000; |
| | 4227 | } |
| | 4228 | area[natural=wood] { |
| | 4229 | fill-color: woodarea#1c7a13; |
| | 4230 | } |
| | 4231 | area[natural=grassland] { |
| | 4232 | fill-color: green#b1e0c2; |
| | 4233 | } |
| | 4234 | area[natural=wetland] { |
| | 4235 | fill-color: marsh#4f4ff3; |
| | 4236 | } |
| | 4237 | area[natural=water] { |
| | 4238 | fill-color: water#0000ff; |
| | 4239 | } |
| | 4240 | area[natural=water][intermittent=yes] { |
| | 4241 | width: 2; |
| | 4242 | dashes: 15, 5; |
| | 4243 | } |
| | 4244 | way[natural=coastline] { |
| | 4245 | width: 2; |
| | 4246 | color: water#0000ff; |
| | 4247 | right-casing-color: water#0000ff; |
| | 4248 | right-casing-width: 8; |
| | 4249 | right-casing-opacity: 0.35; |
| | 4250 | } |
| | 4251 | area[natural=mud] { |
| | 4252 | fill-color: mud#cba762; |
| | 4253 | } |
| | 4254 | area[natural=beach] { |
| | 4255 | fill-color: beach#f8dba2; |
| | 4256 | } |
| | 4257 | area[natural=sand] { |
| | 4258 | fill-color: sand#f8dba2; |
| | 4259 | } |
| | 4260 | area[natural=bare_rock] { |
| | 4261 | fill-color: bare_rock#f8f8c7; |
| | 4262 | } |
| | 4263 | area[natural=rock] { |
| | 4264 | fill-color: stone#f8f8c7; |
| | 4265 | } |
| | 4266 | node[natural=rock] { |
| | 4267 | icon-image: "presets/misc/rock.svg"; |
| | 4268 | set icon_z17; |
| | 4269 | } |
| | 4270 | area[natural=stone] { |
| | 4271 | fill-color: stone#f8f8c7; |
| | 4272 | } |
| | 4273 | node[natural=stone] { |
| | 4274 | icon-image: "presets/misc/stone.svg"; |
| | 4275 | set icon_z17; |
| | 4276 | } |
| | 4277 | area[natural=bay], |
| | 4278 | area[natural=cape], |
| | 4279 | area[natural=cave_entrance] { |
| | 4280 | fill-color: natural#002f00; |
| | 4281 | } |
| | 4282 | node[natural=bay] { |
| | 4283 | icon-image: "presets/nautical/bay.svg"; |
| | 4284 | set icon_z17; |
| | 4285 | } |
| | 4286 | node[natural=cape] { |
| | 4287 | icon-image: "presets/nautical/cape.svg"; |
| | 4288 | set icon_z17; |
| | 4289 | } |
| | 4290 | area[natural=reef] { |
| | 4291 | fill-color: reef#80c9ff; |
| | 4292 | } |
| | 4293 | node[natural=reef] { |
| | 4294 | icon-image: "presets/landmark/reef.svg"; |
| | 4295 | set icon_z17; |
| | 4296 | } |
| | 4297 | node[natural=cave_entrance] { |
| | 4298 | icon-image: "presets/landmark/cave_entrance.svg"; |
| | 4299 | set icon_z17; |
| | 4300 | } |
| | 4301 | node[natural=tree] { |
| | 4302 | icon-image: "presets/landmark/trees.svg"; |
| | 4303 | set icon_z17; |
| | 4304 | } |
| | 4305 | node[natural=tree][type=conifer], |
| | 4306 | node[natural=tree][leaf_type=needleleaved] { |
| | 4307 | icon-image: "presets/landmark/trees_conifer.svg"; |
| | 4308 | set icon_z17; |
| | 4309 | } |
| | 4310 | node[natural=tree][type=broad_leaved], |
| | 4311 | node[natural=tree][leaf_type=broadleaved] { |
| | 4312 | icon-image: "presets/landmark/trees_broad_leaved.svg"; |
| | 4313 | set icon_z17; |
| | 4314 | } |
| | 4315 | node[natural=glacier], |
| | 4316 | node[natural=scree], |
| | 4317 | node[natural=shingle], |
| | 4318 | node[natural=scrub], |
| | 4319 | node[natural=fell], |
| | 4320 | node[natural=heath], |
| | 4321 | node[natural=tree_row], |
| | 4322 | node[natural=wood], |
| | 4323 | node[natural=grassland], |
| | 4324 | node[natural=wetland], |
| | 4325 | node[natural=water], |
| | 4326 | node[natural=coastline], |
| | 4327 | node[natural=mud], |
| | 4328 | node[natural=beach], |
| | 4329 | node[natural=sand], |
| | 4330 | node[natural=land], |
| | 4331 | node[natural=bare_rock], |
| | 4332 | node[natural=ridge], |
| | 4333 | node[natural=valley] { |
| | 4334 | icon-image: "presets/misc/deprecated.svg"; |
| | 4335 | set icon_z17; |
| | 4336 | } |
| | 4337 | /*****************/ |
| | 4338 | /* waterway tags */ |
| | 4339 | /*****************/ |
| | 4340 | |
| | 4341 | way|z15-[waterway=river][!tunnel] { |
| | 4342 | width: 7; |
| | 4343 | color: river#77d3de; |
| | 4344 | casing-width: 1; |
| | 4345 | casing-color: 3d6c71; |
| | 4346 | } |
| | 4347 | way|z-14[waterway=river][!tunnel] { |
| | 4348 | width: 4; |
| | 4349 | color: river#77d3de; |
| | 4350 | casing-width: 1; |
| | 4351 | casing-color: 3d6c71; |
| | 4352 | } |
| | 4353 | way|z15-[waterway=river][tunnel] { |
| | 4354 | width: 7; |
| | 4355 | color: river#618787; |
| | 4356 | casing-width: 1; |
| | 4357 | casing-color: 3d6c71; |
| | 4358 | } |
| | 4359 | way|z-14[waterway=river][tunnel] { |
| | 4360 | width: 4; |
| | 4361 | color: river#618787; |
| | 4362 | casing-width: 1; |
| | 4363 | casing-color: 3d6c71; |
| | 4364 | } |
| | 4365 | area[waterway=riverbank] { |
| | 4366 | fill-color: riverbanak#0000cf; |
| | 4367 | width: 1; |
| | 4368 | color: riverbank#0000cf; |
| | 4369 | } |
| | 4370 | way|z15-[waterway=pressurised], |
| | 4371 | way|z15-[waterway=canal] { |
| | 4372 | width: 7; |
| | 4373 | color: #77d3de; |
| | 4374 | casing-width: 1; |
| | 4375 | casing-color: 3d6c71; |
| | 4376 | } |
| | 4377 | way|z-14[waterway=pressurised], |
| | 4378 | way|z-14[waterway=canal] { |
| | 4379 | width: 4; |
| | 4380 | color: #77d3de; |
| | 4381 | casing-width: 1; |
| | 4382 | casing-color: 3d6c71; |
| | 4383 | } |
| | 4384 | way|z16-[waterway=pressurised] { |
| | 4385 | width: 4; |
| | 4386 | color: #77d3de; |
| | 4387 | casing-width: 1; |
| | 4388 | casing-color: 3d6c71; |
| | 4389 | } |
| | 4390 | way|z-14[waterway=pressurised] { |
| | 4391 | width: -2; |
| | 4392 | color: #77d3de; |
| | 4393 | casing-width: 1; |
| | 4394 | casing-color: 3d6c71; |
| | 4395 | } |
| | 4396 | way|z15-[waterway=stream][!tunnel] { |
| | 4397 | width: 4; |
| | 4398 | color: stream#77d3de; |
| | 4399 | casing-width: 1; |
| | 4400 | casing-color: 3d6c71; |
| | 4401 | } |
| | 4402 | way|z-14[waterway=stream][!tunnel] { |
| | 4403 | width: 2; |
| | 4404 | color: stream#77d3de; |
| | 4405 | casing-width: 1; |
| | 4406 | casing-color: 3d6c71; |
| | 4407 | } |
| | 4408 | way|z15-[waterway=stream][tunnel] { |
| | 4409 | width: 4; |
| | 4410 | color: stream#618787; |
| | 4411 | casing-width: 1; |
| | 4412 | casing-color: 3d6c71; |
| | 4413 | } |
| | 4414 | way|z-14[waterway=stream][tunnel] { |
| | 4415 | width: 2; |
| | 4416 | color: stream#618787; |
| | 4417 | casing-width: 1; |
| | 4418 | casing-color: 3d6c71; |
| | 4419 | } |
| | 4420 | way|z15-[waterway=ditch][!tunnel], |
| | 4421 | way|z15-[waterway=drain][!tunnel] { |
| | 4422 | width: 4; |
| | 4423 | color: water#8dabf3; |
| | 4424 | casing-width: 1; |
| | 4425 | casing-color: 3d6c71; |
| | 4426 | } |
| | 4427 | way|z-14[waterway=ditch][!tunnel], |
| | 4428 | way|z-14[waterway=drain][!tunnel] { |
| | 4429 | width: 2; |
| | 4430 | color: water#8dabf3; |
| | 4431 | casing-width: 1; |
| | 4432 | casing-color: 3d6c71; |
| | 4433 | } |
| | 4434 | way|z15-[waterway=ditch][tunnel], |
| | 4435 | way|z15-[waterway=drain][tunnel] { |
| | 4436 | width: 4; |
| | 4437 | color: water#618787; |
| | 4438 | casing-width: 1; |
| | 4439 | casing-color: 3d6c71; |
| | 4440 | } |
| | 4441 | way|z-14[waterway=ditch][tunnel], |
| | 4442 | way|z-14[waterway=drain][tunnel] { |
| | 4443 | width: 2; |
| | 4444 | color: water#618787; |
| | 4445 | casing-width: 1; |
| | 4446 | casing-color: 3d6c71; |
| | 4447 | } |
| | 4448 | way[waterway=river][intermittent=yes], |
| | 4449 | area[waterway=riverbank][intermittent=yes], |
| | 4450 | way[waterway=canal][intermittent=yes], |
| | 4451 | way[waterway=stream][intermittent=yes], |
| | 4452 | way[waterway=ditch][intermittent=yes], |
| | 4453 | way[waterway=drain][intermittent=yes] { |
| | 4454 | dashes: 7,3; |
| | 4455 | casing-dashes: 7,3; |
| | 4456 | } |
| | 4457 | area[waterway=dock] { |
| | 4458 | fill-color: dock#0000cf; |
| | 4459 | } |
| | 4460 | node[waterway=dock] { |
| | 4461 | icon-image: "presets/nautical/boatyard.svg"; |
| | 4462 | set icon_z17; |
| | 4463 | } |
| | 4464 | way[waterway=lock_gate] { |
| | 4465 | width: 3; |
| | 4466 | color: lock_gate#303030; |
| | 4467 | } |
| | 4468 | node[waterway=lock_gate] { |
| | 4469 | icon-image: "presets/nautical/lock_gate.svg"; |
| | 4470 | set icon_z17; |
| | 4471 | } |
| | 4472 | node[waterway=turning_point] { |
| | 4473 | icon-image: "presets/nautical/turning.svg"; |
| | 4474 | set icon_z17; |
| | 4475 | } |
| | 4476 | area[waterway=boatyard] { |
| | 4477 | fill-color: manmade#d8d8d8; |
| | 4478 | } |
| | 4479 | node[waterway=boatyard] { |
| | 4480 | icon-image: "presets/nautical/boatyard.svg"; |
| | 4481 | set icon_z17; |
| | 4482 | } |
| | 4483 | node[waterway=water_point], |
| | 4484 | node[waterway=waste_disposal], |
| | 4485 | node[waterway=mooring] { |
| | 4486 | icon-image: "presets/misc/deprecated.svg"; |
| | 4487 | set icon_z17; |
| | 4488 | } |
| | 4489 | node[mooring] { |
| | 4490 | icon-image: "presets/nautical/marina.svg"; |
| | 4491 | set icon_z17; |
| | 4492 | } |
| | 4493 | area[waterway=fuel] { |
| | 4494 | fill-color: amenity_traffic#f7efb7; |
| | 4495 | } |
| | 4496 | node[waterway=fuel] { |
| | 4497 | icon-image: "presets/nautical/marine_fuel.svg"; |
| | 4498 | set icon_z17; |
| | 4499 | } |
| | 4500 | way[waterway=weir] { |
| | 4501 | width: 2; |
| | 4502 | color: manmade#d8d8d8; |
| | 4503 | } |
| | 4504 | node[waterway=weir] { |
| | 4505 | icon-image: "presets/nautical/weir.svg"; |
| | 4506 | set icon_z17; |
| | 4507 | } |
| | 4508 | area[waterway=dam]:closed { |
| | 4509 | fill-color: manmade#d8d8d8; |
| | 4510 | } |
| | 4511 | way[waterway=dam] { |
| | 4512 | width: 2; |
| | 4513 | color: manmade#d8d8d8; |
| | 4514 | } |
| | 4515 | node[waterway=dam] { |
| | 4516 | icon-image: "presets/nautical/dam.svg"; |
| | 4517 | set icon_z17; |
| | 4518 | } |
| | 4519 | /* it's not possible to have both line and area, line seems more likely */ |
| | 4520 | way[waterway=waterfall] { |
| | 4521 | width: 2; |
| | 4522 | color: manmade#d8d8d8; |
| | 4523 | } |
| | 4524 | node[waterway=waterfall] { |
| | 4525 | icon-image: "presets/nautical/waterfall.svg"; |
| | 4526 | set icon_z17; |
| | 4527 | } |
| | 4528 | node[waterway=river], node[waterway=riverbank], |
| | 4529 | node[waterway=canal], node[waterway=wadi], |
| | 4530 | node[waterway=stream], |
| | 4531 | node[waterway=ditch], node[waterway=drain] { |
| | 4532 | icon-image: "presets/misc/deprecated.svg"; |
| | 4533 | set icon_z17; |
| | 4534 | } |
| | 4535 | |
| | 4536 | /**************/ |
| | 4537 | /* route tags */ |
| | 4538 | /**************/ |
| | 4539 | |
| | 4540 | way[route=ferry] { |
| | 4541 | width: 1; |
| | 4542 | color: ferry#809bc0; |
| | 4543 | dashes: 9,9; |
| | 4544 | } |
| | 4545 | node[route=bus], |
| | 4546 | node[route=ferry], |
| | 4547 | node[route=flight], |
| | 4548 | node[route=ncn], |
| | 4549 | node[route=subsea], |
| | 4550 | node[route=ski], |
| | 4551 | node[route=tour], |
| | 4552 | node[route=pub_crawl] { |
| | 4553 | icon-image: "presets/misc/deprecated.svg"; |
| | 4554 | set icon_z17; |
| | 4555 | } |
| | 4556 | |
| | 4557 | /*******************/ |
| | 4558 | /* properties tags */ |
| | 4559 | /*******************/ |
| | 4560 | |
| | 4561 | node[mountain_pass?] { |
| | 4562 | icon-image: "presets/landmark/mountain_pass.svg"; |
| | 4563 | set icon_z0; |
| | 4564 | set text_z0; |
| | 4565 | } |
| | 4566 | |
| | 4567 | /*****************/ |
| | 4568 | /* boundary tags */ |
| | 4569 | /*****************/ |
| | 4570 | |
| | 4571 | way[boundary=administrative]::core_boundary, |
| | 4572 | relation[boundary=administrative] > way::core_boundary, |
| | 4573 | way[boundary=postal_code]::core_boundary, |
| | 4574 | way[boundary=political]::core_boundary, |
| | 4575 | way[boundary=maritime]::core_boundary { |
| | 4576 | z-index: 2; |
| | 4577 | modifier: false; |
| | 4578 | width: 2; |
| | 4579 | color: boundary#FFFFFF; |
| | 4580 | casing-color: #82B5FE; |
| | 4581 | casing-width: 2; |
| | 4582 | dashes: 16,4,4,4; |
| | 4583 | } |
| | 4584 | way[boundary=protected_area]::core_boundary, |
| | 4585 | relation[boundary=protected_area] > way::core_boundary, |
| | 4586 | way[boundary=national_park]::core_boundary, |
| | 4587 | relation[boundary=national_park] > way::core_boundary { |
| | 4588 | z-index: 2; |
| | 4589 | modifier: false; |
| | 4590 | width: 2; |
| | 4591 | color: boundary#FFFFFF; |
| | 4592 | casing-color: #b0e298; |
| | 4593 | casing-width: 2; |
| | 4594 | dashes: 16,4,4,4; |
| | 4595 | } |
| | 4596 | |
| | 4597 | |
| | 4598 | node[boundary=national], |
| | 4599 | node[boundary=administrative], |
| | 4600 | node[boundary=postal_code], |
| | 4601 | node[boundary=political], |
| | 4602 | node[boundary=national_park] { |
| | 4603 | icon-image: "presets/misc/deprecated.svg"; |
| | 4604 | set icon_z17; |
| | 4605 | } |
| | 4606 | |
| | 4607 | /******************/ |
| | 4608 | /* maxspeed nodes */ |
| | 4609 | /******************/ |
| | 4610 | node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] { |
| | 4611 | icon-image: "presets/vehicle/restriction/maxspeed_none.svg"; |
| | 4612 | set icon_z17; |
| | 4613 | } |
| | 4614 | node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] { |
| | 4615 | maxspeedprop: tag(maxspeed); |
| | 4616 | set maxspeedclass; |
| | 4617 | } |
| | 4618 | node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] { |
| | 4619 | maxspeedprop: " ?"; |
| | 4620 | set maxspeedclass; |
| | 4621 | } |
| | 4622 | node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] { |
| | 4623 | maxspeedprop: get(split(" mph",tag(maxspeed)),0); |
| | 4624 | set maxspeedclass; |
| | 4625 | } |
| | 4626 | node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] { |
| | 4627 | maxspeedprop: get(split(" km/h",tag(maxspeed)),0); |
| | 4628 | set maxspeedclass; |
| | 4629 | } |
| | 4630 | node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] { |
| | 4631 | maxspeedprop: get(split(" knots",tag(maxspeed)),0); |
| | 4632 | set maxspeedclass; |
| | 4633 | } |
| | 4634 | node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg { |
| | 4635 | /* background (white) */ |
| | 4636 | symbol-shape: circle; |
| | 4637 | symbol-size: 17; |
| | 4638 | symbol-fill-color: white; |
| | 4639 | major-z-index: 4.2; |
| | 4640 | } |
| | 4641 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg, |
| | 4642 | node[traffic_sign][maxspeed=signals]::core_maxnodebg { |
| | 4643 | /* background (black) */ |
| | 4644 | symbol-fill-color: black; |
| | 4645 | } |
| | 4646 | node[prop(maxspeedclass, default)]::core_maxnodefg { |
| | 4647 | /* foreground (black text and red circle) */ |
| | 4648 | symbol-shape: circle; |
| | 4649 | symbol-size: 15; |
| | 4650 | symbol-stroke-color: crimson; |
| | 4651 | symbol-stroke-width: 2; |
| | 4652 | text: prop(maxspeedprop, default); |
| | 4653 | font-size: 8; |
| | 4654 | font-weight: bold; |
| | 4655 | text-color: black; |
| | 4656 | text-anchor-horizontal: center; |
| | 4657 | text-anchor-vertical: center; |
| | 4658 | text-offset-x: 0; |
| | 4659 | text-offset-y: -1; |
| | 4660 | major-z-index: 4.2; |
| | 4661 | } |
| | 4662 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg, |
| | 4663 | node[traffic_sign][maxspeed=signals]::core_maxnodefg { |
| | 4664 | /* foreground (white text) */ |
| | 4665 | text-color: white; |
| | 4666 | } |
| | 4667 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg { |
| | 4668 | symbol-shape: none; |
| | 4669 | } |
| | 4670 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg { |
| | 4671 | text: none; |
| | 4672 | symbol-shape: none; |
| | 4673 | } |
| | 4674 | |
| | 4675 | /**************/ |
| | 4676 | /* place tags */ |
| | 4677 | /**************/ |
| | 4678 | |
| | 4679 | area[setting("place_fill_colour")][place=continent], |
| | 4680 | area[setting("place_fill_colour")][place=country], |
| | 4681 | area[setting("place_fill_colour")][place=state], |
| | 4682 | area[setting("place_fill_colour")][place=region], |
| | 4683 | area[setting("place_fill_colour")][place=county], |
| | 4684 | area[setting("place_fill_colour")][place=city], |
| | 4685 | area[setting("place_fill_colour")][place=town], |
| | 4686 | area[setting("place_fill_colour")][place=village], |
| | 4687 | area[setting("place_fill_colour")][place=hamlet], |
| | 4688 | area[setting("place_fill_colour")][place=farm], |
| | 4689 | area[setting("place_fill_colour")][place=isolated_dwelling], |
| | 4690 | area[setting("place_fill_colour")][place=neighbourhood], |
| | 4691 | area[setting("place_fill_colour")][place=suburb], |
| | 4692 | area[setting("place_fill_colour")][place=locality], |
| | 4693 | area[place=island], |
| | 4694 | area[place=islet] { |
| | 4695 | fill-color: place#8de3cb; |
| | 4696 | set place; |
| | 4697 | } |
| | 4698 | node[place=continent], |
| | 4699 | node[place=country], |
| | 4700 | node[place=state], |
| | 4701 | node[place=region], |
| | 4702 | node[place=county], |
| | 4703 | node[place=city], |
| | 4704 | node[place=town], |
| | 4705 | node[place=suburb], |
| | 4706 | node[place=village], |
| | 4707 | node[place=quarter], |
| | 4708 | node[place=neighbourhood], |
| | 4709 | node[place=hamlet], |
| | 4710 | node[place=isolated_dwelling], |
| | 4711 | node[place=farm], |
| | 4712 | node[place=island], |
| | 4713 | node[place=islet] { |
| | 4714 | set icon_z0; |
| | 4715 | set text_z0; |
| | 4716 | font-weight: bold; |
| | 4717 | text-color:black; |
| | 4718 | text-halo-color: white; |
| | 4719 | text-halo-radius: 1; |
| | 4720 | set place; |
| | 4721 | } |
| | 4722 | |
| | 4723 | node[place=continent], |
| | 4724 | node[place=country], |
| | 4725 | node[place=state], |
| | 4726 | node[place=region], |
| | 4727 | node[place=county] { |
| | 4728 | icon-image: "presets/place/capital.svg"; |
| | 4729 | z-index: 2.9; |
| | 4730 | } |
| | 4731 | node[place=city] { |
| | 4732 | icon-image: "presets/place/city.svg"; |
| | 4733 | z-index: 2.8; |
| | 4734 | } |
| | 4735 | node[place=town] { |
| | 4736 | icon-image: "presets/place/town.svg"; |
| | 4737 | z-index: 2.7; |
| | 4738 | } |
| | 4739 | node[place=suburb] { |
| | 4740 | icon-image: "presets/place/suburb.svg"; |
| | 4741 | z-index: 2.6; |
| | 4742 | } |
| | 4743 | node[place=village] { |
| | 4744 | icon-image: "presets/place/village.svg"; |
| | 4745 | z-index: 2.5; |
| | 4746 | } |
| | 4747 | node[place=quarter] { |
| | 4748 | icon-image: "presets/place/quarter.svg"; |
| | 4749 | z-index: 2.5; |
| | 4750 | } |
| | 4751 | node[place=neighbourhood] { |
| | 4752 | icon-image: "presets/place/neighbourhood.svg"; |
| | 4753 | z-index: 2.4; |
| | 4754 | } |
| | 4755 | node[place=hamlet] { |
| | 4756 | icon-image: "presets/place/hamlet.svg"; |
| | 4757 | z-index: 2.3; |
| | 4758 | } |
| | 4759 | node[place=isolated_dwelling] { |
| | 4760 | icon-image: "presets/place/isolated_dwelling.svg"; |
| | 4761 | z-index: 2.2; |
| | 4762 | } |
| | 4763 | node[place=farm] { |
| | 4764 | icon-image: "presets/place/farm.svg"; |
| | 4765 | z-index: 2.1; |
| | 4766 | } |
| | 4767 | node|z15-[place=locality], |
| | 4768 | node|z-14[place=locality][!setting("hide_icons")] { |
| | 4769 | icon-image: "presets/place/locality.svg"; |
| | 4770 | font-weight: bold; |
| | 4771 | text-color: black; |
| | 4772 | text-halo-color: white; |
| | 4773 | text-halo-radius: 1; |
| | 4774 | } |
| | 4775 | node[place=island] { |
| | 4776 | icon-image: "presets/place/island.svg"; |
| | 4777 | } |
| | 4778 | node[place=islet] { |
| | 4779 | icon-image: "presets/place/islet.svg"; |
| | 4780 | } |
| | 4781 | |
| | 4782 | area[place=square] { |
| | 4783 | fill-color: place#8de3cb; |
| | 4784 | } |
| | 4785 | node[place=square] { |
| | 4786 | icon-image: "presets/place/square.svg"; |
| | 4787 | set icon_z17; |
| | 4788 | } |
| | 4789 | |
| | 4790 | /***************************/ |
| | 4791 | /* "work in progress" tags */ |
| | 4792 | /***************************/ |
| | 4793 | |
| | 4794 | node|z16-[fixme]::core_note_fixme, |
| | 4795 | node|z-15[fixme][!setting("hide_icons")]::core_note_fixme, |
| | 4796 | node|z16-[FIXME]::core_note_fixme, |
| | 4797 | node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme { |
| | 4798 | object-z-index: 10; |
| | 4799 | icon-image: "presets/misc/fixme_annotation.svg"; |
| | 4800 | } |
| | 4801 | node|z16-[note]::core_note_fixme, |
| | 4802 | node|z-15[note][!setting("hide_icons")]::core_note_fixme { |
| | 4803 | object-z-index: 10; |
| | 4804 | icon-image: "presets/misc/note_annotation.svg"; |
| | 4805 | } |
| | 4806 | node|z16-[note][fixme]::core_note_fixme, |
| | 4807 | node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme, |
| | 4808 | node|z16-[note][FIXME]::core_note_fixme, |
| | 4809 | node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme { |
| | 4810 | icon-image: "presets/misc/note_fixme_annotation.svg"; |
| | 4811 | } |
| | 4812 | |
| | 4813 | /****************************************/ |
| | 4814 | /* zoom levels and general node display */ |
| | 4815 | /****************************************/ |
| | 4816 | |
| | 4817 | /* |
| | 4818 | Summary of different zoom levels: |
| | 4819 | (any zoom) place=* (except locality and square) and a few natural icons with their text is shown |
| | 4820 | |z-14 tagged way nodes are hidden completely |
| | 4821 | |z-15 untagged way nodes are hidden completely |
| | 4822 | |z15 place=locality icon |
| | 4823 | |z16- fixme=* and note=* symbols; place=locality text |
| | 4824 | |z17- normal POI icons (without text), |
| | 4825 | street name along highway=* ways |
| | 4826 | |z18- text for normal POI icons is shown |
| | 4827 | |
| | 4828 | * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller |
| | 4829 | * all these zoom features are modifiable via style settings |
| | 4830 | * maxspeed icons should not be distinguishable from POIs with "icon-image" property |
| | 4831 | |
| | 4832 | */ |
| | 4833 | |
| | 4834 | node|z-16[setting("hide_icons")], |
| | 4835 | node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass, |
| | 4836 | node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass { |
| | 4837 | symbol-size: 2; |
| | 4838 | symbol-shape: square; |
| | 4839 | symbol-stroke-color: node_standard#ffff00; |
| | 4840 | major-z-index: 4.95; /* put node squares above line text */ |
| | 4841 | } |
| | 4842 | way > node|z-15[setting("shrink_nodes")]!:tagged { |
| | 4843 | symbol-shape: none; |
| | 4844 | } |
| | 4845 | node:connection { |
| | 4846 | symbol-stroke-color: node_connection#ffff00; |
| | 4847 | } |
| | 4848 | node:tagged { |
| | 4849 | symbol-stroke-color: none; |
| | 4850 | symbol-fill-color: node_tagged#00ffff; |
| | 4851 | } |
| | 4852 | way > node|z-14[setting("shrink_nodes")][setting("hide_tagged_waynodes")]:tagged { |
| | 4853 | symbol-shape: none; |
| | 4854 | } |
| | 4855 | |
| | 4856 | way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; } |
| | 4857 | |
| | 4858 | node|z17[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4859 | way > node|z17[setting("shrink_nodes")] { symbol-size: 2; } |
| | 4860 | node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; } |
| | 4861 | |
| | 4862 | node|z18[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4863 | way > node|z18[setting("shrink_nodes")] { symbol-size: 3; } |
| | 4864 | node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; } |
| | 4865 | |
| | 4866 | node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4867 | way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4868 | node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; } |
| | 4869 | |
| | 4870 | node[!setting("shrink_nodes")] { symbol-size: 4; } |
| | 4871 | way > node[!setting("shrink_nodes")] { symbol-size: 4; } |
| | 4872 | node[!setting("shrink_nodes")]:connection { symbol-size: 6; } |
| | 4873 | |
| | 4874 | node:selected { |
| | 4875 | symbol-shape: square; |
| | 4876 | symbol-size: 6; |
| | 4877 | symbol-fill-color: node_selected#ff0000; |
| | 4878 | symbol-stroke-color: node_selected#ff0000; |
| | 4879 | } |
| | 4880 | |
| | 4881 | node|z-16[setting("hide_icons")].icon_z17!.icon_z0, |
| | 4882 | relation|z-16[type=restriction][setting("hide_icons")] { |
| | 4883 | icon-image: none; |
| | 4884 | } |
| | 4885 | node|z-17[setting("hide_icons")]!.text_z0 { |
| | 4886 | text: none; |
| | 4887 | } |
| | 4888 | node|z16-17[setting("hide_icons")][place=locality] { |
| | 4889 | text: auto; |
| | 4890 | } |
| | 4891 | |
| | 4892 | node|z-18,area|z-18 { font-size: 8; } |
| | 4893 | node|z19,area|z19 { font-size: 9; } |
| | 4894 | node|z20-,area|z20- { font-size: 11; } |
| | 4895 | |
| | 4896 | node.place, way.place, area.place { font-size: 11; } |
| | 4897 | |
| | 4898 | |
| | 4899 | /*******************/ |
| | 4900 | /* way text labels */ |
| | 4901 | /*******************/ |
| | 4902 | |
| | 4903 | way|z18-[highway=motorway][setting("highway_labels")], |
| | 4904 | way|z18-[highway=motorway_link][setting("highway_labels")], |
| | 4905 | way|z18-[highway=trunk][setting("highway_labels")], |
| | 4906 | way|z18-[highway=trunk_link][setting("highway_labels")], |
| | 4907 | way|z18-[highway=primary][setting("highway_labels")], |
| | 4908 | way|z18-[highway=primary_link][setting("highway_labels")], |
| | 4909 | way|z18-[highway=secondary][setting("highway_labels")], |
| | 4910 | way|z18-[highway=secondary_link][setting("highway_labels")], |
| | 4911 | way|z18-[highway=tertiary][setting("highway_labels")], |
| | 4912 | way|z18-[highway=tertiary_link][setting("highway_labels")], |
| | 4913 | way|z18-[highway=unclassified][setting("highway_labels")], |
| | 4914 | way|z18-[highway=residential][setting("highway_labels")], |
| | 4915 | way|z18-[highway=living_street][setting("highway_labels")], |
| | 4916 | way|z18-[highway=escape][setting("highway_labels")], |
| | 4917 | way|z18-[highway=pedestrian][!area?][setting("highway_labels")], |
| | 4918 | way|z18-[highway=steps][setting("highway_labels")], |
| | 4919 | way|z18-[highway=footway][setting("highway_labels")], |
| | 4920 | way|z18-[highway=path][setting("highway_labels")], |
| | 4921 | way|z18-[highway=service][setting("highway_labels")], |
| | 4922 | way|z18-[highway=track][setting("highway_labels")], |
| | 4923 | way|z18-[highway=cycleway][setting("highway_labels")], |
| | 4924 | way|z18-[highway=bridleway][setting("highway_labels")], |
| | 4925 | way|z18-[highway=bus_guideway][setting("highway_labels")], |
| | 4926 | way|z18-[highway=raceway][setting("highway_labels")], |
| | 4927 | way|z18-[highway=construction][setting("highway_labels")], |
| | 4928 | way|z18-[highway=road][setting("highway_labels")] { |
| | 4929 | text: auto; |
| | 4930 | text-color: black; |
| | 4931 | font-size: 10; |
| | 4932 | text-position: line; |
| | 4933 | text-halo-opacity: 1; |
| | 4934 | text-halo-radius: 1.5; |
| | 4935 | } |
| | 4936 | way|z18-[highway=motorway][setting("highway_labels")], |
| | 4937 | way|z18-[highway=motorway_link][setting("highway_labels")] { |
| | 4938 | text-halo-color: motorway#809bc0; |
| | 4939 | } |
| | 4940 | way|z18-[highway=trunk][setting("highway_labels")], |
| | 4941 | way|z18-[highway=trunk_link][setting("highway_labels")] { |
| | 4942 | text-halo-color: trunk#7fc97f; |
| | 4943 | } |
| | 4944 | way|z18-[highway=primary][setting("highway_labels")], |
| | 4945 | way|z18-[highway=primary_link][setting("highway_labels")] { |
| | 4946 | text-halo-color: primary#fb805f; |
| | 4947 | } |
| | 4948 | way|z18-[highway=secondary][setting("highway_labels")], |
| | 4949 | way|z18-[highway=secondary_link][setting("highway_labels")] { |
| | 4950 | text-halo-color: secondary#fdbf6f; |
| | 4951 | } |
| | 4952 | way|z18-[highway=tertiary][setting("highway_labels")], |
| | 4953 | way|z18-[highway=tertiary_link][setting("highway_labels")] { |
| | 4954 | text-halo-color: tertiary#f7f496; |
| | 4955 | } |
| | 4956 | way|z18-[highway=unclassified][setting("highway_labels")], |
| | 4957 | way|z18-[highway=residential][setting("highway_labels")], |
| | 4958 | way|z18-[highway=living_street][setting("highway_labels")], |
| | 4959 | way|z18-[highway=escape][setting("highway_labels")] { |
| | 4960 | text-halo-color: street#c0c0c0; |
| | 4961 | } |
| | 4962 | way|z18-[highway=pedestrian][!area?][setting("highway_labels")], |
| | 4963 | way|z18-[highway=steps][setting("highway_labels")], |
| | 4964 | way|z18-[highway=footway][setting("highway_labels")], |
| | 4965 | way|z18-[highway=path][setting("highway_labels")] { |
| | 4966 | text-halo-color: foot#00ff00; |
| | 4967 | } |
| | 4968 | way|z18-[highway=service][setting("highway_labels")] { |
| | 4969 | text-halo-color: service#809bc0; |
| | 4970 | } |
| | 4971 | way|z18-[highway=track][setting("highway_labels")] { |
| | 4972 | text-halo-color: highway_track#6e541c; |
| | 4973 | } |
| | 4974 | way|z18-[highway=cycleway][setting("highway_labels")], |
| | 4975 | way|z18-[highway=path][setting("highway_labels")].cyclecolor { |
| | 4976 | text-halo-color: bicycle#b100ff; |
| | 4977 | } |
| | 4978 | way|z18-[highway=bridleway][setting("highway_labels")] { |
| | 4979 | text-halo-color: horse#a18559; |
| | 4980 | } |
| | 4981 | way|z18-[highway=bus_guideway][setting("highway_labels")] { |
| | 4982 | text-halo-color: rail#404040; |
| | 4983 | } |
| | 4984 | way|z18-[highway=raceway][setting("highway_labels")] { |
| | 4985 | text-halo-color: raceway#ff80ff; |
| | 4986 | } |
| | 4987 | way|z18-[highway=construction][setting("highway_labels")] { |
| | 4988 | text-halo-color: construction#ffff00; |
| | 4989 | } |
| | 4990 | way|z18-[highway=road][setting("highway_labels")] { |
| | 4991 | text-halo-color: highway_road#770000; |
| | 4992 | } |
| | 4993 | way|z18-[highway][railway=platform][setting("highway_labels")] { |
| | 4994 | text-halo-color: rail#404040; |
| | 4995 | } |
| | 4996 | way|z18-[highway][public_transport=platform][setting("highway_labels")] { |
| | 4997 | text-halo-color: service#809bc0; |
| | 4998 | } |
| | 4999 | way|z19[highway][setting("highway_labels")] { |
| | 5000 | font-size: 11; |
| | 5001 | } |
| | 5002 | way|z20-[highway][setting("highway_labels")] { |
| | 5003 | font-size: 12; |
| | 5004 | } |
| | 5005 | |
| | 5006 | /*************/ |
| | 5007 | /* Area fill */ |
| | 5008 | /*************/ |
| | 5009 | |
| | 5010 | /* small extent for unclosed area (see below for closed) */ |
| | 5011 | area[setting("partial_fill")] { |
| | 5012 | fill-extent: 15; |
| | 5013 | } |
| | 5014 | |
| | 5015 | /* Turn partial fill off and use plain fill, when the partial fill covers about |
| | 5016 | 100% of the area. This reduces artifacts (typically for incomplete multipolygons). |
| | 5017 | Switching between full and partial fill while drawing an area might be irritating, |
| | 5018 | so only do this at low zoom. */ |
| | 5019 | area|z-13[setting("partial_fill")] { |
| | 5020 | fill-extent-threshold: 1.0; |
| | 5021 | } |
| | 5022 | |
| | 5023 | /* Larger extent for closed areas. |
| | 5024 | Turn partial fill off, when it covers more than about 50% of the area. This avoids |
| | 5025 | areas with small unfilled patches in the center. */ |
| | 5026 | area[setting("partial_fill")]:closed2 { |
| | 5027 | fill-extent: 25; |
| | 5028 | fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5); |
| | 5029 | } |
| | 5030 | }}} |