Changeset 13218 in josm for trunk


Ignore:
Timestamp:
2017-12-17T23:01:15+01:00 (7 years ago)
Author:
Klumbumbus
Message:

don't display building=1 and building=y and add a warning with autofix for them (together used more than 1000 times atm, reoccurring problem see http://taghistory.raifer.tech/)

Location:
trunk
Files:
2 edited

Legend:

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

    r13049 r13218  
    11641164  group: tr("deprecated tagging");
    11651165}
     1166
     1167way[building=y],
     1168way[building=1] {
     1169  throwError: tr("{0}", "{0.tag}");
     1170  suggestAlternative: "building=yes";
     1171  group: tr("misspelled value");
     1172  fixAdd: "building=yes";
     1173}
  • trunk/styles/standard/elemstyles.mapcss

    r13156 r13218  
    297297    dashes: 2,2;
    298298}
    299 area[building][!building?!] {
     299area[building][!building?!][building!=y][building!=1] {
    300300    fill-color: building#cb9999;
    301301}
Note: See TracChangeset for help on using the changeset viewer.