Merge branch 'master' of https://github.com/systemed/potlatch2
[potlatch2.git] / resources / map_features / paths.xml
1 <featureGroup>\r
2   <feature name="Footpath">\r
3     <category>paths</category>\r
4     <icon image="features/paths__footway.png">\r
5       ${name} <i>${ref}</i>\r
6     </icon>\r
7     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dfootway</help>\r
8     <line/>\r
9     <tag k="highway" v="footway"/>\r
10     <inputSet ref="path"/>\r
11     <inputSet ref="common"/>\r
12   </feature>\r
13 \r
14   <feature name="Cycle path">\r
15     <category>paths</category>\r
16     <icon image="features/paths__bike.png">\r
17       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>\r
18     </icon>\r
19     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dcycleway</help>\r
20     <line/>\r
21     <tag k="highway" v="cycleway"/>\r
22     <inputSet ref="path"/>\r
23     <inputSet ref="common"/>\r
24     <input type="choice" name="Cycleway type" category="Cycle" description="What kind of bike path is this?" key="segregated" presence="onTagMatch" priority="low"> \r
25        <choice value="yes" text="Segregated" description="Cyclists and pedestrians are separated by a painted line or kerb." /> \r
26        <choice value="no" text="Shared" description="Cyclists and pedestrians share the full width of the path." /> \r
27     </input> \r
28   </feature>\r
29 \r
30   <feature name="Pedestrian street">\r
31     <category>paths</category>\r
32     <icon image="features/paths__pedestrian.png">\r
33       <font size="14pt">\r
34         <b>${name}</b>\r
35       </font>\r
36     </icon>\r
37 \r
38     <tag k="highway" v="pedestrian"/>\r
39     <!-- pedestrian roads can be lines or areas, with different tags -->\r
40     <!-- TODO - implement this! -->\r
41     <line>\r
42       <tag k="highway" v="pedestrian"/>\r
43     </line>\r
44     <area>\r
45       <tag k="highway" v="pedestrian"/>\r
46       <tag k="area" v="yes"/>\r
47     </area>\r
48     <inputSet ref="minorRoad"/>\r
49     <inputSet ref="common"/>\r
50   </feature>\r
51 \r
52   <feature name="Bridleway">\r
53     <category>paths</category>\r
54     <icon image="features/paths__bridleway.png">\r
55     </icon>\r
56 \r
57     <line/>\r
58     <tag k="highway" v="bridleway"/>\r
59     <inputSet ref="path"/>\r
60     <inputSet ref="common"/>\r
61   </feature>\r
62 \r
63   <feature name="Steps">\r
64     <category>paths</category>\r
65     <icon image="features/paths__steps.png">\r
66     </icon>\r
67     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>\r
68 \r
69     <line/>\r
70     <tag k="highway" v="steps"/>\r
71     <inputSet ref="path"/>\r
72     <input type="freetext" presence="always" category="Naming" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>\r
73     <inputSet ref="common"/>\r
74   </feature>\r
75   \r
76   <feature name="Generic path">\r
77     <category>paths</category>\r
78     <icon image="features/paths__unofficial.png">\r
79       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>\r
80     </icon>\r
81     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>\r
82 \r
83     <line/>\r
84     <tag k="highway" v="path"/>\r
85     <inputSet ref="path"/>\r
86     <inputSet ref="common"/>\r
87   </feature>\r
88 \r
89   \r
90   <!-- Bicycle routes -->\r
91   <feature name="National Cycle Network">\r
92     <category>paths</category>\r
93     <icon image="features/route__ncn.png" background="red" foreground="white">\r
94       <font size="14pt">\r
95         <b>${ref}</b>\r
96       </font>\r
97       <br/>\r
98       <font size="12pt">${name}</font>\r
99     </icon>\r
100 \r
101     <relation/>\r
102     <tag k="type" v="route"/>\r
103     <tag k="route" v="bicycle"/>\r
104     <tag k="network" v="ncn"/>\r
105 \r
106     <inputSet ref="route"/>\r
107     <inputSet ref="common"/>\r
108   </feature>\r
109 \r
110 \r
111   <feature name="Regional Cycle Network">\r
112     <category>paths</category>\r
113     <icon image="features/route__rcn.png" background="cyan" foreground="white">\r
114       <font size="14pt"><b>${ref}</b></font><br/>\r
115       <font size="12pt">${name}</font>\r
116     </icon>\r
117 \r
118     <relation/>\r
119     <tag k="type" v="route"/>\r
120     <tag k="route" v="bicycle"/>\r
121     <tag k="network" v="rcn"/>\r
122 \r
123     <inputSet ref="route"/>\r
124     <inputSet ref="common"/>\r
125   </feature>\r
126 \r
127 \r
128   <feature name="Local Cycle Network">\r
129     <category>paths</category>\r
130     <icon image="features/route__lcn.png" background="blue" foreground="white">\r
131       <font size="14pt">\r
132         <b>${ref}</b>\r
133       </font>\r
134       <br/>\r
135       <font size="12pt">${name}</font>\r
136     </icon>\r
137 \r
138     <relation/>\r
139     <tag k="type" v="route"/>\r
140     <tag k="route" v="bicycle"/>\r
141     <tag k="network" v="lcn"/>\r
142 \r
143     <inputSet ref="route"/>\r
144     <inputSet ref="common"/>\r
145   </feature>\r
146   \r
147   <!-- hiking -->\r
148   \r
149   <feature name="Long Distance Path">\r
150     <category>paths</category>\r
151     <icon image="features/route__nwn.png" background="green" foreground="white">\r
152       <font size="14pt">\r
153         <b>${ref}</b>\r
154       </font>\r
155       <br/>\r
156       <font size="12pt">${name}</font>\r
157     </icon>\r
158 \r
159     <relation/>\r
160     <tag k="type" v="route"/>\r
161     <tag k="route" v="hiking" vmatch="hiking|foot"/>\r
162 \r
163     <inputSet ref="route"/>\r
164     <inputSet ref="common"/>\r
165   </feature>\r
166   \r
167 </featureGroup>\r