Changeset 17956 in josm for trunk/resources/data


Ignore:
Timestamp:
2021-07-07T22:28:37+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #20637 - Warn about role as a tag (patch by skyper)

Location:
trunk/resources/data/validator
Files:
2 edited

Legend:

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

    r17950 r17956  
    22842284}
    22852285
     2286/* #20637 */
     2287*[role] {
     2288  throwWarning: tr("{0} as a tag on an object. Roles are specified in the relation''s member lists instead.", "{0.tag}", "{0.key}");
     2289  assertMatch: "node role=stop";
     2290}
     2291
    22862292/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r17950 r17956  
    696696E:building:roof:shape
    697697K:landuse=school
     698E:role
    698699;
    699700; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.