Changeset 9093 in josm for trunk/data


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/data
Files:
2 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}
Note: See TracChangeset for help on using the changeset viewer.