Changeset 18736 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2023-05-24T21:49:54+02:00 (19 months ago)
Author:
taylor.smock
Message:

Fix #22957: parking:orientation is deprecated (patch by Famlam and JeroenHoek)

parking:orientation was introduced by a proposal on 2020-11-28 (JeroenHoek was
one of the authors). parking:orientation was deprecated by a new proposal on
2022-12-08.

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

Legend:

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

    r18719 r18736  
    24652465}
    24662466
     2467/* Tag was renamed, see #22957 */
     2468area[parking:orientation][!orientation] {
     2469  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2470  group: tr("deprecated tagging");
     2471  suggestAlternative: "{1.key}={0.value}";
     2472  fixChangeKey: "{0.key} => {1.key}";
     2473}
     2474area[parking:orientation][orientation]["parking:orientation"=*orientation] {
     2475  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2476  group: tr("deprecated tagging");
     2477  fixRemove: "{0.key}";
     2478}
     2479area[parking:orientation][orientation]["parking:orientation"!=*orientation] {
     2480  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2481  group: tr("deprecated tagging");
     2482  suggestAlternative: "{1.key}={0.value}";
     2483  suggestAlternative: "{1.key}={1.value}";
     2484}
     2485
    24672486/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r18731 r18736  
    741741K:surface=paving_stones:30
    742742E:site_type
     743E:parking:orientation
    743744;
    744745; 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.