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