Changeset 7581 in josm for trunk


Ignore:
Timestamp:
2014-09-23T10:07:59+02:00 (10 years ago)
Author:
bastiK
Message:

applied #10546 - mapstyle: prioritize natural tags over sport tags (patch by Klumbumbus)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r7564 r7581  
    33183318}
    33193319
     3320/**************/
     3321/* sport tags */
     3322/**************/
     3323
     3324area[sport="9pin"],
     3325area[sport="10pin"],
     3326area[sport=athletics],
     3327area[sport=soccer],
     3328area[sport=australian_football],
     3329area[sport=american_football],
     3330area[sport=canadian_football],
     3331area[sport=gaelic_football],
     3332area[sport=rugby_league],
     3333area[sport=rugby_union] {
     3334    fill-color: sport#bde3cb;
     3335}
     3336node[sport="9pin"] {
     3337    icon-image: "sport/10pin.png";
     3338    set icon_z17;
     3339    text: auto;
     3340}
     3341node[sport="10pin"] {
     3342    icon-image: "sport/10pin.png";
     3343    set icon_z17;
     3344    text: auto;
     3345}
     3346node[sport=athletics] {
     3347    icon-image: "sport/athletics.png";
     3348    set icon_z17;
     3349    text: auto;
     3350}
     3351node[sport=soccer],
     3352node[sport=australian_football],
     3353node[sport=american_football],
     3354node[sport=canadian_football],
     3355node[sport=gaelic_football] {
     3356    icon-image: "sport/soccer.png";
     3357    set icon_z17;
     3358    text: auto;
     3359}
     3360node[sport=rugby_league],
     3361node[sport=rugby_union] {
     3362    icon-image: "sport/football.png";
     3363    set icon_z17;
     3364    text: auto;
     3365}
     3366area[sport=baseball],
     3367area[sport=basketball],
     3368area[sport=boules],
     3369area[sport=bowls],
     3370area[sport=canoe],
     3371area[sport=chess],
     3372area[sport=climbing]:closed,
     3373area[sport=cricket],
     3374area[sport=cricket_nets],
     3375area[sport=croquet] {
     3376    fill-color: sport#bde3cb;
     3377}
     3378node[sport=baseball] {
     3379    icon-image: "sport/baseball.png";
     3380    set icon_z17;
     3381    text: auto;
     3382}
     3383node[sport=basketball] {
     3384    icon-image: "sport/basketball.png";
     3385    set icon_z17;
     3386    text: auto;
     3387}
     3388node[sport=boules] {
     3389    icon-image: "sport/boule.png";
     3390    set icon_z17;
     3391    text: auto;
     3392}
     3393node[sport=bowls] {
     3394    icon-image: "sport/boule.png";
     3395    set icon_z17;
     3396    text: auto;
     3397}
     3398node[sport=canoe] {
     3399    icon-image: "sport/canoe.png";
     3400    set icon_z17;
     3401    text: auto;
     3402}
     3403node[sport=chess] {
     3404    icon-image: "sport/chess.png";
     3405    set icon_z17;
     3406    text: auto;
     3407}
     3408node[sport=climbing] {
     3409    icon-image: "sport/climbing.png";
     3410    set icon_z17;
     3411    text: auto;
     3412}
     3413node[sport=cricket] {
     3414    icon-image: "sport/cricket.png";
     3415    set icon_z17;
     3416    text: auto;
     3417}
     3418node[sport=cricket_nets] {
     3419    icon-image: "misc/no_icon.png";
     3420    set icon_z17;
     3421    text: auto;
     3422}
     3423node[sport=croquet] {
     3424    icon-image: "sport/croquet.png";
     3425    set icon_z17;
     3426    text: auto;
     3427}
     3428area[sport=cycling],
     3429area[sport=dog_racing],
     3430area[sport=equestrian],
     3431area[sport=golf],
     3432area[sport=gymnastics],
     3433area[sport=hockey],
     3434area[sport=horse_racing],
     3435area[sport=karting],
     3436area[sport=motocross],
     3437area[sport=motor] {
     3438    fill-color: sport#bde3cb;
     3439}
     3440node[sport=cycling] {
     3441    icon-image: "sport/cycling.png";
     3442    set icon_z17;
     3443    text: auto;
     3444}
     3445node[sport=dog_racing] {
     3446    icon-image: "leisure/dog.png";
     3447    set icon_z17;
     3448    text: auto;
     3449}
     3450node[sport=equestrian] {
     3451    icon-image: "sport/riding.png";
     3452    set icon_z17;
     3453    text: auto;
     3454}
     3455node[sport=golf] {
     3456    icon-image: "sport/golf.png";
     3457    set icon_z17;
     3458    text: auto;
     3459}
     3460node[sport=gymnastics] {
     3461    icon-image: "sport/multi.png";
     3462    set icon_z17;
     3463    text: auto;
     3464}
     3465node[sport=hockey] {
     3466    icon-image: "sport/hockey.png";
     3467    set icon_z17;
     3468    text: auto;
     3469}
     3470node[sport=horse_racing] {
     3471    icon-image: "sport/riding.png";
     3472    set icon_z17;
     3473    text: auto;
     3474}
     3475node[sport=karting] {
     3476    icon-image: "sport/karting.png";
     3477    set icon_z17;
     3478    text: auto;
     3479}
     3480node[sport=motocross] {
     3481    icon-image: "sport/motocross.png";
     3482    set icon_z17;
     3483    text: auto;
     3484}
     3485node[sport=motor] {
     3486    icon-image: "sport/motor.png";
     3487    set icon_z17;
     3488    text: auto;
     3489}
     3490area[sport=multi],
     3491area[sport=pelota],
     3492area[sport=racquet],
     3493area[sport=skating],
     3494area[sport=skateboard] {
     3495    fill-color: sport#bde3cb;
     3496}
     3497node[sport=multi] {
     3498    icon-image: "sport/multi.png";
     3499    set icon_z17;
     3500    text: auto;
     3501}
     3502node[sport=pelota] {
     3503    icon-image: "sport/pelota.png";
     3504    set icon_z17;
     3505    text: auto;
     3506}
     3507node[sport=racquet] {
     3508    icon-image: "sport/racquetball.png";
     3509    set icon_z17;
     3510    text: auto;
     3511}
     3512node[sport=skating] {
     3513    icon-image: "sport/skating.png";
     3514    set icon_z17;
     3515    text: auto;
     3516}
     3517node[sport=skateboard] {
     3518    icon-image: "sport/skateboard.png";
     3519    set icon_z17;
     3520    text: auto;
     3521}
     3522area[sport=swimming] {
     3523    fill-color: swimming_pool#51c4ef;
     3524}
     3525node[sport=swimming] {
     3526    icon-image: "sport/pool.png";
     3527    set icon_z17;
     3528    text: auto;
     3529}
     3530area[sport=skiing],
     3531area[sport=table_tennis],
     3532area[sport=tennis],
     3533area[sport=paintball] {
     3534    fill-color: sport#bde3cb;
     3535}
     3536node[sport=skiing] {
     3537    icon-image: "sport/skiing.png";
     3538    set icon_z17;
     3539    text: auto;
     3540}
     3541node[sport=table_tennis] {
     3542    icon-image: "sport/table_tennis.png";
     3543    set icon_z17;
     3544    text: auto;
     3545}
     3546node[sport=tennis] {
     3547    icon-image: "sport/tennis.png";
     3548    set icon_z17;
     3549    text: auto;
     3550}
     3551node[sport=paintball] {
     3552    icon-image: "misc/no_icon.png";
     3553    set icon_z17;
     3554    text: auto;
     3555}
     3556area[sport=squash],
     3557area[sport=shooting],
     3558area[sport=volleyball],
     3559area[sport=beachvolleyball],
     3560area[sport=bowling],
     3561area[sport=handball],
     3562area[sport=rowing],
     3563area[sport=sailing],
     3564area[sport=diving],
     3565area[sport=badminton] {
     3566    fill-color: sport#bde3cb;
     3567}
     3568node[sport=squash] {
     3569    icon-image: "misc/no_icon.png";
     3570    set icon_z17;
     3571    text: auto;
     3572}
     3573node[sport=shooting] {
     3574    icon-image: "misc/no_icon.png";
     3575    set icon_z17;
     3576    text: auto;
     3577}
     3578node[sport=volleyball] {
     3579    icon-image: "sport/volleyball.png";
     3580    set icon_z17;
     3581    text: auto;
     3582}
     3583node[sport=beachvolleyball] {
     3584    icon-image: "sport/beachvolleyball.png";
     3585    set icon_z17;
     3586    text: auto;
     3587}
     3588node[sport=bowling] {
     3589    icon-image: "sport/10pin.png";
     3590    set icon_z17;
     3591    text: auto;
     3592}
     3593node[sport=handball] {
     3594    icon-image: "sport/handball.png";
     3595    set icon_z17;
     3596    text: auto;
     3597}
     3598node[sport=rowing] {
     3599    icon-image: "sport/rowing.png";
     3600    set icon_z17;
     3601    text: auto;
     3602}
     3603node[sport=sailing] {
     3604    icon-image: "misc/no_icon.png";
     3605    set icon_z17;
     3606    text: auto;
     3607}
     3608node[sport=diving] {
     3609    icon-image: "sport/diving.png";
     3610    set icon_z17;
     3611    text: auto;
     3612}
     3613node[sport=badminton] {
     3614    icon-image: "misc/no_icon.png";
     3615    set icon_z17;
     3616    text: auto;
     3617}
     3618area[sport=archery],
     3619area[sport=fishing],
     3620area[sport=safety_training],
     3621area[sport=model_aerodrome],
     3622area[sport=rc_car] {
     3623    fill-color: sport#bde3cb;
     3624}
     3625node[sport=archery] {
     3626    icon-image: "sport/archery.png";
     3627    set icon_z17;
     3628    text: auto;
     3629}
     3630node[sport=fishing] {
     3631    icon-image: "sport/fishing.png";
     3632    set icon_z17;
     3633    text: auto;
     3634}
     3635node[sport=safety_training] {
     3636    icon-image: "sport/safety_training.png";
     3637    set icon_z17;
     3638    text: auto;
     3639}
     3640node[sport=model_aerodrome] {
     3641    icon-image: "transport/airport.png";
     3642    set icon_z17;
     3643    text: auto;
     3644}
     3645node[sport=rc_car] {
     3646    icon-image: "transport/car.png";
     3647    set icon_z17;
     3648    text: auto;
     3649}
     3650
    33203651/****************/
    33213652/* natural tags */
     
    36724003node[route=pub_crawl] {
    36734004    icon-image: "misc/deprecated.png";
    3674     set icon_z17;
    3675     text: auto;
    3676 }
    3677 
    3678 /**************/
    3679 /* sport tags */
    3680 /**************/
    3681 
    3682 area[sport="9pin"],
    3683 area[sport="10pin"],
    3684 area[sport=athletics],
    3685 area[sport=soccer],
    3686 area[sport=australian_football],
    3687 area[sport=american_football],
    3688 area[sport=canadian_football],
    3689 area[sport=gaelic_football],
    3690 area[sport=rugby_league],
    3691 area[sport=rugby_union] {
    3692     fill-color: sport#bde3cb;
    3693 }
    3694 node[sport="9pin"] {
    3695     icon-image: "sport/10pin.png";
    3696     set icon_z17;
    3697     text: auto;
    3698 }
    3699 node[sport="10pin"] {
    3700     icon-image: "sport/10pin.png";
    3701     set icon_z17;
    3702     text: auto;
    3703 }
    3704 node[sport=athletics] {
    3705     icon-image: "sport/athletics.png";
    3706     set icon_z17;
    3707     text: auto;
    3708 }
    3709 node[sport=soccer],
    3710 node[sport=australian_football],
    3711 node[sport=american_football],
    3712 node[sport=canadian_football],
    3713 node[sport=gaelic_football] {
    3714     icon-image: "sport/soccer.png";
    3715     set icon_z17;
    3716     text: auto;
    3717 }
    3718 node[sport=rugby_league],
    3719 node[sport=rugby_union] {
    3720     icon-image: "sport/football.png";
    3721     set icon_z17;
    3722     text: auto;
    3723 }
    3724 area[sport=baseball],
    3725 area[sport=basketball],
    3726 area[sport=boules],
    3727 area[sport=bowls],
    3728 area[sport=canoe],
    3729 area[sport=chess],
    3730 area[sport=climbing]:closed,
    3731 area[sport=cricket],
    3732 area[sport=cricket_nets],
    3733 area[sport=croquet] {
    3734     fill-color: sport#bde3cb;
    3735 }
    3736 node[sport=baseball] {
    3737     icon-image: "sport/baseball.png";
    3738     set icon_z17;
    3739     text: auto;
    3740 }
    3741 node[sport=basketball] {
    3742     icon-image: "sport/basketball.png";
    3743     set icon_z17;
    3744     text: auto;
    3745 }
    3746 node[sport=boules] {
    3747     icon-image: "sport/boule.png";
    3748     set icon_z17;
    3749     text: auto;
    3750 }
    3751 node[sport=bowls] {
    3752     icon-image: "sport/boule.png";
    3753     set icon_z17;
    3754     text: auto;
    3755 }
    3756 node[sport=canoe] {
    3757     icon-image: "sport/canoe.png";
    3758     set icon_z17;
    3759     text: auto;
    3760 }
    3761 node[sport=chess] {
    3762     icon-image: "sport/chess.png";
    3763     set icon_z17;
    3764     text: auto;
    3765 }
    3766 node[sport=climbing] {
    3767     icon-image: "sport/climbing.png";
    3768     set icon_z17;
    3769     text: auto;
    3770 }
    3771 node[sport=cricket] {
    3772     icon-image: "sport/cricket.png";
    3773     set icon_z17;
    3774     text: auto;
    3775 }
    3776 node[sport=cricket_nets] {
    3777     icon-image: "misc/no_icon.png";
    3778     set icon_z17;
    3779     text: auto;
    3780 }
    3781 node[sport=croquet] {
    3782     icon-image: "sport/croquet.png";
    3783     set icon_z17;
    3784     text: auto;
    3785 }
    3786 area[sport=cycling],
    3787 area[sport=dog_racing],
    3788 area[sport=equestrian],
    3789 area[sport=golf],
    3790 area[sport=gymnastics],
    3791 area[sport=hockey],
    3792 area[sport=horse_racing],
    3793 area[sport=karting],
    3794 area[sport=motocross],
    3795 area[sport=motor] {
    3796     fill-color: sport#bde3cb;
    3797 }
    3798 node[sport=cycling] {
    3799     icon-image: "sport/cycling.png";
    3800     set icon_z17;
    3801     text: auto;
    3802 }
    3803 node[sport=dog_racing] {
    3804     icon-image: "leisure/dog.png";
    3805     set icon_z17;
    3806     text: auto;
    3807 }
    3808 node[sport=equestrian] {
    3809     icon-image: "sport/riding.png";
    3810     set icon_z17;
    3811     text: auto;
    3812 }
    3813 node[sport=golf] {
    3814     icon-image: "sport/golf.png";
    3815     set icon_z17;
    3816     text: auto;
    3817 }
    3818 node[sport=gymnastics] {
    3819     icon-image: "sport/multi.png";
    3820     set icon_z17;
    3821     text: auto;
    3822 }
    3823 node[sport=hockey] {
    3824     icon-image: "sport/hockey.png";
    3825     set icon_z17;
    3826     text: auto;
    3827 }
    3828 node[sport=horse_racing] {
    3829     icon-image: "sport/riding.png";
    3830     set icon_z17;
    3831     text: auto;
    3832 }
    3833 node[sport=karting] {
    3834     icon-image: "sport/karting.png";
    3835     set icon_z17;
    3836     text: auto;
    3837 }
    3838 node[sport=motocross] {
    3839     icon-image: "sport/motocross.png";
    3840     set icon_z17;
    3841     text: auto;
    3842 }
    3843 node[sport=motor] {
    3844     icon-image: "sport/motor.png";
    3845     set icon_z17;
    3846     text: auto;
    3847 }
    3848 area[sport=multi],
    3849 area[sport=pelota],
    3850 area[sport=racquet],
    3851 area[sport=skating],
    3852 area[sport=skateboard] {
    3853     fill-color: sport#bde3cb;
    3854 }
    3855 node[sport=multi] {
    3856     icon-image: "sport/multi.png";
    3857     set icon_z17;
    3858     text: auto;
    3859 }
    3860 node[sport=pelota] {
    3861     icon-image: "sport/pelota.png";
    3862     set icon_z17;
    3863     text: auto;
    3864 }
    3865 node[sport=racquet] {
    3866     icon-image: "sport/racquetball.png";
    3867     set icon_z17;
    3868     text: auto;
    3869 }
    3870 node[sport=skating] {
    3871     icon-image: "sport/skating.png";
    3872     set icon_z17;
    3873     text: auto;
    3874 }
    3875 node[sport=skateboard] {
    3876     icon-image: "sport/skateboard.png";
    3877     set icon_z17;
    3878     text: auto;
    3879 }
    3880 area[sport=swimming] {
    3881     fill-color: swimming_pool#51c4ef;
    3882 }
    3883 node[sport=swimming] {
    3884     icon-image: "sport/pool.png";
    3885     set icon_z17;
    3886     text: auto;
    3887 }
    3888 area[sport=skiing],
    3889 area[sport=table_tennis],
    3890 area[sport=tennis],
    3891 area[sport=paintball] {
    3892     fill-color: sport#bde3cb;
    3893 }
    3894 node[sport=skiing] {
    3895     icon-image: "sport/skiing.png";
    3896     set icon_z17;
    3897     text: auto;
    3898 }
    3899 node[sport=table_tennis] {
    3900     icon-image: "sport/table_tennis.png";
    3901     set icon_z17;
    3902     text: auto;
    3903 }
    3904 node[sport=tennis] {
    3905     icon-image: "sport/tennis.png";
    3906     set icon_z17;
    3907     text: auto;
    3908 }
    3909 node[sport=paintball] {
    3910     icon-image: "misc/no_icon.png";
    3911     set icon_z17;
    3912     text: auto;
    3913 }
    3914 area[sport=squash],
    3915 area[sport=shooting],
    3916 area[sport=volleyball],
    3917 area[sport=beachvolleyball],
    3918 area[sport=bowling],
    3919 area[sport=handball],
    3920 area[sport=rowing],
    3921 area[sport=sailing],
    3922 area[sport=diving],
    3923 area[sport=badminton] {
    3924     fill-color: sport#bde3cb;
    3925 }
    3926 node[sport=squash] {
    3927     icon-image: "misc/no_icon.png";
    3928     set icon_z17;
    3929     text: auto;
    3930 }
    3931 node[sport=shooting] {
    3932     icon-image: "misc/no_icon.png";
    3933     set icon_z17;
    3934     text: auto;
    3935 }
    3936 node[sport=volleyball] {
    3937     icon-image: "sport/volleyball.png";
    3938     set icon_z17;
    3939     text: auto;
    3940 }
    3941 node[sport=beachvolleyball] {
    3942     icon-image: "sport/beachvolleyball.png";
    3943     set icon_z17;
    3944     text: auto;
    3945 }
    3946 node[sport=bowling] {
    3947     icon-image: "sport/10pin.png";
    3948     set icon_z17;
    3949     text: auto;
    3950 }
    3951 node[sport=handball] {
    3952     icon-image: "sport/handball.png";
    3953     set icon_z17;
    3954     text: auto;
    3955 }
    3956 node[sport=rowing] {
    3957     icon-image: "sport/rowing.png";
    3958     set icon_z17;
    3959     text: auto;
    3960 }
    3961 node[sport=sailing] {
    3962     icon-image: "misc/no_icon.png";
    3963     set icon_z17;
    3964     text: auto;
    3965 }
    3966 node[sport=diving] {
    3967     icon-image: "sport/diving.png";
    3968     set icon_z17;
    3969     text: auto;
    3970 }
    3971 node[sport=badminton] {
    3972     icon-image: "misc/no_icon.png";
    3973     set icon_z17;
    3974     text: auto;
    3975 }
    3976 area[sport=archery],
    3977 area[sport=fishing],
    3978 area[sport=safety_training],
    3979 area[sport=model_aerodrome],
    3980 area[sport=rc_car] {
    3981     fill-color: sport#bde3cb;
    3982 }
    3983 node[sport=archery] {
    3984     icon-image: "sport/archery.png";
    3985     set icon_z17;
    3986     text: auto;
    3987 }
    3988 node[sport=fishing] {
    3989     icon-image: "sport/fishing.png";
    3990     set icon_z17;
    3991     text: auto;
    3992 }
    3993 node[sport=safety_training] {
    3994     icon-image: "sport/safety_training.png";
    3995     set icon_z17;
    3996     text: auto;
    3997 }
    3998 node[sport=model_aerodrome] {
    3999     icon-image: "transport/airport.png";
    4000     set icon_z17;
    4001     text: auto;
    4002 }
    4003 node[sport=rc_car] {
    4004     icon-image: "transport/car.png";
    40054005    set icon_z17;
    40064006    text: auto;
Note: See TracChangeset for help on using the changeset viewer.