Changeset 15044 in josm for trunk/data


Ignore:
Timestamp:
2019-05-04T13:41:50+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #17633 - complain about even more descriptive names (patch by mkoniecz, modified)

File:
1 edited

Legend:

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

    r15005 r15044  
    9191}
    9292
    93 /* #17100, #17471, #17629 */
     93/* #17100, #17471, #17629, #17633 */
     94*[name][name=~/^(?i)(parc|park)$/][leisure=park],
    9495*[name][name=~/^(?i)(pond)$/][water=pond],
    9596*[name][name=~/^(?i)(chapel|chapelle|kapelle)$/][building=chapel],
     
    113114*[name][name=~/^(?i)(mairie|rathaus)$/][amenity=townhall],
    114115*[name][name=~/^(?i)(monument aux morts|war memorial)$/][historic=memorial][memorial=war_memorial],
     116*[name][name=~/^(?i)(school|école|Школа)$/][building=school],
    115117*[name][name=~/^(?i)(school|école|Школа)$/][amenity=school],
    116118*[name][name=~/^(?i)(école élémentaire)$/][amenity=school]["school:FR"="élémentaire"],
     
    150152  assertMatch: "way name=Cmentarz amenity=grave_yard";
    151153  assertNoMatch: "way name=kiosk amenity=grave_yard";
    152 } 
     154}
    153155*[name][name=~/^(?i)(house|casa|rumah|vivienda)$/][building][building!=house][building!=no] {
    154156  throwWarning: tr("{0}", "{0.tag}");
     
    162164  assertMatch: "way name=house building=yes";
    163165}
     166*[name][name=~/^(?i)(school|école|Школа)$/][building][building!=school][building!=no] {
     167  throwWarning: tr("{0}", "{0.tag}");
     168  group: tr("descriptive name");
     169  /* without fixRemove to avoid possible information loss */
     170}
Note: See TracChangeset for help on using the changeset viewer.