Changeset 15715 in josm for trunk/data/validator


Ignore:
Timestamp:
2020-01-17T21:00:40+01:00 (6 years ago)
Author:
Klumbumbus
Message:
  • fix #18571 - deprecate unnamed=yes in favor of noname=yes
  • fix #18572, see #16458 - add guidepost role to other route relation presets too
  • fix #18573 - add isced:level to education presets
Location:
trunk/data/validator
Files:
3 edited

Legend:

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

    r15648 r15715  
    18791879  group: tr("deprecated tagging");
    18801880}
     1881
     1882/* #18571 */
     1883*[unnamed=yes] {
     1884  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1885  suggestAlternative: "noname=yes";
     1886  fixChangeKey: "unnamed => noname";
     1887  group: tr("deprecated tagging");
     1888}
  • trunk/data/validator/ignoretags.cfg

    r15694 r15715  
    7272E:rcn_ref
    7373E:lcn_ref
     74E:isced:level
    7475E:place_name
    7576E:cycleway
  • trunk/data/validator/numeric.mapcss

    r15383 r15715  
    398398  assertMatch: "way aeroway=aerodrome icao=EQQQ";
    399399}
     400
     401/* #18573 */
     402*[isced:level][isced:level !~ /^(0|1|2|3|4|5|6|7|8)((;|-)(1|2|3|4|5|6|7|8))*$/] {
     403  throwWarning: tr("unusual value of {0}", "{0.key}");
     404  assertMatch: "node isced:level=secondary";
     405  assertMatch: "node isced:level=0,1,2,3";
     406  assertMatch: "node isced:level=9";
     407  assertMatch: "node isced:level=10";
     408  assertNoMatch: "node isced:level=0;1;2;3";
     409  assertNoMatch: "node isced:level=0";
     410  assertNoMatch: "node isced:level=5";
     411  assertNoMatch: "node isced:level=0-3";
     412}
Note: See TracChangeset for help on using the changeset viewer.