Ticket #19489: Waters.xml

File Waters.xml, 5.7 KB (added by AlaskaDave, 4 years ago)

The preset "River source" caused the error but the preset for "Dam" and others work fine. The preset "River section" will also cause an error. (I have disabled error reporting for this bug during this session so I get no response for either of the two presets now.)

Line 
1<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
2 <!-- 2016-12-16 Substituted 'use_last_as_default="force" match="key"="true"' for ' use_last_as_default="true" ' - to make it happen -->
3
4 <group name="Waters" >
5 <item name="Waterways" type="way" icon="presets/river.png" >
6 <combo key="waterway" text="Type of waterway" values_sort="false" values="river,stream,canal,drain,ditch" default="stream" />
7 <text key="name" text="Name" default=""/>
8 <text key="name:th" text="Name:th" />
9 <text key="name:en" text="Name:en" />
10 <space/>
11 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Bing;USGS Topo;Maxar;ESRI World;GPS;survey" use_last_as_default="force" match="key" />
12 <space/>
13 <multiselect key="source:name" text="Source(s) of name" values_sort="false" values="USGS Topo;personal_knowledge;survey;physical sign on bridge;local_interview" />
14 <optional>
15 <combo key="service" text="Used for" values_sort="false" values="irrigation,transportation,water_power" default="" />
16 <check key="intermittent" text="Intermittent?" disable_off="true" />
17 <text key="est_width" text="Estimated Width" />
18 <check key="seasonal" text="Seasonal?" disable_off="true" />
19 <check key="boat" text="Boat (y/n)" />
20 <text key="destination" text="Destination river" />
21 <combo key="note" text="Note" />
22 <text key="ref" text="Reference" />
23 <text key="wikipedia" text="Wikipedia (en:)" />
24 <text key="wikidata" text="Q-number" />
25 </optional>
26 </item>
27 <item name="Lakes/Ponds" icon="presets/water.png" type="node,closedway" >
28 <label text="Tagging a pond or lake" />
29 <key key="natural" value="water" />
30 <combo key="water" text="Pond, Reservoir, Lake" values_sort="false" values="pond,lake,reservoir,oxbow,lagoon" />
31 <text key="name" text="Name" />
32 <text key="ele" text="Elevation" />
33 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Maxar-Premium;Maxar-Standard;Bing;ESRI Clarity;USGS Topo;survey" use_last_as_default="force" match="key" />
34 <multiselect key="source:name" text="Source(s) of name" values_sort="false" values="USGS Topo;personal_knowledge;survey;physical sign;local_interview" />
35 <check key="salt" text="Salt Water" disable_off="true" />
36 <text key="note" text="Note" />
37 <text key="wikipedia" text="Wikipedia (en:)" />
38 <text key="wikidata" text="Q-number" />
39 </item>
40 <item name="Riverbank" icon="presets/water.png" type="way,closedway" >
41 <key key="waterway" value="riverbank" />
42 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Maxar-Premium;Maxar-Standard;Bing;ESRI Clarity;USGS Topo" default="Maxar-Premium" />
43 <text key="note" text="Note" />
44 </item>
45 <item name="Riverbed" icon="presets/water.png" type="way,closedway" >
46 <key key="waterway" value="riverbed" />
47 <key key="intermittent" value="yes" />
48 <combo key="surface" values_sort="false" values="sand;shingle;mud;gravel" default="" />
49 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Maxar-Premium;Maxar-Standard;Bing;ESRI Clarity;USGS Topo" default="Maxar-Premium" />
50 <text key="note" text="Note" />
51 </item>
52 <item name="River section" icon="presets/water.png" type="way" >
53 <multiselect key="waterway:section" text="Type of section" values="bend;reach;rapids;slough" />
54 <text key="waterway:section:name" text="Name" />
55 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Maxar-Premium;Maxar-Standard;Bing;ESRI Clarity;USGS Topo;GPS" default="" />
56 <multiselect key="source:section:name" text="Source(s) of name" values_sort="false" values="USGS Topo;Wikipedia;personal_knowledge;survey;physical sign;local_interview;Dictionary of Alaska Place Names" />
57 <text key="note" text="Note" />
58 </item>
59 <item name="River source" type="node" >
60 <key key="waterway" value="source" />
61 <text key="name" text="Name" />
62 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Maxar-Premium;Maxar-Standard;ESRI Clarity;GPS;Dictionary of Alaska Place Names" default="" />
63 <text key="note" text="Note" />
64 </item>
65 <item name="Dam" type="way,node,closedway" >
66 <combo key="waterway" text="Dam or weir" values="dam,weir" default="dam" />
67 <text key="name" text="Name" />
68 <text key="name:th" text="Name:th" />
69 <text key="name:en" text="Name:en" />
70 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Bing;USGS Topo;Maxar;ESRI World;GPS;survey" use_last_as_default="force" match="key" />
71 <multiselect key="source:name" text="Source(s) of name" values_sort="false" values="USGS Topo;personal_knowledge;survey;physical sign;local_interview" />
72 <space/>
73 <text key="note" text="Note" />
74 <text key="wikipedia" text="Wikipedia (en:)" />
75 <text key="wikidata" text="Q-number" />
76 </item>
77 <item name="Spillway" type="way,closedway" >
78 <text key="name" text="Name" />
79 <key key="waterway" value="spillway" />
80 <text key="spillway" text="emergency?" />
81 <check key="intermittent" text="Intermittent?" disable_off="true" />
82 <multiselect key="source:position" text="Source(s)" values_sort="false" values="Bing;USGS Topo;Maxar;ESRI World;GPS;survey" use_last_as_default="force" match="key" />
83 <multiselect key="source:name" text="Source(s) of name" values_sort="false" values="USGS Topo;personal_knowledge;survey;physical sign;local_interview" />
84 <space/>
85 <text key="note" text="Note" />
86
87 </item>
88 <label text="Presets Help" />
89 <link href="https://josm.openstreetmap.de/wiki/TaggingPresets" />
90 </group>
91
92</presets>