Changeset 1629 in josm for trunk/styles


Ignore:
Timestamp:
2009-05-30T17:24:29+02:00 (11 years ago)
Author:
stoecker
Message:

close #2426 - now mappaint handles area types which require closed ways (e.g. cliff) correctly

File:
1 edited

Legend:

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

    r1556 r1629  
    2626        - colour
    2727        - priority
     28        - closed (true or false - when true the area style is ignored for unclosed ways)
    28296. icon attributes
    2930        - icon path to icon, relative to the icon path (default: subdirectory icons in
    3031          directory where this file is)
    3132        - priority
     33        - annonate (true or false)
    32347. scale_min / scale_max
    3335        - zoom scale for display
     
    353355                <condition k="barrier" v="bollard"/>
    354356                <icon annotate="true" src="vehicle/restriction/bollard.png"/>
    355         <line width="3" colour="barrier#F0F050"/>
     357                <line width="3" colour="barrier#F0F050" closed="true"/>
    356358                <scale_min>1</scale_min>
    357359                <scale_max>50000</scale_max>
     
    366368                <condition k="barrier" v="hedge"/>
    367369                <icon annotate="true" src="misc/deprecated.png"/>
    368         <line width="3" colour="barrier#F0F050"/>
    369         <area colour="barrier#F0F050"/>
     370                <line width="3" colour="barrier#F0F050"/>
     371                <area colour="barrier#F0F050" closed="true"/>
    370372                <scale_min>1</scale_min>
    371373                <scale_max>50000</scale_max>
     
    380382                <condition k="barrier" v="fence"/>
    381383                <icon annotate="true" src="misc/deprecated.png"/>
    382         <line width="3" colour="barrier#F0F050"/>
    383         <area colour="barrier#F0F050"/>
     384                <line width="3" colour="barrier#F0F050"/>
     385                <area colour="barrier#F0F050" closed="true"/>
    384386                <scale_min>1</scale_min>
    385387                <scale_max>50000</scale_max>
     
    400402                <condition k="barrier" v="wall"/>
    401403                <icon annotate="true" src="misc/deprecated.png"/>
    402         <line width="3" colour="barrier#F0F050"/>
    403         <area colour="barrier#F0F050"/>
     404                <line width="3" colour="barrier#F0F050"/>
     405                <area colour="barrier#F0F050" closed="true"/>
    404406                <scale_min>1</scale_min>
    405407                <scale_max>50000</scale_max>
     
    408410                <condition k="barrier" v="toll_booth"/>
    409411                <icon annotate="true" src="vehicle/toll_booth.png"/>
    410         <area colour="barrier#F0F050"/>
     412                <area colour="barrier#F0F050" closed="true"/>
    411413                <scale_min>1</scale_min>
    412414                <scale_max>50000</scale_max>
     
    421423                <condition k="barrier" v="city_wall"/>
    422424                <icon annotate="true" src="misc/deprecated.png"/>
    423         <line width="3" colour="barrier#F0F050"/>
    424         <area colour="barrier#F0F050"/>
     425                <line width="3" colour="barrier#F0F050"/>
     426                <area colour="barrier#F0F050" closed="true"/>
    425427                <scale_min>1</scale_min>
    426428                <scale_max>50000</scale_max>
     
    435437                <condition k="barrier" v="retaining_wall"/>
    436438                <icon annotate="true" src="misc/deprecated.png"/>
    437         <line width="3" colour="barrier#F0F050"/>
    438         <area colour="barrier#F0F050"/>
     439                <line width="3" colour="barrier#F0F050"/>
     440                <area colour="barrier#F0F050" closed="true"/>
    439441                <scale_min>1</scale_min>
    440442                <scale_max>50000</scale_max>
     
    449451                <condition k="barrier" v="block"/>
    450452                <icon annotate="true" src="misc/no_icon.png"/>
    451         <line width="3" colour="barrier#F0F050"/>
    452         <area colour="barrier#F0F050"/>
     453                <line width="3" colour="barrier#F0F050"/>
     454                <area colour="barrier#F0F050" closed="true"/>
    453455                <scale_min>1</scale_min>
    454456                <scale_max>50000</scale_max>
     
    668670                <condition k="highway" v="pedestrian"/>
    669671                <line width="3" realwidth="5" colour="foot#00ff00"/>
    670                 <!-- seems to be common to use area=yes for areas here -->
    671                 <!-- some people seem to have problems that polylines displayed as areas, so comment this out -->
    672                 <!--<area colour="foot#00ff00"/>-->
     672                <area colour="foot#00ff00" closed="true"/>
    673673                <icon annotate="true" src="misc/deprecated.png"/>
    674674                <scale_min>1</scale_min>
     
    849849        <rule>
    850850                <condition k="junction" v="roundabout"/>
    851                 <area colour="roundabout#eeeeee"/>
     851                <area colour="roundabout#eeeeee" closed="true"/>
    852852                <!-- tagging a node makes no real sense, a roundabout should be tagged with several nodes, or a highway=mini_roundabout should probably be used -->
    853853                <icon annotate="true" src="misc/deprecated.png"/>
     
    12181218                <icon annotate="true" src="misc/deprecated.png"/>
    12191219                <line width="2" colour="rail#404040"/>
    1220                 <area colour="rail#404040"/>
     1220                <area colour="rail#404040" closed="true"/>
    12211221                <scale_min>1</scale_min>
    12221222                <scale_max>50000</scale_max>
     
    15271527        <rule>
    15281528                <condition k="man_made" v="pier"/>
    1529                 <!-- seems to be common to use area=yes for areas here -->
    1530                 <!-- some people seem to have problems that polylines displayed as areas, so comment this out -->
    1531                 <!--<area colour="pier#660000"/>-->
     1529                <area colour="pier#660000" closed="true"/>
    15321530                <line width="2" colour="pier#660000"/>
    15331531                <icon annotate="true" src="nautical/pier.png"/>
     
    32673265                <icon src="misc/no_icon.png"/>
    32683266                <line width="2" colour="natural#002f00"/>
    3269                 <area colour="natural#002f00"/>
     3267                <area colour="natural#002f00" closed="true"/>
    32703268                <scale_min>1</scale_min>
    32713269                <scale_max>50000</scale_max>
Note: See TracChangeset for help on using the changeset viewer.