Changeset 18719 in josm for trunk/resources/data/validator
- Timestamp:
- 2023-04-27T16:45:28+02:00 (19 months ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/deprecated.mapcss
r18647 r18719 2364 2364 } 2365 2365 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 2366 2399 /* #21954 decoturf was added to JOSM presets in r8123 and replaced with acrylic in r18404 */ 2367 2400 *[surface=decoturf] { -
trunk/resources/data/validator/ignoretags.cfg
r18680 r18719 575 575 K:vending=photos 576 576 K:vending=photo 577 K:vending=parcel_pickup 578 K:vending=parcel_mail_in 577 579 K:vending=parcel_pickup;parcel_mail_in 578 580 E:tracktype … … 744 746 K:amenity=childcare 745 747 K:amenity=loading_dock 746 K:amenity=parcel_locker747 748 K:amenity=payment_terminal 748 749 K:barrier=sliding_gate
Note:
See TracChangeset
for help on using the changeset viewer.