Opened 6 years ago
Last modified 4 years ago
#17078 new enhancement
[PATCH] update clothes in preset
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Internal preset | Version: | |
Keywords: | Cc: |
Description
Include clothes=* in the shop=clothes
preset and, as a bonus, also update the keys in Motorcycle Dealer
.
From this:
We now have this:
Ugly Motorcycle Dealer preset due to #17077; unsure if there is a better way to do this.
-
data/defaultpresets.xml
diff --git a/data/defaultpresets.xml b/data/defaultpresets.xml index 23b13a97b..7e29ee731 100644
a b 3641 3641 <reference ref="motorcycle_brands" /> 3642 3642 <text key="operator" text="Operator" /> 3643 3643 <reference ref="oh_wheelchair" /> 3644 <combo key="second_hand" text="Second hand" values="only,yes,no" />3645 3644 <optional text="Services:"> 3646 < combo key="sale" text="Sale" values="yes,brand,no" />3647 < combo key="rental" text="Rental" values="yes,brand,no" />3648 < combo key="repair" text="Repair" values="yes,brand,oldtimer,no" />3649 < combo key="safety_inspection" text="Safety inspection" values="yes,DEKRA,GTÜ,MOT,TÜV,no" />3650 <c ombo key="parts" text="Parts" values="yes,brand,oldtimer,no" />3651 <c ombo key="clothes" text="Clothes" values="yes,brand,no" />3652 < text key="services" text="Other" />3645 <multiselect key="motorcycle:sales" text="Sale" values="yes;used" /> 3646 <multiselect key="motorcycle:rental" text="Rental" values="yes;trailer" /> 3647 <multiselect key="motorcycle:parts" text="Parts" values="yes;brand;custom;exhaust;luggage;sidecar" /> 3648 <multiselect key="motorcycle:type" text="Type" values="standard;dualsport;offroad;chopper;sportbike;scooter;all;electric" /> 3649 <check key="motorcycle:repair" text="Repair" /> 3650 <check key="motorcycle:tyres" text="Tyres" /> 3651 <check key="motorcycle:clothes" text="Clothes" /> 3653 3652 </optional> 3654 3653 <reference ref="link_contact_address_payment" /> 3655 3654 </item> <!-- Motorcycle Dealer --> … … 9064 9063 <space /> 9065 9064 <key key="shop" value="clothes" /> 9066 9065 <reference ref="name_oh_wheelchair" /> 9066 <multiselect key="clothes" text="Clothes" values="babies;children;costumes;denim;fashion;fur;hats;leather;maternity;men;oversize;schoolwear;sports;suits;swimwear;traditional;underwear;wedding;women;workwear" /> 9067 9067 <combo key="second_hand" text="Second hand" values="only,yes,no" /> 9068 9068 <combo key="organic" text="Organic" values="only,yes,no" /> 9069 9069 <reference ref="link_contact_address_payment" />
Attachments (0)
Change History (4)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
From 4 years ago the usage has increased:
iD and Vespucci (search for <chunk id="clothes">
at https://raw.githubusercontent.com/simonpoole/beautified-JOSM-preset/master/master_preset.xml) also support it at their presets.
comment:3 by , 4 years ago
A solution would be to sort out the gender/age to cloth:for=children/women/men
and leave cloth=*
for the type of clothing.
comment:4 by , 4 years ago
clothes was added, see #11245. Not sure about the current status of the different tagging schemas with and without motorcycle: prefix
clothes=* was discussed in the past at #11245