- Timestamp:
- 2009-01-25T18:38:06+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles/standard/elemstyles.xml
r1334 r1341 13 13 - colour 14 14 - priority 15 - dashed x - dashed line, length of dashes / spaces in x pixels 16 - dashedcolour second (background) colour of a dashed line 15 17 4. linemod attributes 16 18 - all line attributes … … 38 40 If both are given, the color name is introduced in preferences with that value. If only 39 41 code is given (e.g. #0000ff), it is used directly. If only name is given, either user 40 modified preferences or previous value is used. The color code can also have a hex value41 containingthe alpha channel (thus havin 8 hex digits instead of 6).42 modified preferences or previous value is used. The 6 hex digit color code can also 43 be appended by a hex value of the alpha channel (thus havin 8 hex digits instead of 6). 42 44 43 45 If a key/value pair matches more than one rule, the "rule that wins" is unpredicted … … 172 174 <scale_max>50000</scale_max> 173 175 </rule> 176 <rule> 177 <condition k="access" v="permissive"/> 178 <linemod mode="under" width="+2" colour="permissive#80ff80" dashed="2"/> 179 <icon annotate="true" src="misc/no_icon.png"/> 180 <scale_min>1</scale_min> 181 <scale_max>40000</scale_max> 182 </rule> 183 <rule> 184 <condition k="access" v="private"/> 185 <linemod mode="under" width="+2" colour="private#ff8080" dashed="2"/> 186 <icon annotate="true" src="misc/no_icon.png"/> 187 <scale_min>1</scale_min> 188 <scale_max>40000</scale_max> 189 </rule> 190 <rule> 191 <condition k="access" v="destination"/> 192 <linemod mode="under" width="+2" colour="destination#8080ff" dashed="2"/> 193 <icon annotate="true" src="misc/no_icon.png"/> 194 <scale_min>1</scale_min> 195 <scale_max>40000</scale_max> 196 </rule> 174 197 175 198 <rule> … … 504 527 <rule> 505 528 <condition k="highway" v="living_street"/> 506 <line width=" 1" realwidth="3" colour="street#c0c0c0"/>529 <line width="2" realwidth="3" colour="street#c0c0c0" dashed="9" dashedcolour="livingdashed#00ff00" /> 507 530 <icon annotate="true" src="misc/deprecated.png"/> 508 531 <scale_min>1</scale_min> … … 568 591 <rule> 569 592 <condition k="highway" v="bus_guideway"/> 570 <line width="1" realwidth="1" colour="bus#00ff00"/>593 <line width="1" colour="otherrail#404040" dashed="true"/> 571 594 <icon annotate="true" src="misc/deprecated.png"/> 572 595 <scale_min>1</scale_min> … … 600 623 <scale_min>1</scale_min> 601 624 <scale_max>50000</scale_max> 625 </rule> 626 627 <rule> 628 <condition k="traffic_sign" v="city_limit"/> 629 <icon annotate="true" src="vehicle/restrictions/citylimit.png"/> 630 <scale_min>1</scale_min> 631 <scale_max>40000</scale_max> 602 632 </rule> 603 633 … … 753 783 <rule> 754 784 <condition k="tracktype" v="grade1"/> 755 <line width="1" realwidth="3" colour="highway_track#006600"/>785 <line width="1" realwidth="3" dashed="2" colour="highway_track#006600"/> 756 786 <icon annotate="true" src="misc/deprecated.png"/> 757 787 <scale_min>1</scale_min> … … 761 791 <rule> 762 792 <condition k="tracktype" v="grade2"/> 763 <line width="1" realwidth="3" dashed=" 3" colour="highway_track#006600"/>793 <line width="1" realwidth="3" dashed="4" colour="highway_track#006600"/> 764 794 <icon annotate="true" src="misc/deprecated.png"/> 765 795 <scale_min>1</scale_min> … … 777 807 <rule> 778 808 <condition k="tracktype" v="grade4"/> 779 <line width="1" realwidth="3" dashed=" 9" colour="highway_track#006600"/>809 <line width="1" realwidth="3" dashed="8" colour="highway_track#006600"/> 780 810 <icon annotate="true" src="misc/deprecated.png"/> 781 811 <scale_min>1</scale_min> … … 785 815 <rule> 786 816 <condition k="tracktype" v="grade5"/> 787 <line width="1" realwidth="3" dashed="1 2" colour="highway_track#006600"/>817 <line width="1" realwidth="3" dashed="10" colour="highway_track#006600"/> 788 818 <icon annotate="true" src="misc/deprecated.png"/> 789 819 <scale_min>1</scale_min> … … 1042 1072 <rule> 1043 1073 <condition k="railway" v="narrow_gauge"/> 1044 <line width="1" colour="otherrail# 202020" dashed="true"/>1074 <line width="1" colour="otherrail#404040" dashed="true"/> 1045 1075 <icon annotate="true" src="misc/deprecated.png"/> 1046 1076 <scale_min>1</scale_min> … … 1050 1080 <rule> 1051 1081 <condition k="railway" v="monorail"/> 1052 <line width="1" colour="otherrail# 202020" dashed="true"/>1082 <line width="1" colour="otherrail#404040" dashed="true"/> 1053 1083 <icon annotate="true" src="misc/deprecated.png"/> 1054 1084 <scale_min>1</scale_min> … … 1059 1089 <condition k="railway" v="turntable"/> 1060 1090 <icon annotate="true" src="transport/turntable.png"/> 1061 <area colour="otherrail# 202020"/>1091 <area colour="otherrail#404040"/> 1062 1092 <scale_min>1</scale_min> 1063 1093 <scale_max>50000</scale_max> … … 2108 2138 <condition k="amenity" v="signpost"/> 2109 2139 <icon annotate="true" src="misc/no_icon.png"/> 2140 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/> 2110 2141 <scale_min>1</scale_min> 2111 2142 <scale_max>40000</scale_max> … … 3485 3516 <rule> 3486 3517 <condition k="surface" v="paved"/> 3487 <line width="1" realwidth="3" colour="street#c0c0c0"/>3488 <icon annotate="true" src="misc/ no_icon.png"/>3518 <linemod mode="under" width="0" dashedcolour="#505050"/> 3519 <icon annotate="true" src="misc/deprecated.png"/> 3489 3520 <scale_min>1</scale_min> 3490 3521 <scale_max>40000</scale_max> 3491 3522 </rule> 3523 <rule> 3524 <condition k="surface" v="unpaved"/> 3525 <linemod mode="under" width="0" dashedcolour="#301000"/> 3526 <icon annotate="true" src="misc/deprecated.png"/> 3527 <scale_min>1</scale_min> 3528 <scale_max>40000</scale_max> 3529 </rule> 3530 <rule> 3531 <condition k="surface" v="gravel"/> 3532 <linemod mode="under" width="0" dashedcolour="#100070"/> 3533 <icon annotate="true" src="misc/deprecated.png"/> 3534 <scale_min>1</scale_min> 3535 <scale_max>40000</scale_max> 3536 </rule> 3492 3537 3493 3538 <rule> 3494 3539 <condition k="surface" v="cobblestone"/> 3495 <line width="1" realwidth="3" colour="street#c0c0c0"/> 3496 <icon annotate="true" src="misc/no_icon.png"/> 3497 <scale_min>1</scale_min> 3498 <scale_max>40000</scale_max> 3499 </rule> 3500 3501 <rule> 3502 <condition k="surface" v="unpaved"/> 3503 <line width="1" realwidth="3" colour="street#c0c0c0"/> 3504 <icon annotate="true" src="misc/no_icon.png"/> 3540 <linemod mode="under" width="0" dashedcolour="#600060"/> 3541 <icon annotate="true" src="misc/deprecated.png"/> 3505 3542 <scale_min>1</scale_min> 3506 3543 <scale_max>40000</scale_max> … … 3714 3751 </rule> 3715 3752 3753 <rule> 3754 <condition k="addr:interpolation" v="odd"/> 3755 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/> 3756 <scale_min>1</scale_min> 3757 <scale_max>40000</scale_max> 3758 </rule> 3759 3760 <rule> 3761 <condition k="addr:interpolation" v="even"/> 3762 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/> 3763 <scale_min>1</scale_min> 3764 <scale_max>40000</scale_max> 3765 </rule> 3766 3767 <rule> 3768 <condition k="addr:interpolation" v="all"/> 3769 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/> 3770 <scale_min>1</scale_min> 3771 <scale_max>40000</scale_max> 3772 </rule> 3773 3716 3774 <!--"deprecated" tags --> 3717 3775 … … 3774 3832 <condition k="amenity" v="park_bench"/> 3775 3833 <area colour="deprecated#ff0000"/> 3834 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/> 3776 3835 <icon annotate="true" src="misc/deprecated.png"/> 3777 3836 <scale_min>1</scale_min> … … 3782 3841 <rule> 3783 3842 <condition k="highway" v="stile"/> 3843 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/> 3784 3844 <icon annotate="true" src="misc/deprecated.png"/> 3785 3845 <scale_min>1</scale_min> … … 3796 3856 </rule> 3797 3857 3798 <!-- miscellaneous other tags, not fit elsewhere -->3799 <rule>3800 <condition k="traffic_sign" v="city_limit"/>3801 <icon annotate="true" src="vehicle/restrictions/citylimit.png"/>3802 <scale_min>1</scale_min>3803 <scale_max>40000</scale_max>3804 </rule>3805 3806 <rule>3807 <condition k="addr:interpolation" v="odd"/>3808 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/>3809 <scale_min>1</scale_min>3810 <scale_max>40000</scale_max>3811 </rule>3812 3813 <rule>3814 <condition k="addr:interpolation" v="even"/>3815 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/>3816 <scale_min>1</scale_min>3817 <scale_max>40000</scale_max>3818 </rule>3819 3820 <rule>3821 <condition k="addr:interpolation" v="all"/>3822 <line width="1" realwidth="1" dashed="true" colour="address#1C86EE"/>3823 <scale_min>1</scale_min>3824 <scale_max>40000</scale_max>3825 </rule>3826 3827 3858 </rules>
Note:
See TracChangeset
for help on using the changeset viewer.