Ignore:
Timestamp:
2023-04-27T16:45:28+02:00 (3 years ago)
Author:
taylor.smock
Message:

Fix #21782: Deprecate vending=parcel_pickup (patch by gaben, modified)

On 2022-01-03, the osmwiki:Proposed_features/amenity=parcel_locker was approved.
It specifically deprecated vending=parcel_pickup and vending_parcel_mail_in.

File:
1 edited

Legend:

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

    r18647 r18719  
    23642364}
    23652365
     2366/* #21782 */
     2367*[amenity=vending_machine][vending=parcel_mail_in],
     2368*[amenity=vending_machine][vending=parcel_pickup] {
     2369  set .parcel_fixable;
     2370  throwWarning: tr("{0} is deprecated", "{1.tag}");
     2371  suggestAlternative: "amenity=parcel_locker + {1.value}=yes";
     2372  fixAdd: "amenity=parcel_locker";
     2373  fixAdd: "{1.value}=yes";
     2374  fixRemove: "vending";
     2375  group: tr("deprecated tagging");
     2376  assertMatch: "node amenity=vending_machine vending=parcel_mail_in";
     2377  assertMatch: "node amenity=vending_machine vending=parcel_pickup";
     2378}
     2379*[amenity=vending_machine][vending][vending~=parcel_mail_in][vending~=parcel_pickup][count(uniq_list(split(";", tag("vending")))) == 2] {
     2380  set .parcel_fixable;
     2381  throwWarning: tr("{0} is deprecated", "{1.tag}");
     2382  suggestAlternative: "amenity=parcel_locker + parcel_pickup=yes + parcel_mail_in=yes";
     2383  fixAdd: "amenity=parcel_locker";
     2384  fixAdd: "parcel_pickup=yes";
     2385  fixAdd: "parcel_mail_in=yes";
     2386  fixRemove: "vending";
     2387  group: tr("deprecated tagging");
     2388  assertMatch: "node amenity=vending_machine vending=parcel_mail_in;parcel_pickup";
     2389  assertMatch: "node amenity=vending_machine vending=parcel_pickup;parcel_mail_in";
     2390}
     2391*[amenity=vending_machine][vending~=parcel_mail_in]!.parcel_fixable,
     2392*[amenity=vending_machine][vending~=parcel_pickup]!.parcel_fixable {
     2393  throwWarning: tr("{0} is deprecated", "{1.tag}");
     2394  suggestAlternative: "amenity=parcel_locker + {1.value}=yes";
     2395  assertMatch: "node amenity=vending_machine vending=parcel_pickup;stamp";
     2396  group: tr("deprecated tagging");
     2397}
     2398
    23662399/* #21954 decoturf was added to JOSM presets in r8123 and replaced with acrylic in r18404 */
    23672400*[surface=decoturf] {
Note: See TracChangeset for help on using the changeset viewer.