Changeset 11476 in josm


Ignore:
Timestamp:
2017-01-17T21:04:47+01:00 (7 months ago)
Author:
Klumbumbus
Message:
  • fix #14256 - warn about aeroway=aerodrome|helipad + area=yes
  • warn about values of area different from yes and no
Location:
trunk/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/deprecated.mapcss

    r11409 r11476  
    11191119}
    11201120
     1121way[area][area!=yes][area!=no] {
     1122  throwError: tr("wrong value: {0}", "{0.tag}");
     1123  suggestAlternative: "area=yes";
     1124  suggestAlternative: "area=no";
     1125}
     1126
    11211127/* #13953 */
    11221128*[amenity=hunting_stand][lock=yes],
  • trunk/data/validator/unnecessary.mapcss

    r11153 r11476  
    2525}
    2626
     27/* #14256 */
     28area:closed[aeroway=aerodrome][area?],
     29area:closed[aeroway=helipad][area?] {
     30  throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.tag}");
     31  group: tr("unnecessary tag");
     32  fixRemove: "{2.key}";
     33}
     34
    2735*[emergency=permissive] {
    2836  /* see #9458 - emergency=permissive makes no sense */
Note: See TracChangeset for help on using the changeset viewer.