Changeset 9093 in josm


Ignore:
Timestamp:
2015-12-07T17:48:13+01:00 (9 years ago)
Author:
Klumbumbus
Message:

see #12135 - remove seamark=buoy and add deprecated warning; fix icon size of railway=signal

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9092 r9093  
    22612261            <key key="waterway" value="turning_point" />
    22622262        </item> <!-- Turning Point -->
    2263         <item name="Buoy" icon="styles/standard/nautical/buoy.svg" type="node" preset_name_label="true">
    2264             <link href="http://wiki.openstreetmap.org/wiki/Tag:seamark=buoy" />
    2265             <key key="seamark" value="buoy" />
    2266         </item> <!-- Buoy -->
    22672263        <separator/>
    22682264        <item name="Slipway" icon="styles/standard/nautical/slipway.png" type="node,way" preset_name_label="true">
  • trunk/data/validator/deprecated.mapcss

    r9088 r9093  
    564564  suggestAlternative: "landuse=farmyard";
    565565}
     566
     567/* #12135 comment:11 */
     568*[seamark=buoy]["seamark:type"=~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
     569  throwWarning: tr("{0} is deprecated", "{0.tag}");
     570  suggestAlternative: "{1.tag}";
     571  fixRemove: "seamark";
     572}
     573*[seamark=buoy]["seamark:type"!~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
     574  throwWarning: tr("{0} is deprecated", "{0.tag}");
     575  suggestAlternative: "{1.tag}";
     576}
  • trunk/styles/standard/elemstyles.mapcss

    r9092 r9093  
    34743474node[railway=signal] {
    34753475    icon-image: "vehicle/railway_signal.svg";
    3476     icon-width: 16;
    34773476    set icon_z17;
    34783477    text: auto;
     
    42264225node[waterway=turning_point] {
    42274226    icon-image: "nautical/turning.png";
    4228     set icon_z17;
    4229     text: auto;
    4230 }
    4231 node[seamark=buoy] {
    4232     icon-image: "nautical/buoy.svg";
    42334227    set icon_z17;
    42344228    text: auto;
Note: See TracChangeset for help on using the changeset viewer.