Changeset 13998 in josm
- Timestamp:
- 2018-07-04T01:03:02+02:00 (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r13988 r13998 438 438 <chunk id="motorcycle_brands"> 439 439 <multiselect key="brand" text="Motorcycle brand" values="Aprillia;BMW;Ducati;Gilera;Harley-Davidson;Honda;Kawasaki;KTM;Kymco;Piaggio;Peugeot;Piaggio;Suzuki;Triumph;Vespa;Yamaha" values_no_i18n="true" /> 440 </chunk> 441 <chunk id="walking_routes_roles"> 442 <roles> 443 <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway|route=ferry"/> 444 <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/> 445 <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/> 446 <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost"/> 447 </roles> 440 448 </chunk> 441 449 <!-- Link chunks --> … … 11694 11702 <reference ref="route_hikebike_optionals" /> 11695 11703 </optional> 11696 <roles> 11697 <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway|route=ferry"/> 11698 <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/> 11699 <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/> 11700 </roles> 11704 <reference ref="walking_routes_roles" /> 11701 11705 </item> <!-- Hiking Route --> 11702 11706 <item name="Walking Route" icon="presets/misc/route.svg" type="relation" preset_name_label="true"> … … 11712 11716 <reference ref="route_hikebike_optionals" /> 11713 11717 </optional> 11714 <roles> 11715 <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway|route=ferry"/> 11716 <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/> 11717 <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/> 11718 </roles> 11718 <reference ref="walking_routes_roles" /> 11719 11719 </item> <!-- Walking Route --> 11720 11720 <item name="Riding Route" icon="presets/misc/route.svg" type="relation" preset_name_label="true"> -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
r13852 r13998 272 272 all.getLast().roles = (Roles) o; 273 273 lastrole = (Roles) o; 274 // #16458 - Make sure we don't duplicate role entries if used in a chunk/reference 275 lastrole.roles.clear(); 274 276 } else if (o instanceof Role) { 275 277 if (lastrole == null)
Note:
See TracChangeset
for help on using the changeset viewer.