Changeset 18736 in josm for trunk/resources/data


Ignore:
Timestamp:
2023-05-24T21:49:54+02:00 (18 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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18733 r18736  
    27742774            <space />
    27752775            <label text="Only for street side parking: "/>
    2776             <combo key="parking:orientation" text="Orientation" values="diagonal,parallel,perpendicular" />
     2776            <combo key="orientation" text="Orientation" values="diagonal,parallel,perpendicular" />
    27772777        </item> <!-- Parking -->
    27782778        <item name="Parking Space" icon="presets/vehicle/parking/parking_space.svg" type="node,closedway" preset_name_label="true">
     
    29772977            <space />
    29782978            <label text="Only for street side parking: "/>
    2979             <combo key="parking:orientation" text="Orientation" values="diagonal,parallel,perpendicular" />
     2979            <combo key="orientation" text="Orientation" values="diagonal,parallel,perpendicular" />
    29802980        </item> <!-- Parking -->
    29812981        <item name="Motorcycle Dealer" icon="presets/vehicle/motorbike.svg" type="node,closedway,multipolygon" preset_name_label="true">
  • 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.