Changeset 1127 in josm for trunk/styles/standard


Ignore:
Timestamp:
2008-12-14T00:43:23+01:00 (15 years ago)
Author:
ulfl
Message:

add some barrier rules, currently doing nothing more than the generic rule
add a amenity=signpost rule
mark amenity=park_bench and highway=stile as deprecated
add comments, why stuff is deprecated and mention the new alternatives

File:
1 edited

Legend:

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

    r1119 r1127  
    302302        </rule>
    303303        <rule>
     304                <condition k="barrier" v="hedge"/>
     305                <icon annotate="true" src="misc/no_icon.png"/>
     306                <scale_min>1</scale_min>
     307                <scale_max>50000</scale_max>
     308        </rule>
     309        <rule>
     310                <condition k="barrier" v="stile"/>
     311                <icon annotate="true" src="vehicle/stile.png"/>
     312                <scale_min>1</scale_min>
     313                <scale_max>50000</scale_max>
     314        </rule>
     315        <rule>
     316                <condition k="barrier" v="fence"/>
     317                <icon annotate="true" src="misc/no_icon.png"/>
     318                <scale_min>1</scale_min>
     319                <scale_max>50000</scale_max>
     320        </rule>
     321        <rule>
     322                <condition k="barrier" v="wood_fence"/>
     323                <icon annotate="true" src="misc/no_icon.png"/>
     324                <scale_min>1</scale_min>
     325                <scale_max>50000</scale_max>
     326        </rule>
     327        <rule>
     328                <condition k="barrier" v="wire_fence"/>
     329                <icon annotate="true" src="misc/no_icon.png"/>
     330                <scale_min>1</scale_min>
     331                <scale_max>50000</scale_max>
     332        </rule>
     333        <rule>
     334                <condition k="barrier" v="cycle_barrier"/>
     335                <icon annotate="true" src="misc/no_icon.png"/>
     336                <scale_min>1</scale_min>
     337                <scale_max>50000</scale_max>
     338        </rule>
     339        <rule>
    304340                <condition k="barrier"/>
    305341                <icon annotate="true" src="misc/no_icon.png" priority="-10000"/>
     
    532568                <condition k="highway" v="gate"/>
    533569                <icon annotate="true" src="vehicle/gate.png"/>
    534                 <scale_min>1</scale_min>
    535                 <scale_max>50000</scale_max>
    536         </rule>
    537 
    538         <rule>
    539                 <condition k="highway" v="stile"/>
    540                 <icon annotate="true" src="vehicle/stile.png"/>
    541570                <scale_min>1</scale_min>
    542571                <scale_max>50000</scale_max>
     
    19852014
    19862015        <rule>
    1987                 <condition k="amenity" v="park_bench"/>
    1988                 <area colour="amenity2#f7efb7"/>
    1989                 <icon annotate="true" src="recreation/bench.png"/>
    1990                 <scale_min>1</scale_min>
    1991                 <scale_max>50000</scale_max>
    1992         </rule>
    1993 
    1994         <rule>
    19952016                <condition k="amenity" v="bench"/>
    19962017                <area colour="amenity2#f7efb7"/>
     
    20322053        </rule>
    20332054
     2055        <rule>
     2056                <condition k="amenity" v="signpost"/>
     2057                <icon annotate="true" src="misc/no_icon.png"/>
     2058                <scale_min>1</scale_min>
     2059                <scale_max>40000</scale_max>
     2060        </rule>
     2061
    20342062<!--shop tags -->
    20352063
     
    36353663<!--"deprecated" tags -->
    36363664
     3665        <!-- historic=museum -> tourism=museum -->
    36373666        <rule>
    36383667                <condition k="historic" v="museum"/>
     
    36433672        </rule>
    36443673
     3674        <!-- man_made=power_wind -> power=generator and power_source=wind -->
    36453675        <rule>
    36463676                <condition k="man_made" v="power_wind"/>
     
    36513681        </rule>
    36523682
     3683        <!-- man_made=power_hydro -> power=generator and power_source=hydro -->
    36533684        <rule>
    36543685                <condition k="man_made" v="power_hydro"/>
     
    36593690        </rule>
    36603691
     3692        <!-- man_made=power_fossil -> power=generator and power_source=fossil -->
    36613693        <rule>
    36623694                <condition k="man_made" v="power_fossil"/>
     
    36673699        </rule>
    36683700
     3701        <!-- man_made=power_nuclear -> power=generator and power_source=nuclear -->
    36693702        <rule>
    36703703                <condition k="man_made" v="power_nuclear"/>
     
    36753708        </rule>
    36763709
     3710        <!-- highway classification now more detailed -->
    36773711        <rule>
    36783712                <condition k="highway" v="minor"/>
     
    36833717        </rule>
    36843718
     3719        <!-- amenity=park_bench -> amenity=bench -->
     3720        <rule>
     3721                <condition k="amenity" v="park_bench"/>
     3722                <area colour="deprecated#ff0000"/>
     3723                <icon annotate="true" src="misc/deprecated.png"/>
     3724                <scale_min>1</scale_min>
     3725                <scale_max>50000</scale_max>
     3726        </rule>
     3727
     3728        <!-- highway=stile -> barrier=stile -->
     3729        <rule>
     3730                <condition k="highway" v="stile"/>
     3731                <icon annotate="true" src="misc/deprecated.png"/>
     3732                <scale_min>1</scale_min>
     3733                <scale_max>50000</scale_max>
     3734        </rule>
     3735
    36853736        <!-- there's a bit confusion about this tag, the proposal says leisure, map features say tourism ?!? -->
    36863737        <rule>
Note: See TracChangeset for help on using the changeset viewer.