Changeset 18188 in josm for trunk/resources


Ignore:
Timestamp:
2021-09-01T22:13:04+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21268 - Warn about levels=* and ignore it in "Presets do not contain property key" (patch by skyper)

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

Legend:

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

    r17959 r18188  
    504504}
    505505
    506 /* #10837 */
     506/* #10837, #21268 */
    507507*[building][levels],
    508 *[building:part=yes][levels] {
     508*[building:part][levels] {
    509509  throwWarning: tr("{0} is deprecated", "{1.key}");
    510510  suggestAlternative: "building:levels";
    511511  group: tr("deprecated tagging");
    512512  fixChangeKey: "levels => building:levels";
     513  set levels_building;
     514}
     515*[levels]!.levels_building {
     516  throwWarning: tr("Unusual key {0}, maybe {1} or {2} is meant", "{0.key}", "level", "building:levels");
    513517}
    514518
  • trunk/resources/data/validator/ignoretags.cfg

    r18102 r18188  
    703703K:landuse=school
    704704E:role
     705E:levels
    705706;
    706707; 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.