ADD @vmatch attribute to <tag> element of feature in map_features.xml. Matching tag...
[potlatch2.git] / resources / map_features / buildings.xml
1 <featureGroup>\r
2   <feature name="School">\r
3     <category>buildings</category>\r
4     <icon image="features/pois/education_school.n.24.png">\r
5       <b>${name} ${addr:housename}</b><br/>\r
6       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
7     </icon>\r
8 \r
9     <area/>\r
10     <tag k="amenity" v="school"/>\r
11     <inputSet ref="isBuilding"/>\r
12     <inputSet ref="names"/>\r
13     <inputSet ref="buildingAddress"/>\r
14     <inputSet ref="common"/>\r
15   </feature>\r
16 \r
17 \r
18   <feature name="College">\r
19     <category>buildings</category>\r
20     <icon image="features/pois/education_university.n.24.png">\r
21       <b>${name} ${addr:housename}</b><br/>\r
22       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
23     </icon>\r
24 \r
25     <area/>\r
26     <tag k="amenity" v="college"/>\r
27     <inputSet ref="names"/>\r
28     <inputSet ref="buildingAddress"/>\r
29     <inputSet ref="isBuilding"/>\r
30     <inputSet ref="common"/>\r
31   </feature>\r
32 \r
33   <feature name="University">\r
34     <category>buildings</category>\r
35     <icon image="features/pois/education_university.n.24.png">\r
36       <b>${name} ${addr:housename}</b><br/>\r
37       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
38     </icon>\r
39 \r
40     <area/>\r
41     <tag k="amenity" v="university"/>\r
42     <inputSet ref="names"/>\r
43     <inputSet ref="buildingAddress"/>\r
44     <inputSet ref="isBuilding"/>\r
45     <inputSet ref="common"/>\r
46   </feature>\r
47 \r
48 \r
49   <feature name="Supermarket">\r
50     <category>buildings</category>\r
51     <icon image="features/pois/shopping_supermarket.n.24.png">\r
52       <b>${name} ${addr:housename}</b><br/>\r
53       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
54     </icon>\r
55 \r
56     <area/>\r
57     <tag k="shop" v="supermarket"/>\r
58     <inputSet ref="names"/>\r
59     <inputSet ref="buildingAddress"/>\r
60     <inputSet ref="isBuilding"/>\r
61     <inputSet ref="common"/>\r
62   </feature>\r
63 \r
64 \r
65   <feature name="Place of worship">\r
66     <category>buildings</category>\r
67     <icon image="icons/place_of_worship.png">\r
68       <b>${name} ${addr:housename}</b><br/>\r
69       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
70     </icon>\r
71 \r
72     <area/>\r
73     <tag k="amenity" v="place_of_worship"/>\r
74     <inputSet ref="names"/>\r
75     <inputSet ref="buildingAddress"/>\r
76     <!-- sorted in reverse order of popularity in taginfo. -->\r
77     <input type="choice" category="Religion" name="Religion" key="religion" description="The religion to which this place of worship belongs." presence="always">\r
78       <choice value="christian" text="Christianity (church)"/>\r
79       <choice value="muslim" text="Islam (mosque)"/>\r
80       <choice value="buddhist" text="Buddhist (temple)"/>\r
81       <choice value="jewish" text="Judaism (synagogue)"/>\r
82       <choice value="hindu" text="Hindu (temple)"/>\r
83       <choice value="sikh" text="Sikh (gurdwara)"/>\r
84       <choice value="spiritualist" text="Spiritualism"/>\r
85       <choice value="unitarian" text="Unitarianism"/>\r
86       <choice value="taoist" text="Taoism"/>\r
87       <choice value="multifaith" text="Multi-faith"/>\r
88       <choice value="scientologist" text="Scientology"/>\r
89       <choice value="bahai" text="Bahai"/>\r
90     </input>\r
91     <!-- sorted in reverse order of popularity in taginfo. -->\r
92     <input type="choice" category="Religion" name="Denomination" key="denomination" description="The denomination, or sub-branch of the main religion." presence="always">\r
93       <choice value="catholic" text="Catholic"/>\r
94       <choice value="baptist" text="Baptist"/>\r
95       <choice value="methodist" text="Methodist"/>\r
96       <choice value="lutheran" text="Lutheran"/>\r
97       <choice value="protestant" text="Prostant"/>\r
98       <choice value="orthodox" text="Orthodox"/>\r
99       <choice value="presbyterian" text="Presbyterian"/>\r
100       <choice value="anglican" text="Anglican"/>\r
101       <choice value="roman_catholic" text="Roman Catholic"/>\r
102       <choice value="evangelical" text="Evangelical"/>\r
103       <choice value="pentecostal" text="Pentecostal"/>\r
104       <choice value="mormon" text="Mormon"/>\r
105       <choice value="sunni" text="Sunni"/>\r
106       <choice value="jehovahs_witness" text="Jehovah's Witness"/>\r
107       <!-- duplicate of Anglican? -->\r
108       <choice value="church_of_england" text="Church of England"/>\r
109       <choice value="greek_orthodox" text="Greek Orthodox"/>\r
110       <choice value="new_apostolic" text="New Apostolic"/>\r
111       <choice value="episcopal" text="Episcopal"/>\r
112       <choice value="russian_orthodox" text="Russian Orthodox"/>\r
113       <choice value="adventist" text="Adventist"/>\r
114       <choice value="seventh_day_adventist" text="Seventh Day Adventist"/>\r
115       <choice value="united_reformed" text="United Reformed"/>\r
116       <choice value="reformed" text="Reformed"/>\r
117       <choice value="iglesia_ni_cristo" text="Iglesia Ni Cristo"/>\r
118       <choice value="uniting" text="Uniting"/>\r
119       <choice value="salvation_army" text="Salvation Army"/>\r
120       <choice value="church_of_scotland" text="Church of Scotland"/>\r
121       <choice value="quaker" text="Quaker"/>\r
122       <choice value="scientist" text="Scientist"/>\r
123       <choice value="shia" text="Shia"/>\r
124       <choice value="congregational" text="Congregational"/>\r
125       <choice value="assembly_of_god" text="Assembly of God"/>\r
126       <choice value="united" text="United"/>\r
127       <choice value="mennonite" text="Mennonite"/>\r
128       <choice value="nazarene" text="Nazarene"/>\r
129       <!-- duplicate of Mormon? -->\r
130       <choice value="latter_day_saints" text="Latter Day Saints"/>\r
131       <choice value="dutch_reformed" text="Dutch Reformed"/>\r
132       <choice value="tibetan" text="Tibetan"/>\r
133       <choice value="shingon" text="Shingon"/>\r
134       <choice value="georgian_orthodox" text="Georgian Orthodox"/>\r
135       <choice value="unitarian" text="Unitarian"/>\r
136       <choice value="brethren" text="Brethren"/>\r
137       <choice value="armenian_apostolic" text="Armenian Apostolic"/>\r
138       <choice value="maronite" text="Maronite"/>\r
139     </input>\r
140     <inputSet ref="isBuilding"/>\r
141     <inputSet ref="common"/>\r
142   </feature>\r
143 \r
144 \r
145   <feature name="Public building">\r
146     <category>buildings</category>\r
147     <icon image="features/pois/building_generic.png">\r
148       <b>${name} ${addr:housename}</b><br/>\r
149       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
150     </icon>\r
151 \r
152     <area/>\r
153     <tag k="amenity" v="public_building"/>\r
154     <tag k="building" v="yes"/>\r
155     <inputSet ref="names"/>\r
156     <inputSet ref="buildingAddress"/>\r
157     <inputSet ref="common"/>\r
158   </feature>\r
159 \r
160 \r
161   <feature name="Hospital">\r
162     <category>buildings</category>\r
163     <icon image="features/pois/health_hospital.n.24.png">\r
164       <b>${name} ${addr:housename}</b><br/>\r
165       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
166     </icon>\r
167 \r
168     <area/>\r
169     <tag k="amenity" v="hospital"/>\r
170     <inputSet ref="names"/>\r
171     <inputSet ref="buildingAddress"/>\r
172     <inputSet ref="isBuilding"/>\r
173     <inputSet ref="common"/>\r
174   </feature>\r
175 \r
176 \r
177 \r
178   <feature name="Museum">\r
179     <category>buildings</category>\r
180     <icon image="features/pois/tourist_museum.n.24.png">\r
181       <b>${name} ${addr:housename}</b><br/>\r
182       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
183     </icon>\r
184 \r
185     <area/>\r
186     <tag k="tourism" v="museum"/>\r
187     <inputSet ref="names"/>\r
188     <inputSet ref="buildingAddress"/>\r
189     <inputSet ref="isBuilding"/>\r
190     <inputSet ref="common"/>\r
191   </feature>\r
192 \r
193   <feature name="Shopping centre">\r
194     <category>buildings</category>\r
195     <category>shopping</category>\r
196     <node/>\r
197     <area/>\r
198     <tag k="shop" v="mall"/>\r
199     <inputSet ref="names"/>\r
200     <inputSet ref="buildingAddress"/>\r
201     <inputSet ref="isBuilding"/>\r
202     <inputSet ref="common"/>\r
203   </feature>\r
204 \r
205   <feature name="Zoo">\r
206     <category>buildings</category>\r
207     <icon image="features/pois/tourist_zoo.n.24.png">\r
208       <b>${name} ${addr:housename}</b><br/>\r
209       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
210     </icon>\r
211 \r
212     <area/>\r
213     <tag k="tourism" v="zoo"/>\r
214     <inputSet ref="names"/>\r
215     <inputSet ref="buildingAddress"/>\r
216     <inputSet ref="isBuilding"/>\r
217     <inputSet ref="common"/>\r
218   </feature>\r
219 \r
220 \r
221   <feature name="Stadium">\r
222     <category>buildings</category>\r
223     <icon image="icons/tourist_blank.png">\r
224       <b>${name} ${addr:housename}</b><br/>\r
225       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
226     </icon>\r
227 \r
228     <area/>\r
229     <tag k="leisure" v="stadium"/>\r
230     <inputSet ref="names"/>\r
231     <inputSet ref="buildingAddress"/>\r
232     <inputSet ref="isBuilding"/>\r
233     <inputSet ref="common"/>\r
234   </feature>\r
235 \r
236 \r
237   <feature name="Building">\r
238     <category>buildings</category>\r
239     <icon image="features/pois/building_generic.png">\r
240       <b>${name} ${addr:housename}</b><br/>\r
241       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
242     </icon>\r
243 \r
244     <area/>\r
245     <!-- This should catch all the "building=*" tags in use: yes, hut, house, residential, entrance, apartments, garage, industrial,  garages, service, manufacture, collapsed... \r
246          Is this possible? -->\r
247     <!-- <tag k="building" v="*"/> -->\r
248     <tag k="building" v="yes"/>\r
249     <inputSet ref="names"/>\r
250     <inputSet ref="buildingAddress"/>\r
251     <inputSet ref="common"/>\r
252   </feature>\r
253 \r
254 \r
255   <feature name="Sports centre">\r
256     <category>buildings</category>\r
257     <icon image="features/pois/sport_leisure_centre.n.24.png">\r
258       <b>${name} ${addr:housename}</b><br/>\r
259       ${addr:housenumber} ${addr:street} ${addr:postcode}\r
260     </icon>\r
261 \r
262     <area/>\r
263     <point/>\r
264     <tag k="leisure" v="sports_centre"/>\r
265     <inputSet ref="names"/>\r
266     <inputSet ref="buildingAddress"/>\r
267     <inputSet ref="pitchSport"/>\r
268     <inputSet ref="isBuilding"/>\r
269     <inputSet ref="common"/>\r
270   </feature>\r
271 </featureGroup>\r
272