Changeset 11687 in josm


Ignore:
Timestamp:
2017-03-05T12:58:04+01:00 (10 months ago)
Author:
Don-vip
Message:

fix #14468 - don't raise warning "water without natural=water" for natural=strait and natural=bay, remove autofix

File:
1 edited

Legend:

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

    r11591 r11687  
    436436}
    437437
    438 /* #13138 */
    439 area:closed[water][natural!=water][water!=intermittent] { /* water=intermittent is deprecated and has an own warning */
     438/* #13138, 14468 */
     439area:closed[water][natural!~/water|bay|strait/][water!=intermittent] { /* water=intermittent is deprecated and has an own warning */
    440440  throwWarning: tr("{0} without {1}", "{1.key}", "{2.tag}");
    441441  group: tr("missing tag");
    442   fixAdd: "natural=water";
    443 }
    444 way!:closed[water][natural!=water][water!=intermittent] {
     442}
     443way!:closed[water][natural!~/water|bay|strait/][water!=intermittent] {
    445444  throwWarning: tr("{0} without {1}", "{1.key}", "{2.tag}");
    446445  group: tr("missing tag");
Note: See TracChangeset for help on using the changeset viewer.