Ticket #21782: josm_21728_parcel_locker_v4.patch
File josm_21728_parcel_locker_v4.patch, 7.6 KB (added by , 3 years ago) |
---|
-
resources/data/validator/deprecated.mapcss
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/deprecated.mapcss b/resources/data/validator/deprecated.mapcss
a b 2350 2350 group: tr("deprecated tagging"); 2351 2351 } 2352 2352 2353 /* #21782 */ 2354 *[amenity=vending_machine][vending=parcel_mail_in], 2355 *[amenity=vending_machine][vending=parcel_pickup] { 2356 throwWarning: tr("{0} is deprecated", "{1.tag}"); 2357 suggestAlternative: "amenity=parcel_locker + {1.value}=yes"; 2358 fixAdd: "amenity=parcel_locker"; 2359 fixAdd: "{1.value}=yes"; 2360 fixRemove: "vending"; 2361 group: tr("deprecated tagging"); 2362 assertMatch: "node amenity=vending_machine vending=parcel_mail_in"; 2363 assertMatch: "node amenity=vending_machine vending=parcel_pickup"; 2364 } 2365 *[amenity=vending_machine][vending="parcel_mail_in;parcel_pickup"], 2366 *[amenity=vending_machine][vending="parcel_pickup;parcel_mail_in"] { 2367 throwWarning: tr("{0} is deprecated", "{1.tag}"); 2368 suggestAlternative: "amenity=parcel_locker + parcel_pickup=yes + parcel_mail_in=yes"; 2369 fixAdd: "amenity=parcel_locker"; 2370 fixAdd: "parcel_pickup=yes"; 2371 fixAdd: "parcel_mail_in=yes"; 2372 fixRemove: "vending"; 2373 group: tr("deprecated tagging"); 2374 assertMatch: "node amenity=vending_machine vending=parcel_mail_in;parcel_pickup"; 2375 assertMatch: "node amenity=vending_machine vending=parcel_pickup;parcel_mail_in"; 2376 } 2377 2353 2378 /* #21954 decoturf was added to JOSM presets in r8123 and replaced with acrylic in r18404 */ 2354 2379 *[surface=decoturf] { 2355 2380 throwWarning: tr("{0} is deprecated", "{0.tag}"); … … 2401 2426 group: tr("deprecated tagging"); 2402 2427 } 2403 2428 2404 /* temporary URLs, can be exte ded to other websites and other keys e.g. "url" or "website", #22397 */2429 /* temporary URLs, can be extended to other websites and other keys e.g. "url" or "website", #22397 */ 2405 2430 *[image][image=~/^https:\/\/westnordost.de\/p\//] { 2406 2431 throwWarning: tr("{0} with a temporary URL which may be outdated very soon", "{0.key}"); 2407 2432 fixRemove: "{0.key}"; -
resources/data/validator/ignoretags.cfg
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/ignoretags.cfg b/resources/data/validator/ignoretags.cfg
a b 572 572 K:vending=news_papers 573 573 K:vending=photos 574 574 K:vending=photo 575 K:vending=parcel_pickup 576 K:vending=parcel_mail_in 575 577 K:vending=parcel_pickup;parcel_mail_in 576 578 E:tracktype 577 579 E:area … … 738 740 K:advertising=board 739 741 K:amenity=childcare 740 742 K:amenity=loading_dock 741 K:amenity=parcel_locker742 743 K:amenity=payment_terminal 743 744 K:barrier=sliding_gate 744 745 K:boundary=forest_compartment -
resources/data/defaultpresets.xml
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/defaultpresets.xml b/resources/data/defaultpresets.xml
a b 7998 7998 <link wiki="Tag:amenity=vending_machine" /> 7999 7999 <space /> 8000 8000 <key key="amenity" value="vending_machine" /> 8001 <multiselect key="vending" text="Vending products" values="admission_tickets;animal_feed;bicycle_tube;cigarettes;coffee;condoms;drinks;elongated_coin;excrement_bags;food;fuel;milk;newspapers;parking_tickets;p arcel_pickup;parcel_mail_in;public_transport_tickets;SIM_cards;stamps;sweets;telephone_vouchers;toys;water" values_searchable="true" />8001 <multiselect key="vending" text="Vending products" values="admission_tickets;animal_feed;bicycle_tube;cigarettes;coffee;condoms;drinks;elongated_coin;excrement_bags;food;fuel;milk;newspapers;parking_tickets;public_transport_tickets;SIM_cards;stamps;sweets;telephone_vouchers;toys;water" values_searchable="true" /> 8002 8002 <text key="operator" text="Operator" /> 8003 8003 <text key="ref" text="Reference number" /> 8004 8004 <preset_link preset_name="Payment Methods" /> 8005 8005 </item> <!-- Vending Machine --> 8006 <item name="Parcel Locker" icon="presets/service/parcel_locker.svg" type="node,closedway" preset_name_label="true"> 8007 <link wiki="Tag:amenity=parcel_locker" /> 8008 <space/> 8009 <key key="amenity" value="parcel_locker" /> 8010 <text key="brand" text="Brand" /> 8011 <optional> 8012 <combo key="parcel_mail_in" text="Parcel mail in" values="yes,no,returns_only" values_sort="false" /> 8013 <combo key="parcel_pickup" text="Parcel pickup" values="yes,no" values_sort="false" /> 8014 <combo key="collection_times" text="Collection times" delimiter="|" values="Mo-Sa 09:00|Mo-Sa 08:00|Mo-Fr 09:00; Sa 07:00|Mo-Fr 17:30; Sa 12:00|Mo-Fr 15:00,19:00; Sa 15:10; Su 10:30" values_no_i18n="true" /> 8015 <space/> 8016 <reference ref="ref_operator" /> 8017 <space/> 8018 <reference ref="wheelchair" /> 8019 <reference ref="color" /> 8020 <space/> 8021 <check key="refrigerated" text="Refrigerated" /> 8022 </optional> 8023 <preset_link preset_name="Payment Methods" /> 8024 </item> <!-- Parcel Locker --> 8006 8025 <item name="Payment Methods" icon="presets/money/dollar.svg" type="node,way,closedway,multipolygon" preset_name_label="true"> 8007 8026 <link wiki="Key:payment" /> 8008 8027 <space /> -
new file resources/images/presets/service/parcel_locker.svg
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/images/presets/service/parcel_locker.svg b/resources/images/presets/service/parcel_locker.svg new file mode 100644
- + 1 <?xml version="1.0" encoding="utf-8"?> 2 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" 3 width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> 4 <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M3,0h10c1.7,0,3,1.3,3,3v10c0,1.7-1.3,3-3,3H3 5 c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/> 6 <path fill="#734A08" d="M3.4,6.2v5.5l5.6,2.7V8.9L3.4,6.2z"/> 7 <path fill="#734A08" d="M14.5,5.2L9.9,8.3l0,5.5l4.6-3L14.5,5.2z"/> 8 <path fill="#734A08" d="M8.5,1.5L3.4,5.2l5.6,2.7l5.6-3.6v0L8.5,1.5z"/> 9 <path fill="#734A08" d="M1.5,14.5h2.8v-0.9H2.4V2.4h1.9V1.5H1.5V14.5z"/> 10 </svg> -
resources/styles/standard/elemstyles.mapcss
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/styles/standard/elemstyles.mapcss b/resources/styles/standard/elemstyles.mapcss
a b 3560 3560 icon-image: "presets/service/excrement_bags.svg"; 3561 3561 set icon_z17; 3562 3562 } 3563 node[amenity=parcel_locker] { 3564 icon-image: "presets/service/parcel_locker.svg"; 3565 set icon_z17; 3566 } 3567 area[amenity=parcel_locker] { 3568 fill-color: parcel_locker#734a08; 3569 } 3563 3570 3564 3571 /**************/ 3565 3572 /* craft tags */